
:root{--p:#0f766e;--p2:#0b5f59;--bg:#f3f7f7;--card:#fff;--t:#15282d;--m:#728287;--l:#dbe5e7;--warn:#9a6700;--danger:#b42318;--sidebar:76px}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--t);font-family:Inter,"Noto Sans KR","Segoe UI",system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.hidden{display:none!important}
.topbar{height:64px;background:#fff;border-bottom:1px solid var(--l);display:flex;align-items:center;justify-content:space-between;padding:8px 18px;position:sticky;top:0;z-index:30}.brand{display:flex;gap:10px;align-items:center}.brand>div:last-child{display:flex;flex-direction:column}.brand small{color:var(--m)}.logo{width:43px;height:43px;border-radius:13px;background:var(--p);color:#fff;display:grid;place-items:center;font-weight:800}.top-actions,.actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.badge{font-size:12px;padding:6px 9px;border-radius:999px;background:#edf2f3;color:var(--m)}.badge.online{background:#e5f4f2;color:var(--p)}.badge.offline{background:#fff3d8;color:var(--warn)}
.primary,.secondary,.quick-grid button{border:0;border-radius:10px;padding:9px 13px}.primary{background:var(--p);color:#fff}.secondary,.quick-grid button{background:#fff;border:1px solid var(--l);color:var(--t)}
.sidebar{position:fixed;left:0;top:64px;bottom:0;width:var(--sidebar);background:#fff;border-right:1px solid var(--l);padding:10px 7px;display:flex;flex-direction:column;gap:4px;z-index:20}.sidebar .nav{border:0;background:transparent;border-radius:10px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--m);font-size:18px}.sidebar .nav span{font-size:11px}.sidebar .nav.active{background:#e5f4f2;color:var(--p);font-weight:700}
.content{margin-left:var(--sidebar);padding:22px;max-width:1480px}.view{display:none}.view.active{display:block}.offline-banner{background:#fff3d8;color:#795000;border:1px solid #efd495;border-radius:12px;padding:10px 14px;margin-bottom:14px}
.hero{border-radius:22px;background:linear-gradient(135deg,#0f766e,#0a504b);color:#fff;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.hero h1{font-size:clamp(27px,4vw,43px);margin:2px 0 8px}.hero p{margin:0;color:#d7eeee}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:#0d9488;margin:0}.hero .eyebrow{color:#9ee0d9}.sync-ring{width:108px;height:108px;border:8px solid #ffffff25;border-top-color:#d7af3d;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto}.sync-ring b{font-size:25px}.sync-ring small{font-size:10px}
.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#fff;border:1px solid var(--l);border-radius:16px;padding:16px}.metric small{display:block;color:var(--m);margin-bottom:7px}.metric strong{font-size:23px}.metric span{color:var(--m);margin-left:3px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.card{background:#fff;border:1px solid var(--l);border-radius:17px;padding:17px;margin-bottom:14px}.card h2{margin:0 0 12px}.card-head,.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.section-head{margin-bottom:14px}.section-head h1{margin:2px 0;font-size:32px}.linkbtn{border:0;background:transparent;color:var(--p);font-weight:700}.muted{color:var(--m)}
.stack{display:flex;flex-direction:column;gap:7px}.rowitem{display:flex;gap:10px;align-items:center;border:1px solid var(--l);border-radius:11px;padding:10px}.rowitem .grow{flex:1;min-width:0}.rowitem b,.rowitem small{display:block}.rowitem small{color:var(--m);margin-top:3px}.source{font-size:10px;padding:3px 6px;border-radius:999px;background:#edf2f3}.source.google{background:#e8f0fe;color:#3158a8}.source.local{background:#e5f4f2;color:var(--p)}.pending{font-size:10px;color:var(--warn)}
.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}.tile{background:#fff;border:1px solid var(--l);border-radius:15px;padding:15px}.tile h3{margin:6px 0}.progress{height:7px;background:#edf2f3;border-radius:99px;overflow:hidden;margin:9px 0}.progress>div{height:100%;background:var(--p)}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quick-grid button{min-height:46px}.calendar-title{font-size:20px;font-weight:800;margin:8px 0 12px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;color:var(--m);font-size:11px;padding:5px}.day{background:#fff;border:1px solid var(--l);border-radius:9px;min-height:105px;padding:5px;overflow:hidden}.day.other{opacity:.4}.day.today{outline:2px solid var(--p)}.daynum{font-size:11px;font-weight:700;margin-bottom:4px}.calitem{font-size:10px;padding:3px 4px;border-radius:5px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calitem.google{background:#e8f0fe;color:#3158a8}.calitem.local{background:#e5f4f2;color:var(--p)}.year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mini-month{background:#fff;border:1px solid var(--l);border-radius:12px;padding:9px}.mini-title{font-weight:800;margin-bottom:5px}.mini-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.mini-cell{text-align:center;font-size:9px;padding:3px 0;border-radius:4px}.mini-cell.has{background:#e5f4f2;color:var(--p);font-weight:800}
label{display:block;font-size:12px;font-weight:700;margin:9px 0}input,select,textarea{width:100%;border:1px solid var(--l);border-radius:9px;padding:10px;background:#fff;margin-top:5px;color:var(--t)}dialog{border:0;border-radius:17px;width:min(540px,calc(100% - 24px));padding:0;box-shadow:0 30px 90px #0004}dialog::backdrop{background:#10202688}dialog form{padding:19px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}
.bottom-nav{display:none}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,1fr)}.metric-grid.three{grid-template-columns:repeat(3,1fr)}.year-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){:root{--sidebar:0px}.topbar{padding:7px 10px}.brand small{display:none}.top-actions .badge{display:none}.sidebar{display:none}.content{margin-left:0;padding:12px 12px 78px}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--l);z-index:40}.bottom-nav button{border:0;background:#fff;padding:7px 2px;color:var(--m);display:flex;flex-direction:column;align-items:center;font-size:17px}.bottom-nav button small{font-size:10px}.bottom-nav button.active{color:var(--p);font-weight:700}.two-col{grid-template-columns:1fr}.metric-grid,.metric-grid.three{grid-template-columns:1fr 1fr}.hero{padding:19px}.sync-ring{width:78px;height:78px;border-width:6px}.sync-ring b{font-size:19px}.quick-grid{grid-template-columns:1fr 1fr}.month-grid{gap:2px}.day{min-height:77px;padding:3px}.calitem{font-size:9px}.year-grid{grid-template-columns:1fr}.section-head h1{font-size:27px}}


/* PWA install affordance */
#installAppBtn[hidden]{display:none!important}
#installAppBtn{white-space:nowrap}
html[data-pwa="standalone"] #installAppBtn{display:none!important}
@media (max-width:720px){
  #installAppBtn{padding:9px 11px;font-size:13px}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.6.5 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.23.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* A stable six-week calendar is the first home section at every screen size. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Finance vault v1.5 */
.vault-entry{white-space:nowrap}
.finance-vault-view{max-width:1180px}
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;padding:6px;background:#eaf0f1;border-radius:14px}
.finance-tab{border:0;background:transparent;color:var(--m);padding:10px 14px;border-radius:10px;font-weight:700}
.finance-tab.active{background:#fff;color:var(--p);box-shadow:0 1px 4px #0001}
.finance-panel{display:none}.finance-panel.active{display:block}
.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.finance-flow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-flow>div{padding:14px;border-radius:13px;background:#f6f9f9;border:1px solid var(--l)}
.finance-flow small,.finance-flow strong{display:block}.finance-flow strong{font-size:22px;margin-top:4px}
.section-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.section-subhead h2{margin:0}.section-subhead select{width:auto;min-width:130px;margin:0}
.finance-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.finance-card-meta span{font-size:11px;padding:4px 7px;border-radius:999px;background:#edf2f3;color:var(--m)}
.amount-positive{color:#0f766e}.amount-negative{color:#b42318}
@media(max-width:900px){.finance-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){
  .vault-entry{padding:8px 10px;font-size:13px}
  .finance-tabs{overflow-x:auto;flex-wrap:nowrap}
  .finance-tab{white-space:nowrap}
  .finance-metrics{grid-template-columns:1fr 1fr}
}
.budget-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px}.budget-year-nav{display:flex;align-items:center;gap:10px}.budget-year-nav strong{font-size:1.15rem}.budget-month-summary{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;overflow:auto}.budget-month{border:1px solid var(--line,#dfe5e3);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;min-width:120px}.budget-month small{font-size:.78rem}.budget-ok{font-size:.76rem;font-weight:700}.budget-warn{font-size:.76rem;font-weight:700}.budget-rows{display:grid;gap:12px;margin-top:12px}.budget-row{overflow:hidden}.budget-row>label{max-width:260px}.budget-month-inputs{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));gap:8px;margin-top:10px;overflow:auto}.budget-month-inputs label{font-size:.78rem;min-width:105px}.budget-month-inputs input{width:100%}.advisor-fab{position:fixed;right:18px;bottom:82px;z-index:80;border:0;border-radius:999px;padding:12px 15px;box-shadow:0 10px 28px rgba(0,0,0,.18);font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer;background:#111827;color:#fff}.advisor-fab span{font-size:.86rem}.advisor-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:89}.advisor-drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card,#fff);z-index:90;transform:translateX(105%);transition:transform .22s ease;padding:18px;overflow:auto;box-shadow:-12px 0 32px rgba(0,0,0,.18)}.advisor-drawer.open{transform:translateX(0)}.advisor-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.advisor-head small{letter-spacing:.09em}.advisor-head h2{margin:2px 0}.advisor-status{display:flex;align-items:center;gap:8px;margin:10px 0 14px}.advisor-card{border:1px solid var(--line,#dfe5e3);border-radius:16px;padding:14px;margin:0 0 12px;background:var(--card,#fff)}.advisor-card h3,.advisor-card h4{margin:.2rem 0 .45rem}.advisor-score{display:flex;align-items:flex-end;gap:4px}.advisor-score strong{font-size:2rem;line-height:1}.advisor-score.small strong{font-size:1.5rem}.advisor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.advisor-quick button{border:1px solid var(--line,#dfe5e3);background:transparent;border-radius:999px;padding:6px 10px}.advisor-answer{margin-top:10px;border-radius:12px;padding:12px;background:rgba(15,118,110,.07);line-height:1.55;white-space:pre-wrap}.advisor-permissions{display:grid;gap:7px;margin:10px 0}.advisor-disclaimer{font-size:.74rem;line-height:1.45;opacity:.7;padding-bottom:20px}.advisor-drawer textarea{width:100%;resize:vertical}.hidden{display:none!important}@media(max-width:720px){.budget-month-summary{grid-template-columns:repeat(12,128px)}.budget-month-inputs{grid-template-columns:repeat(12,115px)}.advisor-fab{right:12px;bottom:76px}.advisor-drawer{width:96vw;padding:14px}.budget-toolbar{align-items:flex-start;flex-direction:column}}
.membership-btn{font-weight:800;letter-spacing:.04em}.membership-btn[data-tier="plus"]{border-color:#7c3aed}.membership-btn[data-tier="pro"]{border-color:#0f766e}.plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em;background:#e5e7eb;color:#374151}.plan-badge.plus{background:#ede9fe;color:#6d28d9}.plan-badge.pro{background:#ccfbf1;color:#0f766e}.membership-dialog{max-width:980px;width:min(94vw,980px);border:0;border-radius:20px;padding:22px}.membership-dialog::backdrop{background:rgba(15,23,42,.5)}.membership-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.membership-dialog-head small{font-weight:800;letter-spacing:.08em;color:#0f766e}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:12px}.plan-card.current{outline:2px solid #0f766e;background:#f0fdfa}.plan-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-title>span{font-size:1.1rem;font-weight:800}.plan-title>b{font-size:1.35rem;white-space:nowrap}.plan-title b small{font-size:.75rem;color:#6b7280}.plan-limit{font-weight:700;color:#0f766e;margin:0}.plan-card ul{margin:0;padding-left:1.1rem;display:grid;gap:7px;flex:1}.plan-card .plan-select{width:100%}.membership-note{font-size:.84rem;color:#6b7280;line-height:1.55;margin:16px 2px 0}.advisor-plan-line{display:flex;align-items:center;gap:8px;padding:0 0 10px}.membership-settings .actions{margin-top:12px}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.membership-dialog{padding:16px}.plan-title>b{font-size:1.2rem}.advisor-plan-line{padding-top:4px}}/* Dogeon Life v1.8 visual system */
:root{
  --v18-bg:#f5f7fb;--v18-card:#ffffff;--v18-text:#172033;--v18-muted:#6b7280;
  --v18-line:#e7ebf0;--v18-primary:#0f766e;--v18-primary2:#115e59;--v18-soft:#ecfdf5;
  --v18-indigo:#4f46e5;--v18-shadow:0 10px 30px rgba(15,23,42,.07);--v18-shadow-sm:0 4px 16px rgba(15,23,42,.06);
  --v18-radius:18px;--v18-radius-sm:12px;
}
body.dogeon-v18{background:radial-gradient(circle at 15% 0%,rgba(79,70,229,.06),transparent 28%),linear-gradient(180deg,#f8fafc 0%,var(--v18-bg) 100%);color:var(--v18-text);letter-spacing:-.01em}
body.dogeon-v18 .topbar{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(226,232,240,.9)!important;box-shadow:0 3px 18px rgba(15,23,42,.035)}
body.dogeon-v18 .brand{gap:12px}
body.dogeon-v18 .brand .logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#0f766e,#164e63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;box-shadow:0 8px 20px rgba(15,118,110,.2)}
body.dogeon-v18 .brand b{font-size:1.05rem;letter-spacing:-.02em}
body.dogeon-v18 .brand small{display:block;margin-top:2px;color:#7c8799;font-size:.72rem}
body.dogeon-v18 .sidebar{background:rgba(255,255,255,.78)!important;border-right:1px solid var(--v18-line)!important;backdrop-filter:blur(16px)}
body.dogeon-v18 .sidebar .nav{border-radius:12px;margin:3px 8px;font-weight:650;color:#586174;transition:.18s ease}
body.dogeon-v18 .sidebar .nav:hover{background:#f1f5f9;transform:translateX(2px)}
body.dogeon-v18 .sidebar .nav.active{background:linear-gradient(135deg,#e8fbf6,#ecf7f6);color:var(--v18-primary);box-shadow:inset 3px 0 0 var(--v18-primary)}
body.dogeon-v18 .content{padding-top:22px}
body.dogeon-v18 .hero{position:relative;overflow:hidden;border-radius:24px!important;background:linear-gradient(135deg,#0f172a 0%,#164e63 52%,#0f766e 100%)!important;color:#fff!important;padding:28px!important;box-shadow:0 18px 44px rgba(15,23,42,.16)!important;border:0!important}
body.dogeon-v18 .hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08);box-shadow:-90px 110px 0 rgba(255,255,255,.035)}
body.dogeon-v18 .hero h1{font-size:clamp(1.45rem,3vw,2.1rem);margin:.2rem 0 .4rem;letter-spacing:-.035em}
body.dogeon-v18 .hero p{color:rgba(255,255,255,.78)!important;max-width:600px}
.hero-badge-v18{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:999px;padding:5px 9px;font-size:.66rem;font-weight:800;letter-spacing:.1em;color:#dffaf5;margin-bottom:8px}
body.dogeon-v18 .sync-ring{position:relative;z-index:1;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
body.dogeon-v18 .card,body.dogeon-v18 .metric,body.dogeon-v18 .tile{background:var(--v18-card)!important;border:1px solid var(--v18-line)!important;border-radius:var(--v18-radius)!important;box-shadow:var(--v18-shadow-sm)!important}
body.dogeon-v18 .card{padding:18px!important}
body.dogeon-v18 .metric{padding:18px!important;transition:transform .18s ease,box-shadow .18s ease}
body.dogeon-v18 .metric:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .metric small{color:#7b8494;font-weight:650}
body.dogeon-v18 .metric strong{font-size:1.5rem;letter-spacing:-.04em}
body.dogeon-v18 .tile{padding:17px!important;transition:.18s ease}
body.dogeon-v18 .tile:hover{transform:translateY(-2px);box-shadow:var(--v18-shadow)!important}
body.dogeon-v18 .section-head{align-items:center;margin-bottom:18px}
body.dogeon-v18 .section-head h1{letter-spacing:-.035em}
body.dogeon-v18 .eyebrow,.section-kicker{font-size:.66rem!important;letter-spacing:.12em!important;font-weight:850!important;color:var(--v18-primary)!important;margin-bottom:4px}
body.dogeon-v18 button{min-height:40px;border-radius:11px;font-weight:700;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.dogeon-v18 button:active{transform:scale(.98)}
body.dogeon-v18 button.primary{background:linear-gradient(135deg,#0f766e,#115e59)!important;border-color:#0f766e!important;color:#fff!important;box-shadow:0 6px 14px rgba(15,118,110,.16)}
body.dogeon-v18 button.secondary{background:#fff!important;border:1px solid #dbe2ea!important;color:#3c4658!important}
body.dogeon-v18 button.secondary:hover{background:#f8fafc!important}
body.dogeon-v18 input,body.dogeon-v18 select,body.dogeon-v18 textarea{border:1px solid #dbe2ea!important;border-radius:11px!important;background:#fff!important;min-height:42px;padding:10px 12px!important;outline:none;transition:border .14s ease,box-shadow .14s ease}
body.dogeon-v18 textarea{min-height:92px}
body.dogeon-v18 input:focus,body.dogeon-v18 select:focus,body.dogeon-v18 textarea:focus,body.dogeon-v18 button:focus-visible{border-color:#5eead4!important;box-shadow:0 0 0 3px rgba(45,212,191,.14)!important}
body.dogeon-v18 .badge{border-radius:999px;padding:.28rem .55rem;font-weight:750}
body.dogeon-v18 .finance-tabs{gap:6px;padding:5px;background:#eef2f7;border-radius:14px;overflow:auto;scrollbar-width:none}
body.dogeon-v18 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v18 .finance-tab{white-space:nowrap;border:0!important;background:transparent!important;box-shadow:none!important;min-height:38px;padding:7px 12px}
body.dogeon-v18 .finance-tab.active{background:#fff!important;color:var(--v18-primary)!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
body.dogeon-v18 .budget-month{background:#fbfcfe;border-color:#e4e9f0!important;border-radius:14px!important}
body.dogeon-v18 .budget-row{border-left:4px solid rgba(15,118,110,.5)!important}
body.dogeon-v18 .advisor-fab{right:20px;bottom:84px;padding:13px 17px;background:linear-gradient(135deg,#111827,#0f766e)!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v18 .advisor-drawer{background:#f7f9fc!important;border-left:1px solid #e5e9ef;padding:18px!important}
body.dogeon-v18 .advisor-head{position:sticky;top:-18px;z-index:5;margin:-18px -18px 12px;padding:17px 18px 13px;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e7ebf0}
body.dogeon-v18 .advisor-card{border:1px solid var(--v18-line)!important;background:#fff!important;box-shadow:var(--v18-shadow-sm);border-radius:18px!important;padding:16px!important}
body.dogeon-v18 .advisor-score strong{color:var(--v18-primary);font-size:2.25rem}
body.dogeon-v18 .advisor-answer{background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border:1px solid #d7f4eb}
body.dogeon-v18 .membership-dialog{border-radius:24px!important;background:#f8fafc!important;box-shadow:0 24px 70px rgba(15,23,42,.22)}
body.dogeon-v18 .plan-card{border:1px solid #e5eaf0!important;box-shadow:var(--v18-shadow-sm);border-radius:20px!important}
body.dogeon-v18 .plan-card.current{outline:2px solid #14b8a6!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}
body.dogeon-v18 .membership-btn{border-radius:999px!important;padding-left:12px;padding-right:12px;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.membership-economics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.membership-economics>div{background:#fff;border:1px solid #e6ebf1;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.membership-economics small{color:#7b8494;font-size:.72rem}.membership-economics strong{font-size:1rem;color:#172033}
.ai-cost-card{position:relative;overflow:hidden}.ai-cost-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#0f766e,#14b8a6)}.cost-badge{padding:.28rem .58rem;border-radius:999px;font-weight:800;font-size:.74rem}.cost-badge.safe{background:#dcfce7;color:#166534}.cost-badge.warn{background:#fef3c7;color:#92400e}.cost-badge.blocked{background:#fee2e2;color:#991b1b}.cost-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.cost-summary>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:13px;padding:12px}.cost-summary small{display:block;color:#7b8494;font-size:.74rem;margin-bottom:4px}.cost-summary strong{font-size:1.2rem}.cost-meter{height:9px;background:#e9eef4;border-radius:999px;overflow:hidden}.cost-meter>div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#0f766e);transition:width .35s ease}.cost-meter>div[data-level="warn"]{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.cost-meter>div[data-level="blocked"]{background:linear-gradient(90deg,#fb7185,#ef4444)}.cost-meta{display:flex;justify-content:space-between;gap:12px;color:#7b8494;font-size:.73rem;margin:7px 0 0}.advisor-cost-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:.72rem;color:#7b8494;margin:-2px 0 12px}.advisor-cost-mini{height:6px;background:#e5eaf0;border-radius:999px;overflow:hidden}.advisor-cost-mini i{display:block;height:100%;width:0;background:#14b8a6;border-radius:inherit;transition:width .3s ease}.advisor-cost-line b{color:#4b5563;font-size:.7rem}
body.dogeon-v18 dialog{border:0!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}body.dogeon-v18 dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
body.dogeon-v18 .bottom-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-top:1px solid #e7ebf0!important;padding-bottom:max(6px,env(safe-area-inset-bottom))}
body.dogeon-v18 .bottom-nav button{border-radius:12px!important}.bottom-nav button.active{color:var(--v18-primary)!important;background:#ecfdf5!important}
@media(max-width:760px){
  body.dogeon-v18 .topbar{padding:9px 11px!important}.brand small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px!important}.top-actions #networkBadge,.top-actions #syncBadge{display:none!important}
  body.dogeon-v18 .content{padding:14px 11px 92px!important}.hero{padding:22px!important;border-radius:20px!important}.hero .sync-ring{min-width:74px!important}
  body.dogeon-v18 .metric-grid{gap:8px!important}.metric{padding:14px!important}.metric strong{font-size:1.28rem!important}.card{padding:15px!important}
  body.dogeon-v18 .section-head{align-items:flex-start;gap:10px}.section-head .actions{flex-wrap:wrap;gap:6px}
  body.dogeon-v18 .advisor-drawer{width:100vw!important;max-width:none!important;border-left:0!important;padding:14px!important}.advisor-head{top:-14px!important;margin:-14px -14px 10px!important;padding:14px!important}
  .membership-economics{grid-template-columns:1fr}.cost-summary{grid-template-columns:1fr 1fr}.membership-dialog{width:96vw!important;border-radius:20px!important}.plan-grid{gap:10px!important}
  .advisor-fab{right:12px!important;bottom:78px!important}.advisor-fab span{display:none}.advisor-fab{width:48px;height:48px;padding:0!important;justify-content:center;font-size:1.05rem}
  body.dogeon-v18 button{min-height:42px}
}
@media(min-width:761px){body.dogeon-v18 .content{max-width:1500px}}
/* Dogeon Life v1.9 Saju Core */
.saju-core-card{position:relative;overflow:hidden}.saju-core-card:after{content:'四柱';position:absolute;right:18px;bottom:-10px;font-size:4.8rem;font-weight:900;color:rgba(15,118,110,.045);pointer-events:none}.saju-engine-badge{display:inline-flex;padding:.28rem .58rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:850}.saju-mini-pills{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.saju-mini-pill{min-width:62px;padding:8px 10px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfe;text-align:center}.saju-mini-pill small{display:block;font-size:.68rem;color:#7b8494}.saju-mini-pill b{font-size:1rem}.saju-mini-pill.day{background:#ecfdf5;border-color:#bcebdd;color:#0f766e}.saju-advisor-chip{width:100%;margin:0 0 10px;border:1px solid #d7e5e2!important;background:#fff!important;color:#0f766e!important;font-weight:800!important}.saju-dialog{width:min(1040px,96vw);max-height:92dvh;border:0;border-radius:24px;padding:0;background:#f6f8fb;box-shadow:0 26px 80px rgba(15,23,42,.25);overflow:auto}.saju-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.saju-dialog-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:16px;padding:20px 22px 15px;background:rgba(246,248,251,.95);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9ef}.saju-dialog-head h2{margin:.2rem 0 .15rem}.saju-dialog-head p{margin:0;color:#737e8e}.saju-profile-editor{padding:18px 22px 8px}.saju-pillar-inputs{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin:10px 0}.saju-profile-editor>label{max-width:280px}.saju-engine-note{font-size:.8rem;color:#6b7280;line-height:1.55;margin:10px 0 0}.saju-analysis-area{padding:10px 22px 24px}.saju-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#164e63);color:#fff;margin-bottom:12px}.saju-overview h3{margin:.25rem 0 0;font-size:1.35rem;letter-spacing:.03em}.saju-daymaster{text-align:right}.saju-daymaster small,.saju-daymaster span{display:block;color:rgba(255,255,255,.7)}.saju-daymaster strong{display:block;font-size:1.35rem;margin:3px 0}.saju-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}.saju-pillar-card{background:#fff;border:1px solid #e6ebf0;border-radius:18px;padding:14px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.045)}.saju-pillar-card.day{outline:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.saju-pillar-card>small{color:#7b8494}.saju-pillar-card>b{display:block;font-size:1.08rem;margin:6px 0}.saju-symbol{display:flex;flex-direction:column;align-items:center;margin:8px 0 4px}.saju-symbol span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;font-size:1.9rem;font-weight:900;margin:2px;color:#fff}.saju-symbol .wood{background:#15803d}.saju-symbol .fire{background:#dc2626}.saju-symbol .earth{background:#a16207}.saju-symbol .metal{background:#475569}.saju-symbol .water{background:#2563eb}.saju-tags{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.saju-tags span{font-size:.68rem;border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:3px 6px}.saju-hidden{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-top:9px;padding-top:8px;border-top:1px dashed #e5e7eb}.saju-hidden small{width:100%;color:#8b94a2}.saju-hidden span{font-size:.68rem;color:#4b5563}.saju-two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.saju-element-row{display:grid;grid-template-columns:28px 1fr 28px 75px;align-items:center;gap:8px;margin:9px 0}.saju-element-row>b{font-size:.82rem}.saju-element-row>strong{font-size:.86rem}.saju-element-row>small{font-size:.72rem;color:#7c8796;text-align:right}.saju-bar{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.saju-bar i{display:block;height:100%;border-radius:999px}.saju-bar .wood{background:#22c55e}.saju-bar .fire{background:#ef4444}.saju-bar .earth{background:#d97706}.saju-bar .metal{background:#64748b}.saju-bar .water{background:#3b82f6}.saju-caption{font-size:.75rem;color:#7b8494;line-height:1.45;margin-top:12px}.saju-yinyang{display:grid;grid-template-columns:1fr 1fr;gap:8px}.saju-yinyang>div{border:1px solid #e6ebf0;border-radius:14px;padding:14px;background:#fbfcfe}.saju-yinyang small{display:block;color:#7b8494}.saju-yinyang strong{font-size:1.6rem}.saju-ten-gods{margin-top:14px}.saju-ten-gods>small{display:block;margin-bottom:6px;color:#7b8494}.saju-ten-gods>span{display:inline-flex;gap:4px;margin:3px;padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:.75rem}.saju-relations{display:flex;gap:7px;flex-wrap:wrap}.saju-relation{display:inline-flex;gap:6px;align-items:center;padding:7px 9px;border-radius:11px;background:#f8fafc;border:1px solid #e5e7eb;font-size:.76rem}.saju-relation.combine{border-color:#bbf7d0;background:#f0fdf4}.saju-relation.clash{border-color:#fecaca;background:#fef2f2}.saju-relation.punish{border-color:#fed7aa;background:#fff7ed}.saju-relation.harm{border-color:#ddd6fe;background:#f5f3ff}.saju-relation.break{border-color:#bae6fd;background:#f0f9ff}.saju-json{margin-top:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;padding:10px 12px}.saju-json summary{cursor:pointer;font-weight:700}.saju-json pre{max-height:320px;overflow:auto;font-size:.72rem;white-space:pre-wrap;background:#0f172a;color:#d1fae5;padding:12px;border-radius:10px}.dogeon-v18 .saju-dialog button{min-height:40px}@media(max-width:760px){.saju-dialog{width:98vw;border-radius:18px}.saju-dialog-head{padding:16px}.saju-profile-editor,.saju-analysis-area{padding-left:14px;padding-right:14px}.saju-pillar-inputs{grid-template-columns:repeat(2,1fr)}.saju-pillars-grid{grid-template-columns:repeat(2,1fr)}.saju-two-col{grid-template-columns:1fr}.saju-overview{align-items:flex-start;flex-direction:column}.saju-daymaster{text-align:left}.saju-symbol span{width:46px;height:46px;font-size:1.65rem}.saju-element-row{grid-template-columns:24px 1fr 24px 64px}}
.manse-card{position:relative;overflow:hidden}.manse-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-42px;top:-48px;background:rgba(15,118,110,.06)}.manse-badge,.manse-direction{display:inline-flex;align-items:center;padding:.3rem .58rem;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:.72rem;font-weight:800}.manse-mini{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.manse-mini-pill{display:grid;gap:2px;min-width:58px;padding:8px 10px;border:1px solid #e5eaf0;border-radius:12px;background:#fff;text-align:center}.manse-mini-pill.day{border-color:#5eead4;background:#f0fdfa}.manse-mini-pill small{font-size:.68rem;color:#7b8494}.manse-mini-pill b{font-size:1rem}.manse-dialog{width:min(1080px,96vw);max-height:94dvh;border:0;border-radius:24px;padding:20px;background:#f7f9fc;box-shadow:0 28px 80px rgba(15,23,42,.25)}.manse-dialog::backdrop{background:rgba(15,23,42,.5)}.manse-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.manse-head h2{margin:.15rem 0 .3rem}.manse-head p{margin:0;color:#6b7280}.manse-form{margin-bottom:14px}.manse-grid-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end}.manse-grid-form label{display:grid;gap:5px;font-size:.8rem;font-weight:700}.manse-check{grid-column:span 2;display:flex!important;align-items:center!important;gap:8px!important;min-height:42px}.manse-check input{width:auto!important;min-height:auto!important}.manse-note{font-size:.78rem;color:#7b8494;line-height:1.5;margin:10px 0 0}.manse-result{display:grid;gap:12px}.manse-primary{display:flex;justify-content:space-between;gap:20px;align-items:center}.manse-primary h3{font-size:1.4rem;margin:.2rem 0}.manse-primary p{margin:0;color:#6b7280}.manse-term{display:grid;gap:3px;min-width:160px;padding:12px 14px;border-radius:16px;background:#f0fdfa}.manse-term small,.manse-term span{color:#64748b}.manse-four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.manse-pillar{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:18px;text-align:center;box-shadow:0 4px 16px rgba(15,23,42,.05)}.manse-pillar.day{border:2px solid #14b8a6;background:linear-gradient(180deg,#f0fdfa,#fff)}.manse-pillar small{display:block;color:#7b8494;margin-bottom:6px}.manse-pillar strong{font-size:1.55rem;letter-spacing:.02em}.manse-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.manse-start-age{display:flex;align-items:flex-end;gap:6px;margin:8px 0}.manse-start-age strong{font-size:2.5rem;line-height:1;color:#0f766e}.manse-start-age span{font-weight:700}.manse-current-dw{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc}.manse-current-dw small{color:#64748b}.manse-current-dw b{font-size:1.1rem}.manse-current-dw span{margin-left:auto;color:#64748b;font-size:.8rem}.manse-now{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.manse-now span{display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;text-align:center;background:#fbfcfe}.manse-now small{color:#7b8494;font-size:.7rem}.manse-now b{font-size:1.05rem}.daewoon-strip{display:grid;grid-template-columns:repeat(10,minmax(90px,1fr));gap:8px;overflow:auto;padding-bottom:4px}.daewoon-item{min-width:90px;display:grid;gap:3px;padding:10px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe;text-align:center}.daewoon-item.current{border-color:#14b8a6;background:#ecfdf5}.daewoon-item small,.daewoon-item span{font-size:.7rem;color:#7b8494}.daewoon-item b{font-size:1.05rem}.seun-strip{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:8px;overflow:auto}.seun-strip>div{min-width:74px;padding:10px;border-radius:12px;background:#f8fafc;text-align:center;border:1px solid #e5eaf0;display:grid;gap:3px}.seun-strip small{color:#64748b;font-size:.72rem}.seun-strip b{font-size:1rem}@media(max-width:820px){.manse-grid-form{grid-template-columns:1fr 1fr}.manse-check{grid-column:1/-1}.manse-primary{align-items:flex-start;flex-direction:column}.manse-term{width:100%}.manse-two{grid-template-columns:1fr}.manse-four{grid-template-columns:repeat(4,minmax(70px,1fr));overflow:auto}.manse-pillar{padding:14px 10px}.manse-pillar strong{font-size:1.25rem}.manse-dialog{padding:14px}.manse-head{position:sticky;top:-14px;z-index:5;background:rgba(247,249,252,.95);margin:-14px -14px 12px;padding:14px;border-bottom:1px solid #e5eaf0}.manse-now{grid-template-columns:repeat(4,minmax(68px,1fr));overflow:auto}}/* Dogeon Life v2.1 Advanced Saju */
.advanced-controls{margin-top:14px;padding:16px;border:1px solid #dfe7ee;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.advanced-title,.advanced-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.advanced-title h3,.advanced-section-head h2{margin:.15rem 0}.advanced-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.72rem;font-weight:800;white-space:nowrap}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.advanced-grid label{margin:0}.advanced-result{display:grid;gap:14px;margin-top:14px}.advanced-mini{margin-top:10px;padding-top:10px;border-top:1px dashed #dce3ea;font-size:.82rem}.true-solar-card{border-left:4px solid #4f46e5!important}.true-solar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.true-solar-grid>div{padding:10px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbff;display:flex;flex-direction:column;gap:3px}.true-solar-grid small{color:#7b8494}.true-solar-grid b{font-size:.95rem}.advanced-change{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff7ed;color:#9a3412}.advanced-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.strength-meter{height:12px;border-radius:999px;background:linear-gradient(90deg,#dbeafe 0 38%,#e5e7eb 38% 62%,#fee2e2 62% 100%);position:relative;overflow:visible;margin:14px 0 18px}.strength-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);box-shadow:0 1px 6px rgba(37,99,235,.25)}.strength-meter b{position:absolute;left:50%;top:14px;transform:translateX(-50%);font-size:.7rem;color:#8a93a2}.weighted-row{display:grid;grid-template-columns:24px 1fr 42px;gap:8px;align-items:center;margin:7px 0}.weighted-row>div{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden}.weighted-row i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#0f766e);border-radius:999px}.weighted-row span{text-align:right;font-size:.78rem;color:#697386}.candidate-grid{display:grid;gap:8px}.candidate-card{padding:12px;border:1px solid #e7eaf0;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}.candidate-card small{display:block;color:#6366f1;font-weight:750}.candidate-card strong{display:block;font-size:1.35rem;margin:4px 0}.candidate-card p{margin:3px 0 6px;line-height:1.45}.candidate-card span{font-size:.75rem;color:#7a8495}.advanced-disclaimer{font-size:.75rem;line-height:1.5;color:#7a8495;margin-top:10px}.flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-grid>section{padding:13px;border:1px solid #e6eaf0;border-radius:14px;background:#fcfdff}.flow-grid>section>small{font-weight:800;color:#596273}.flow-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 8px}.flow-head b{font-size:1.15rem}.flow-head span{font-size:.75rem;color:#6b7280}.flow-relations{display:flex;flex-wrap:wrap;gap:6px}.flow-rel{padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#eef2f7;color:#4b5563}.flow-rel.combine{background:#ecfdf5;color:#047857}.flow-rel.clash{background:#fef2f2;color:#b91c1c}@media(max-width:760px){.advanced-grid,.advanced-two,.true-solar-grid,.flow-grid{grid-template-columns:1fr}.advanced-title,.advanced-section-head{align-items:flex-start}.true-solar-grid{gap:7px}.flow-head{align-items:flex-start;flex-direction:column}.advanced-controls{padding:13px}}/* Dogeon Life v2.2 · D Hybrid UI */
:root{
  --dl22-bg:#f6f8f8;--dl22-card:#ffffff;--dl22-text:#152320;--dl22-muted:#74807d;
  --dl22-line:#e2e9e7;--dl22-accent:#256f63;--dl22-accent-2:#102925;--dl22-soft:#e9f3f0;
  --dl22-warn:#b45309;--dl22-warn-bg:#fff1ed;--dl22-radius:16px;--dl22-shadow:0 6px 22px rgba(16,41,37,.055)
}
body.dogeon-v22{background:var(--dl22-bg)!important;color:var(--dl22-text);letter-spacing:-.012em}
body.dogeon-v22 .content{max-width:1240px;margin:0 auto}
body.dogeon-v22 .card,body.dogeon-v22 .metric,body.dogeon-v22 .tile{border:1px solid var(--dl22-line)!important;background:var(--dl22-card)!important;border-radius:var(--dl22-radius)!important;box-shadow:none!important}
body.dogeon-v22 .card{padding:18px!important}
body.dogeon-v22 .section-head h1,body.dogeon-v22 h1,body.dogeon-v22 h2,body.dogeon-v22 h3{color:var(--dl22-text);letter-spacing:-.035em}
body.dogeon-v22 .muted{color:var(--dl22-muted)!important}
body.dogeon-v22 .eyebrow,body.dogeon-v22 .section-kicker{color:var(--dl22-accent)!important;font-weight:800!important;letter-spacing:.1em!important}
body.dogeon-v22 button{border-radius:12px;min-height:42px}
body.dogeon-v22 button.primary{background:var(--dl22-accent)!important;border-color:var(--dl22-accent)!important;box-shadow:none!important}
body.dogeon-v22 button.secondary{background:#fff!important;border:1px solid var(--dl22-line)!important;color:#42504c!important}
body.dogeon-v22 input,body.dogeon-v22 select,body.dogeon-v22 textarea{border-color:var(--dl22-line)!important;border-radius:12px!important;background:#fff!important}
body.dogeon-v22 input:focus,body.dogeon-v22 select:focus,body.dogeon-v22 textarea:focus{border-color:#89b8af!important;box-shadow:0 0 0 3px rgba(37,111,99,.10)!important}

/* Home brief */
.dl22-home-intro{display:none}
.dl22-kicker{font-size:11px;line-height:1;font-weight:800;color:var(--dl22-accent);letter-spacing:.06em}
.dl22-home-intro>h1{margin:8px 0 4px;font-size:26px;line-height:1.15}
.dl22-home-intro>p{margin:0;color:var(--dl22-muted);font-size:13px}
.dl22-focus-card{margin-top:22px;background:var(--dl22-accent-2);color:#fff;border-radius:22px;padding:20px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}
.dl22-focus-card small{color:#bbd3ce;font-size:12px;font-weight:700}
.dl22-focus-card strong{font-size:22px;line-height:1.25;letter-spacing:-.04em;max-width:95%}
.dl22-focus-card>span{color:#d4e1de;font-size:12px;line-height:1.45}
.dl22-focus-card button{align-self:flex-start;background:#21473f!important;color:#dff4ee!important;border:0!important;min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;font-size:11px;font-weight:800}

/* Finance */
body.dogeon-v22 .finance-vault-view .section-head{background:linear-gradient(145deg,#102925,#183c35);color:#fff;border-radius:22px;padding:22px;margin-bottom:18px}
body.dogeon-v22 .finance-vault-view .section-head h1,body.dogeon-v22 .finance-vault-view .section-head .eyebrow,body.dogeon-v22 .finance-vault-view .section-head .muted{color:#fff!important}
body.dogeon-v22 .finance-tabs{background:#eef3f1!important;border-radius:14px!important;padding:5px!important}
body.dogeon-v22 .finance-tab.active{color:var(--dl22-accent)!important;background:#fff!important}
body.dogeon-v22 .finance-metrics .metric strong{color:var(--dl22-text)!important}

/* Goal cards */
body.dogeon-v22 #view-goals .tile,body.dogeon-v22 #goalsGrid .tile{padding:18px!important;border-left:0!important}
body.dogeon-v22 #view-goals .tile progress,body.dogeon-v22 #view-goals .progress{accent-color:var(--dl22-accent)}

/* Advisor */
body.dogeon-v22 .advisor-fab{background:var(--dl22-accent-2)!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,41,37,.20)!important;border:1px solid rgba(255,255,255,.12)!important}
body.dogeon-v22 .advisor-drawer{background:var(--dl22-bg)!important}
body.dogeon-v22 .advisor-head{background:rgba(246,248,248,.94)!important;border-bottom:1px solid var(--dl22-line)!important}
body.dogeon-v22 .advisor-card{border:1px solid var(--dl22-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important}
body.dogeon-v22 .advisor-answer{background:var(--dl22-soft)!important;border:1px solid #d8e9e4!important;color:var(--dl22-text)!important}
body.dogeon-v22 .advisor-score strong{color:var(--dl22-accent)!important}
.dl22-advisor-caption{margin:-2px 0 12px;color:var(--dl22-muted);font-size:12px}

/* Saju / Manse */
body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{background:var(--dl22-bg)!important;border-radius:22px!important}
body.dogeon-v22 .saju-pillar-card,body.dogeon-v22 .manse-pillar{border:1px solid var(--dl22-line)!important;background:#fff!important;box-shadow:none!important;border-radius:16px!important}
body.dogeon-v22 .saju-pillar-card.day,body.dogeon-v22 .manse-pillar.day{background:var(--dl22-soft)!important;border-color:#bdd8d1!important}
body.dogeon-v22 .saju-engine-badge,body.dogeon-v22 .manse-badge,body.dogeon-v22 .advanced-badge{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;border-color:#cfe3de!important}
body.dogeon-v22 .saju-bar,body.dogeon-v22 .strength-meter{background:#eaf0ee!important}
body.dogeon-v22 .strength-meter>i,body.dogeon-v22 .weighted-row i{background:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.combine{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important}
body.dogeon-v22 .flow-rel.clash{background:var(--dl22-warn-bg)!important;color:var(--dl22-warn)!important}
body.dogeon-v22 .candidate-card{border:1px solid var(--dl22-line)!important;background:#fff!important;border-radius:14px!important}

/* Settings / membership */
body.dogeon-v22 #view-settings .card{box-shadow:none!important}
body.dogeon-v22 .plan-card{border-color:var(--dl22-line)!important;box-shadow:none!important}
body.dogeon-v22 .plan-card.current{outline:2px solid #7db0a6!important;background:linear-gradient(180deg,#f0f8f6,#fff)!important}
body.dogeon-v22 .membership-btn{background:var(--dl22-accent-2)!important;color:#fff!important;border-color:var(--dl22-accent-2)!important}
body.dogeon-v22 .cost-meter{background:#eaf0ee!important}
body.dogeon-v22 #aiCostMeterFill{background:var(--dl22-accent)!important}

/* More sheet */
.dl22-more-backdrop{position:fixed;inset:0;background:rgba(14,28,25,.38);z-index:119;backdrop-filter:blur(2px)}
.dl22-more-sheet{position:fixed;left:50%;bottom:0;z-index:120;width:min(520px,100%);max-height:84dvh;transform:translate(-50%,105%);transition:transform .22s ease;background:var(--dl22-bg);border-radius:24px 24px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(16,41,37,.18)}
.dl22-more-sheet.open{transform:translate(-50%,0)}
.dl22-sheet-handle{width:42px;height:4px;border-radius:999px;background:#c7d2cf;margin:0 auto 14px}
.dl22-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dl22-sheet-head small{display:block;font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--dl22-accent)}
.dl22-sheet-head h2{margin:4px 0 0;font-size:24px}
.dl22-sheet-head button{border:1px solid var(--dl22-line);background:#fff!important;color:#4c5955!important;width:42px;padding:0}
.dl22-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dl22-more-grid>button{min-height:94px!important;border:1px solid var(--dl22-line)!important;background:#fff!important;color:var(--dl22-text)!important;text-align:left!important;padding:14px!important;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;box-shadow:none!important}
.dl22-more-grid>button>b{grid-row:1/3;font-size:18px;color:var(--dl22-accent)}
.dl22-more-grid>button>span{font-size:14px;font-weight:800;align-self:end}
.dl22-more-grid>button>small{font-size:11px;color:var(--dl22-muted);align-self:start}

@media(max-width:760px){
  body.dogeon-v22{padding-bottom:92px!important;background:var(--dl22-bg)!important}
  body.dogeon-v22 .topbar{display:none!important}
  body.dogeon-v22 .sidebar{display:none!important}
  body.dogeon-v22 .content{padding:18px 20px 10px!important;width:100%!important;max-width:none!important}
  body.dogeon-v22 .view{padding-bottom:12px}
  .dl22-home-intro{display:block}
  body.dogeon-v22 #view-dashboard>.hero{display:none!important}
  body.dogeon-v22 #view-dashboard>.metric-grid{display:none!important}
  body.dogeon-v22 #view-dashboard>.two-col{display:block!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card{margin-top:28px!important}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2::before{content:'오늘 일정';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:first-child .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2::before{content:'핵심 목표';font-size:16px;color:var(--dl22-text)}
  body.dogeon-v22 #view-dashboard>.two-col>.card:nth-child(2) .card-head h2{font-size:0}
  body.dogeon-v22 #view-dashboard>.card:last-of-type{margin-top:20px!important}
  body.dogeon-v22 #view-dashboard .quick-grid{grid-template-columns:repeat(2,1fr)!important}
  body.dogeon-v22 .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:18px!important}
  body.dogeon-v22 .section-head h1{font-size:26px!important;margin-bottom:4px!important}
  body.dogeon-v22 .section-head .actions{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body.dogeon-v22 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v22 .two-col,body.dogeon-v22 .tile-grid,body.dogeon-v22 .metric-grid{gap:10px!important}
  body.dogeon-v22 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v22 .metric{padding:15px!important}
  body.dogeon-v22 .metric strong{font-size:1.35rem!important}
  body.dogeon-v22 .card{padding:16px!important}
  body.dogeon-v22 .bottom-nav{position:fixed!important;left:16px!important;right:16px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:110!important;height:56px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;padding:4px 4px!important;background:rgba(255,255,255,.96)!important;border:1px solid var(--dl22-line)!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(16,41,37,.10)!important;backdrop-filter:blur(14px)!important}
  body.dogeon-v22 .bottom-nav button{min-width:0!important;min-height:46px!important;padding:5px 0!important;border:0!important;background:transparent!important;color:#8a9692!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:0!important;box-shadow:none!important}
  body.dogeon-v22 .bottom-nav button small{font-size:10px!important;line-height:1!important;font-weight:650}
  body.dogeon-v22 .bottom-nav button.active{color:var(--dl22-accent)!important}
  .dl22-dot{display:block;width:7px;height:7px;border-radius:50%;background:#c7d2cf}
  body.dogeon-v22 .bottom-nav button.active .dl22-dot{background:var(--dl22-accent)}
  body.dogeon-v22 .advisor-fab{right:20px!important;bottom:86px!important;padding:11px 13px!important}
  body.dogeon-v22 .advisor-fab span{display:none!important}
  body.dogeon-v22 .advisor-drawer{width:100vw!important;max-width:100vw!important;border-left:0!important;padding-bottom:90px!important}
  body.dogeon-v22 .finance-vault-view .section-head{padding:18px!important;border-radius:18px!important}
  body.dogeon-v22 .finance-tabs{position:sticky;top:0;z-index:8}
  body.dogeon-v22 .saju-dialog,body.dogeon-v22 .manse-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
  body.dogeon-v22 .saju-pillars-grid,body.dogeon-v22 .manse-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.dogeon-v22 .saju-two-col,body.dogeon-v22 .manse-two,body.dogeon-v22 .advanced-two{grid-template-columns:1fr!important}
  body.dogeon-v22 .plan-grid{grid-template-columns:1fr!important}
}

@media(min-width:761px){
  body.dogeon-v22 .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--dl22-line)!important;box-shadow:none!important}
  body.dogeon-v22 .sidebar{background:#fbfcfc!important;border-right:1px solid var(--dl22-line)!important}
  body.dogeon-v22 .sidebar .nav.active{background:var(--dl22-soft)!important;color:var(--dl22-accent)!important;box-shadow:inset 3px 0 0 var(--dl22-accent)!important}
}
/* Dogeon Life v2.3 · Strong Focus UI
   Calm base, strong focus: one dominant visual anchor per view. */
:root{
  --dl23-ink:#102925;--dl23-accent:#1f7a6b;--dl23-accent-bright:#2f9a86;
  --dl23-soft:#e7f2ef;--dl23-soft-2:#f0f6f4;--dl23-coral:#c65f49;--dl23-coral-bg:#fff0ec;
  --dl23-gold:#9b6a18;--dl23-gold-bg:#fff7e8;
  --dl23-focus-shadow:0 14px 34px rgba(16,41,37,.14)
}
body.dogeon-v23{--dl22-accent:var(--dl23-accent);--dl22-accent-2:var(--dl23-ink)}
body.dogeon-v23 .card,body.dogeon-v23 .metric,body.dogeon-v23 .tile{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* Home: one unmistakable hero */
body.dogeon-v23 .dl23-focus-hero{position:relative;overflow:hidden;box-shadow:var(--dl23-focus-shadow)!important;border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(145deg,#0e2924,#17453b)!important}
body.dogeon-v23 .dl23-focus-hero::after{content:'';position:absolute;right:-52px;top:-60px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(99,207,184,.18),rgba(99,207,184,0) 68%);pointer-events:none}
body.dogeon-v23 .dl23-focus-hero strong{font-size:clamp(23px,4.8vw,29px)!important;line-height:1.18!important;max-width:92%!important;position:relative;z-index:1}
body.dogeon-v23 .dl23-focus-hero small{font-size:12px!important;letter-spacing:.01em}
body.dogeon-v23 .dl23-focus-hero button{background:#2b6559!important;color:#f3fffc!important;box-shadow:0 6px 14px rgba(0,0,0,.12)!important}
body.dogeon-v23 .dl23-goal-card{border-color:#b8d8d1!important;box-shadow:0 8px 24px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-goal-card .card-head h2{font-weight:850!important}
body.dogeon-v23 .dl23-goal-card .progress,body.dogeon-v23 .dl23-goal-card progress{accent-color:var(--dl23-accent-bright)!important}
body.dogeon-v23 .dl23-support-card{background:#fbfdfc!important}

/* AI advisor: judgement is the focal object */
body.dogeon-v23 .dl23-advisor-primary{background:linear-gradient(145deg,#102925,#17443a)!important;border-color:#204c43!important;color:#fff!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-advisor-primary h3,body.dogeon-v23 .dl23-advisor-primary h4,body.dogeon-v23 .dl23-advisor-primary p,body.dogeon-v23 .dl23-advisor-primary small{color:#f4fbf9!important}
body.dogeon-v23 .dl23-advisor-primary .advisor-score strong{color:#8fe0cd!important;font-size:2.2rem!important}
body.dogeon-v23 .dl23-advisor-primary .linkbtn{color:#a8e5d7!important}
body.dogeon-v23 .dl23-advisor-action{border-color:#bcd9d2!important}
body.dogeon-v23 .dl23-advisor-answer{position:relative;background:#fff!important;border:1px solid #c8ddd8!important;border-left:4px solid var(--dl23-accent)!important;padding:16px 16px 16px 18px!important;line-height:1.62!important;font-weight:600;color:#17312b!important;box-shadow:0 8px 22px rgba(16,41,37,.055)!important}
body.dogeon-v23 .advisor-quick button{background:var(--dl23-soft-2)!important;color:#31534c!important;border-color:#d8e8e4!important}

/* Finance: net worth dominates, status communicates by color */
body.dogeon-v23 .dl23-finance-primary{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;box-shadow:var(--dl23-focus-shadow)!important;grid-column:span 2}
body.dogeon-v23 .dl23-finance-primary small,body.dogeon-v23 .dl23-finance-primary span{color:#b9d3cd!important}
body.dogeon-v23 .dl23-finance-primary strong{color:#fff!important;font-size:clamp(1.8rem,5vw,2.35rem)!important;letter-spacing:-.045em!important}
body.dogeon-v23 .dl23-finance-secondary{border-color:#c2dcd6!important;background:#f8fcfb!important}
body.dogeon-v23 .dl23-negative{background:var(--dl23-coral-bg)!important;border-color:#f0c7bc!important}
body.dogeon-v23 .dl23-negative strong{color:#a54533!important}
body.dogeon-v23 .dl23-positive strong{color:var(--dl23-accent)!important}
body.dogeon-v23 .budget-warn{background:var(--dl23-coral-bg)!important;color:#a54533!important;font-weight:800!important}

/* Goals: one current goal gets visual priority */
body.dogeon-v23 .dl23-goal-primary{border:2px solid #9fc9bf!important;background:linear-gradient(180deg,#f3faf8,#fff)!important;box-shadow:0 10px 26px rgba(31,122,107,.09)!important}
body.dogeon-v23 .dl23-goal-primary h3,body.dogeon-v23 .dl23-goal-primary strong{color:#12362f!important}

/* Saju / Manse: Day Master and current fortune become anchors */
body.dogeon-v23 .dl23-daymaster-focus{background:linear-gradient(160deg,#102925,#1a4b40)!important;border-color:#143a33!important;box-shadow:0 10px 26px rgba(16,41,37,.15)!important;transform:translateY(-3px)}
body.dogeon-v23 .dl23-daymaster-focus small,body.dogeon-v23 .dl23-daymaster-focus b,body.dogeon-v23 .dl23-daymaster-focus strong,body.dogeon-v23 .dl23-daymaster-focus span,body.dogeon-v23 .dl23-daymaster-focus .saju-tags span{color:#fff!important}
body.dogeon-v23 .dl23-daymaster-focus .saju-hidden small{color:#a9c9c2!important}
body.dogeon-v23 .dl23-current-flow,body.dogeon-v23 .daewoon-item.current{background:var(--dl23-ink)!important;color:#fff!important;border-color:var(--dl23-ink)!important;box-shadow:0 8px 20px rgba(16,41,37,.16)!important;transform:translateY(-2px)}
body.dogeon-v23 .dl23-current-flow b,body.dogeon-v23 .dl23-current-flow small,body.dogeon-v23 .dl23-current-flow span,body.dogeon-v23 .daewoon-item.current b,body.dogeon-v23 .daewoon-item.current small,body.dogeon-v23 .daewoon-item.current span{color:#fff!important}
body.dogeon-v23 .dl23-strength-focus{border-top:4px solid var(--dl23-accent)!important}
body.dogeon-v23 .dl23-strength-focus .strength-meter>i{background:linear-gradient(90deg,#78b8aa,var(--dl23-accent))!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child{background:var(--dl23-soft)!important;border:2px solid #a8cec5!important;box-shadow:0 6px 18px rgba(31,122,107,.08)!important}
body.dogeon-v23 .dl23-candidate-focus .candidate-card:first-child strong{font-size:1.55rem!important;color:#145c4f!important}
body.dogeon-v23 .flow-rel.clash,body.dogeon-v23 .dl23-alert-relation{background:var(--dl23-coral-bg)!important;color:#a54533!important;border:1px solid #f0c1b5!important;font-weight:800!important}
body.dogeon-v23 .flow-rel.punish,body.dogeon-v23 .flow-rel.harm,body.dogeon-v23 .flow-rel.break{background:var(--dl23-gold-bg)!important;color:var(--dl23-gold)!important;border-color:#eed8a7!important}
body.dogeon-v23 .flow-rel.combine{background:#e8f5f1!important;color:#166958!important;border-color:#bedfd7!important}

/* Membership / settings: current plan and cost guard matter */
body.dogeon-v23 .dl23-plan-focus{background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;outline:0!important;box-shadow:var(--dl23-focus-shadow)!important}
body.dogeon-v23 .dl23-plan-focus *{color:#fff!important}
body.dogeon-v23 .dl23-cost-focus{border-left:4px solid var(--dl23-accent)!important;background:#f8fcfb!important}

/* Buttons: primary actions read as actions, not decoration */
body.dogeon-v23 .dl23-primary-action{font-weight:800!important;box-shadow:0 7px 16px rgba(31,122,107,.14)!important}
body.dogeon-v23 .dl23-primary-action:active{transform:translateY(1px);box-shadow:0 3px 8px rgba(31,122,107,.13)!important}

@media(max-width:760px){
  body.dogeon-v23 .dl23-focus-hero{min-height:166px!important;padding:22px 20px!important;margin-top:20px!important}
  body.dogeon-v23 .dl23-focus-hero strong{font-size:25px!important}
  body.dogeon-v23 .dl23-finance-primary{grid-column:1/-1!important;padding:19px!important;min-height:112px}
  body.dogeon-v23 .dl23-finance-primary strong{font-size:2rem!important}
  body.dogeon-v23 .saju-pillar-card.day,body.dogeon-v23 .manse-pillar.day{transform:translateY(-3px) scale(1.02)}
  body.dogeon-v23 .advisor-card{padding:17px!important}
  body.dogeon-v23 .dl23-advisor-primary{padding:19px!important}
  body.dogeon-v23 .dl23-advisor-answer{font-size:14px!important}
}

@media(min-width:761px){
  body.dogeon-v23 .dl23-finance-primary{grid-column:auto}
  body.dogeon-v23 .dl23-focus-hero{max-width:720px}
}
/* v2.3.1 More-menu interaction hotfix */
body.dl231-more-open{overflow:hidden!important}
body.dogeon-v23 .bottom-nav [data-dl22-nav="more"]{pointer-events:auto!important;touch-action:manipulation!important;position:relative;z-index:2}
body.dogeon-v23 .dl22-more-backdrop{z-index:9998!important;pointer-events:auto!important}
body.dogeon-v23 .dl22-more-sheet{z-index:9999!important;pointer-events:auto!important;visibility:visible!important}
body.dogeon-v23 .dl22-more-sheet.open{transform:translate(-50%,0)!important}
body.dogeon-v23 .dl22-more-sheet button{pointer-events:auto!important;touch-action:manipulation!important}
body.dogeon-v23 .dl22-more-backdrop.hidden{display:none!important}
/* Dogeon Life v2.4 · Insurance AI Import */
.insurance-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.insurance-ai-open{background:linear-gradient(135deg,#12362f,#1f7a6b)!important;border-color:#12362f!important;box-shadow:0 8px 20px rgba(31,122,107,.16)!important;font-weight:850!important}
.insurance-ai-open span{margin-right:4px}
.insurance-ai-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;max-height:92dvh;padding:0!important;border:0!important;border-radius:22px!important;background:#f6f8f8!important;overflow:auto!important;color:#152320}
.insurance-ai-dialog::backdrop{background:rgba(10,24,21,.58);backdrop-filter:blur(3px)}
.insurance-ai-head{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 22px 18px;background:rgba(246,248,248,.96);border-bottom:1px solid #e2e9e7;backdrop-filter:blur(16px)}
.insurance-ai-head h2{margin:6px 0 4px;font-size:25px;letter-spacing:-.04em}.insurance-ai-head p{margin:0;color:#74807d;font-size:13px}.insurance-ai-head>button{width:44px;min-width:44px;padding:0!important}
.insurance-ai-upload{margin:18px 20px!important;padding:18px!important}
.insurance-ai-drop{display:flex!important;min-height:178px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #bad2cc!important;border-radius:18px;background:linear-gradient(180deg,#f8fcfb,#f1f7f5)!important;cursor:pointer;text-align:center;padding:18px!important;transition:.18s ease}
.insurance-ai-drop.drag,.insurance-ai-drop:active{border-color:#1f7a6b!important;background:#e8f5f1!important;transform:scale(.997)}
.insurance-ai-drop-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#102925;color:#fff;font-size:24px;line-height:1}.insurance-ai-drop strong{font-size:17px}.insurance-ai-drop small{color:#74807d;font-size:12px}
.insurance-ai-file-list{display:grid;gap:8px;margin-top:12px}.insurance-ai-file{display:grid;grid-template-columns:46px 1fr 38px;gap:10px;align-items:center;border:1px solid #e2e9e7;border-radius:13px;background:#fff;padding:9px 10px}.insurance-ai-file>span{display:grid;place-items:center;height:34px;border-radius:9px;background:#e9f3f0;color:#1f7a6b;font-size:10px;font-weight:900}.insurance-ai-file div{min-width:0}.insurance-ai-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.insurance-ai-file small{display:block;margin-top:2px;color:#88938f;font-size:11px}.insurance-ai-file button{min-height:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#8a9692!important}
.insurance-ai-privacy{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:14px;padding:12px 13px;border-radius:12px;background:#fff8ea;border:1px solid #efe0bd;font-size:12px;line-height:1.5}.insurance-ai-privacy b{color:#805c18}.insurance-ai-privacy span{color:#665f50}
.insurance-ai-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.insurance-ai-actions button{min-width:132px}.insurance-ai-actions .muted{font-size:12px}
.insurance-ai-result{padding:0 20px 110px}.insurance-ai-summary{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-bottom:12px!important;background:linear-gradient(145deg,#102925,#17453b)!important;border-color:#102925!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,41,37,.12)!important}.insurance-ai-summary h3{color:#fff!important;margin:6px 0;font-size:21px}.insurance-ai-summary p{color:#c9ddd8;margin:0;font-size:13px}.insurance-ai-summary>div:last-child{display:flex;flex-direction:column;gap:5px;justify-content:center;color:#ffe4dc;font-size:12px}
.insurance-ai-policy{margin:12px 0!important;padding:20px!important}.insurance-ai-policy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.insurance-ai-policy-head small{color:#1f7a6b;font-weight:850;letter-spacing:.03em}.insurance-ai-policy-head h3{margin:4px 0 0;font-size:19px;line-height:1.35}.insurance-ai-confidence{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:70px;height:62px;border-radius:14px;background:#e8f5f1;color:#166958}.insurance-ai-confidence.low{background:#fff0ec;color:#a54533}.insurance-ai-confidence b{font-size:18px}.insurance-ai-confidence span{font-size:9px;font-weight:750}
.insurance-ai-review-note{margin:13px 0;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#8b641e;font-size:12px;font-weight:750}
.insurance-ai-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin-top:16px}.insurance-ai-wide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.insurance-ai-field{display:flex!important;flex-direction:column;gap:5px;margin:0!important;padding:8px;border:1px solid transparent;border-radius:11px}.insurance-ai-field>span{display:flex;justify-content:space-between;gap:6px;color:#5d6965;font-size:11px;font-weight:800}.insurance-ai-field>span em{font-style:normal;color:#9aa39f;font-size:10px}.insurance-ai-field>small{color:#a16d12;font-size:10px;font-weight:800}.insurance-ai-field.needs-review{background:#fff9ed;border-color:#f0dfb3}.insurance-ai-field.needs-review input,.insurance-ai-field.needs-review select,.insurance-ai-field.needs-review textarea{border-color:#dfc06d!important}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{width:100%;min-width:0}
.insurance-ai-coverages{margin-top:16px;border-top:1px solid #e2e9e7;padding-top:14px}.insurance-ai-coverages summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;list-style:none}.insurance-ai-coverages summary::-webkit-details-marker{display:none}.insurance-ai-coverages summary b{font-size:14px}.insurance-ai-coverages summary span{font-size:11px;color:#7c8783}.insurance-ai-coverages>[data-ai-coverages]{display:grid;gap:8px;margin-top:10px}.insurance-ai-coverage{display:grid;grid-template-columns:1fr auto;gap:7px 10px;position:relative;padding:10px;border:1px solid #e1e8e6;border-radius:12px;background:#fbfdfc}.insurance-ai-coverage.needs-review{background:#fff9ee;border-color:#ead7a5}.coverage-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr);gap:8px}.coverage-main input:first-child{font-weight:750}.coverage-meta{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:7px;align-items:center}.coverage-meta input,.coverage-meta select,.coverage-main input{min-width:0;height:38px!important;font-size:12px!important}.coverage-meta>span{font-size:10px;color:#8b641e;font-weight:800}.insurance-ai-coverage>button{grid-column:2;grid-row:1/3;align-self:center;min-height:34px!important;height:34px!important;padding:0 10px!important;background:transparent!important;border:1px solid #e2e9e7!important;color:#8a5f55!important;font-size:11px!important}
.insurance-ai-warnings{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff0ec;color:#8d4636;font-size:11px}.insurance-ai-warnings b{font-size:12px}
.insurance-ai-savebar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -110px;padding:15px 20px calc(15px + env(safe-area-inset-bottom));background:rgba(246,248,248,.96);border-top:1px solid #dce6e3;backdrop-filter:blur(16px)}.insurance-ai-savebar div{display:flex;flex-direction:column}.insurance-ai-savebar b{font-size:13px}.insurance-ai-savebar small{font-size:10px;color:#7c8783}.insurance-ai-savebar button{min-width:160px}

@media(max-width:760px){
  #view-insurance .section-head{gap:12px!important}.insurance-register-actions{display:grid;grid-template-columns:1.35fr .8fr;width:100%}.insurance-register-actions button{width:100%;min-width:0!important}
  .insurance-ai-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.insurance-ai-head{padding:18px 16px 14px}.insurance-ai-head h2{font-size:22px}.insurance-ai-head p{max-width:270px}.insurance-ai-upload{margin:12px 14px!important;padding:14px!important}.insurance-ai-drop{min-height:152px}.insurance-ai-result{padding:0 14px 105px}.insurance-ai-summary{grid-template-columns:1fr!important}.insurance-ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.insurance-ai-wide{grid-template-columns:1fr}.insurance-ai-policy{padding:14px!important}.insurance-ai-policy-head h3{font-size:16px}.insurance-ai-confidence{min-width:62px;height:56px}.insurance-ai-field{padding:6px}.insurance-ai-field input,.insurance-ai-field select,.insurance-ai-field textarea{font-size:13px!important}.insurance-ai-coverage{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr 112px}.coverage-meta{grid-template-columns:1fr 1fr}.coverage-meta select{grid-column:1/2}.coverage-meta>span{justify-self:end}.insurance-ai-coverage>button{grid-column:1;grid-row:auto;justify-self:end}.insurance-ai-savebar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.insurance-ai-savebar div{display:none}.insurance-ai-savebar button{width:100%;min-height:48px!important}
}

@media(max-width:410px){.insurance-ai-form-grid{grid-template-columns:1fr}.coverage-main{grid-template-columns:1fr}.coverage-meta{grid-template-columns:1fr 1fr}}
/* Dogeon Life v2.5 — unified desktop/mobile/TWA presentation */
body.dogeon-v25{
  --dl25-bg:#f5f7f8;
  --dl25-surface:#ffffff;
  --dl25-text:#162127;
  --dl25-muted:#6c787d;
  --dl25-line:#e2e8ea;
  --dl25-accent:#0f766e;
  --dl25-accent-soft:#e7f5f2;
  --dl25-shadow:0 12px 32px rgba(18,37,43,.07);
  background:var(--dl25-bg);
  color:var(--dl25-text);
}
body.dogeon-v25 .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--dl25-line);
  backdrop-filter:blur(14px);
}
body.dogeon-v25 .brand{min-width:0}
body.dogeon-v25 .brand>div:last-child{min-width:0}
body.dogeon-v25 .brand b{font-size:1rem;letter-spacing:-.02em}
body.dogeon-v25 .brand small{display:block;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}
body.dogeon-v25 .content{padding-bottom:92px}
body.dogeon-v25 .view{max-width:1320px;margin:0 auto}
body.dogeon-v25 .card,
body.dogeon-v25 .metric,
body.dogeon-v25 .tile{
  border:1px solid var(--dl25-line);
  box-shadow:none;
  border-radius:18px;
}
body.dogeon-v25 .section-head{align-items:flex-start;gap:14px;margin-bottom:18px}
body.dogeon-v25 .section-head h1{letter-spacing:-.04em}
body.dogeon-v25 .section-head .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v25 #view-dashboard>.hero{display:none!important}
body.dogeon-v25 #dl22HomeIntro{margin-bottom:16px}
body.dogeon-v25 #dl22HomeIntro>h1{font-size:clamp(1.7rem,4vw,2.55rem);letter-spacing:-.055em;margin:.15rem 0 .25rem}
body.dogeon-v25 #dl22HomeIntro>p{color:var(--dl25-muted);margin-top:0}
body.dogeon-v25 .dl22-focus-card{
  border:1px solid rgba(15,118,110,.16)!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0faf8 100%)!important;
  box-shadow:var(--dl25-shadow)!important;
  border-radius:22px!important;
}
body.dogeon-v25 .dl22-focus-card strong{letter-spacing:-.035em}
body.dogeon-v25 .dl25-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
body.dogeon-v25 .dl25-home-actions button{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:'icon title' 'icon sub';
  column-gap:10px;
  text-align:left;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--dl25-line);
  border-radius:16px;
  background:var(--dl25-surface);
  color:var(--dl25-text);
}
body.dogeon-v25 .dl25-home-actions button:hover{border-color:#b9d7d2;background:#fbfefd}
body.dogeon-v25 .dl25-home-actions span{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-weight:800}
body.dogeon-v25 .dl25-home-actions b{grid-area:title;font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .dl25-home-actions small{grid-area:sub;color:var(--dl25-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dogeon-v25 .metric-grid{gap:10px}
body.dogeon-v25 #view-dashboard .metric-grid .metric{background:var(--dl25-surface)}
body.dogeon-v25 .two-col{gap:12px}
body.dogeon-v25 .quick-grid{gap:8px}
body.dogeon-v25 .quick-grid button{border-radius:13px}

/* Desktop information architecture */
body.dogeon-v25 .sidebar{background:#fbfcfc;border-right:1px solid var(--dl25-line)}
body.dogeon-v25 .sidebar .nav{border-radius:12px;margin:2px 8px;width:calc(100% - 16px)}
body.dogeon-v25 .sidebar .nav.active{background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-sidebar-tools{
  margin:12px 8px 8px;
  padding:12px 8px 8px;
  border-top:1px solid var(--dl25-line);
  display:grid;
  gap:5px;
}
body.dogeon-v25 .dl25-sidebar-tools>small{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#879399;padding:0 7px 4px}
body.dogeon-v25 .dl25-sidebar-tools button{
  border:0;
  background:transparent;
  color:var(--dl25-text);
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 8px;
  border-radius:11px;
  text-align:left;
}
body.dogeon-v25 .dl25-sidebar-tools button:hover{background:#eef5f4}
body.dogeon-v25 .dl25-sidebar-tools span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--dl25-accent-soft);color:var(--dl25-accent);font-size:.8rem}
body.dogeon-v25 .dl25-sidebar-tools b{font-size:.86rem}

/* More sheet shared by browser/PWA/TWA */
body.dogeon-v25 .dl22-more-sheet{
  border-radius:24px 24px 0 0;
  background:#fff;
  border:1px solid var(--dl25-line);
  box-shadow:0 -18px 50px rgba(18,37,43,.16);
  max-height:min(82vh,760px);
  overflow:auto;
}
body.dogeon-v25 .dl22-sheet-head{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:2;padding-bottom:10px}
body.dogeon-v25 .dl22-sheet-head h2{letter-spacing:-.04em}
body.dogeon-v25 .dl25-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
body.dogeon-v25 .dl25-more-primary button,
body.dogeon-v25 .dl25-more-grid button{
  border:1px solid var(--dl25-line)!important;
  background:#fff!important;
  color:var(--dl25-text)!important;
  border-radius:16px!important;
  text-align:left!important;
}
body.dogeon-v25 .dl25-more-primary button{display:grid;grid-template-columns:38px 1fr;grid-template-areas:'icon title' 'icon sub';gap:1px 10px;padding:14px!important}
body.dogeon-v25 .dl25-more-primary b{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--dl25-accent-soft);color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-primary span{grid-area:title;font-weight:800}
body.dogeon-v25 .dl25-more-primary small{grid-area:sub;color:var(--dl25-muted)}
body.dogeon-v25 .dl25-more-grid{gap:9px}
body.dogeon-v25 .dl25-more-grid button b{color:var(--dl25-accent)}
body.dogeon-v25 .dl25-more-grid button small{color:var(--dl25-muted)}

/* Dialogs and feature areas */
body.dogeon-v25 dialog{border-radius:22px;border:1px solid var(--dl25-line);box-shadow:0 24px 80px rgba(13,30,36,.22)}
body.dogeon-v25 .insurance-ai-dialog,
body.dogeon-v25 .manse-dialog{width:min(96vw,1120px)}
body.dogeon-v25 .finance-tabs{overflow-x:auto;scrollbar-width:none}
body.dogeon-v25 .finance-tabs::-webkit-scrollbar{display:none}
body.dogeon-v25 .finance-tab{white-space:nowrap}
body.dogeon-v25.dogeon-installed #installAppBtn{display:none!important}

@media (min-width:900px){
  body.dogeon-v25 .bottom-nav{display:none!important}
  body.dogeon-v25 .content{padding-bottom:32px}
}

@media (max-width:899px){
  body.dogeon-v25 .sidebar{display:none!important}
  body.dogeon-v25 .content{padding-left:12px!important;padding-right:12px!important;padding-top:14px!important}
  body.dogeon-v25 .topbar{padding-left:12px;padding-right:12px}
  body.dogeon-v25 .top-actions{gap:6px}
  body.dogeon-v25 #networkBadge,
  body.dogeon-v25 #syncBadge{display:none!important}
  body.dogeon-v25 .brand small{max-width:180px;font-size:.68rem}
  body.dogeon-v25 .dl25-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dogeon-v25 .section-head{display:flex;flex-direction:column}
  body.dogeon-v25 .section-head .actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  body.dogeon-v25 .section-head .actions::-webkit-scrollbar{display:none}
  body.dogeon-v25 .section-head .actions>*{flex:0 0 auto}
  body.dogeon-v25 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .two-col{grid-template-columns:1fr!important}
  body.dogeon-v25 .bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    padding-bottom:max(7px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--dl25-line);
    backdrop-filter:blur(14px);
  }
  body.dogeon-v25 .bottom-nav button{min-width:0}
  body.dogeon-v25 .bottom-nav button.active small{color:var(--dl25-accent);font-weight:800}
  body.dogeon-v25 .dl22-more-sheet{padding-bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
  body.dogeon-v25 dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 18px)}
}

@media (max-width:520px){
  body.dogeon-v25 .topbar .brand .logo{width:34px;height:34px}
  body.dogeon-v25 .brand b{font-size:.9rem}
  body.dogeon-v25 .brand small{max-width:130px}
  body.dogeon-v25 #financeVaultBtn{display:none!important}
  body.dogeon-v25 #installAppBtn{padding-left:9px;padding-right:9px}
  body.dogeon-v25 .dl25-home-actions button{padding:11px 10px;grid-template-columns:30px minmax(0,1fr);column-gap:8px}
  body.dogeon-v25 .dl25-home-actions span{width:30px;height:30px}
  body.dogeon-v25 .dl25-more-primary{grid-template-columns:1fr}
  body.dogeon-v25 .dl25-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v25 .metric{padding:13px!important}
}
/* Dogeon Life v2.6 — daily flow hierarchy and navigation cleanup */
body.dogeon-v26{
  --dl26-ink:#10231f;
  --dl26-muted:#71807d;
  --dl26-accent:#0f766e;
  --dl26-accent-2:#1d8b7d;
  --dl26-soft:#edf7f5;
  --dl26-line:#dfe9e7;
  --dl26-card:#fff;
  --dl26-shadow:0 14px 38px rgba(18,49,43,.08);
}

/* Old injected navigation duplicated the same destinations. Keep one desktop navigation. */
body.dogeon-v26 #dl25SidebarTools{display:none!important}
body.dogeon-v26 #dl22HomeIntro{display:none!important}

/* Keep version copy stable even when older compatibility scripts rewrite the text node. */
body.dogeon-v26 .brand small{font-size:0!important;color:var(--dl26-muted)!important}
body.dogeon-v26 .brand small::after{content:'Life OS · v2.6 · DAILY FLOW';font-size:.76rem;letter-spacing:-.01em}

body.dogeon-v26 #view-dashboard.active{
  display:flex!important;
  flex-direction:column;
}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{order:1}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2}
body.dogeon-v26 #view-dashboard>.two-col{order:3}
body.dogeon-v26 #view-dashboard>.metric-grid{order:4}
body.dogeon-v26 #view-dashboard>article.card{order:5}

body.dogeon-v26 .dl26-daily-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  padding:26px 28px;
  margin:0 0 14px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#ffffff 0%,#f2faf8 58%,#eaf6f3 100%);
  box-shadow:var(--dl26-shadow);
}
body.dogeon-v26 .dl26-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--dl26-accent);font-size:.76rem;font-weight:850;letter-spacing:.04em}
body.dogeon-v26 .dl26-eyebrow time{color:var(--dl26-muted);font-weight:700;letter-spacing:0}
body.dogeon-v26 .dl26-daily-hero h1{margin:0;color:var(--dl26-ink);font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.055em;max-width:820px}
body.dogeon-v26 .dl26-daily-hero p{margin:10px 0 0;color:var(--dl26-muted);font-size:.95rem;line-height:1.55;max-width:760px}
body.dogeon-v26 .dl26-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.dogeon-v26 .dl26-hero-actions button{min-height:42px;border-radius:13px;padding:0 15px;font-weight:800;white-space:nowrap}

/* Three true shortcuts only: AI, Saju, Finance. Insurance remains in primary navigation. */
body.dogeon-v26 .dl26-home-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
body.dogeon-v26 .dl26-home-actions [hidden]{display:none!important}
body.dogeon-v26 .dl26-home-actions button{
  min-height:76px;
  border-color:var(--dl26-line)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.94)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body.dogeon-v26 .dl26-home-actions button:hover{transform:translateY(-1px);border-color:#b6d8d1!important;box-shadow:0 8px 24px rgba(15,118,110,.07)}

/* Today and priority goal are the working area, before statistics. */
body.dogeon-v26 #view-dashboard>.two-col{gap:12px;margin-bottom:12px}
body.dogeon-v26 .dl26-today-card,
body.dogeon-v26 .dl26-goal-card{
  min-height:218px;
  padding:20px!important;
  border-radius:20px!important;
  background:var(--dl26-card)!important;
}
body.dogeon-v26 .dl26-goal-card{border-color:#bedfd8!important;background:linear-gradient(180deg,#fbfefd,#fff)!important}
body.dogeon-v26 .dl26-today-card .card-head h2,
body.dogeon-v26 .dl26-goal-card .card-head h2{font-size:1.22rem;letter-spacing:-.035em}

body.dogeon-v26 .dl26-goal-empty{
  min-height:145px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:'icon copy' 'actions actions';
  gap:12px 14px;
  align-content:center;
  padding:8px 2px 0;
}
body.dogeon-v26 .dl26-empty-icon{grid-area:icon;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--dl26-soft);color:var(--dl26-accent);font-weight:900;font-size:1.2rem}
body.dogeon-v26 .dl26-goal-empty>div:nth-child(2){grid-area:copy}
body.dogeon-v26 .dl26-goal-empty b{display:block;color:var(--dl26-ink);font-size:1rem;margin:2px 0 4px}
body.dogeon-v26 .dl26-goal-empty p{margin:0;color:var(--dl26-muted);line-height:1.5;font-size:.88rem}
body.dogeon-v26 .dl26-empty-actions{grid-area:actions;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
body.dogeon-v26 .dl26-empty-actions button{border-radius:11px;padding:9px 12px;font-weight:800}

/* Statistics stay available but no longer compete with the working area. */
body.dogeon-v26 #view-dashboard>.metric-grid{gap:9px;margin:0 0 12px}
body.dogeon-v26 .dl26-metric{
  min-height:92px!important;
  padding:15px 17px!important;
  border-radius:16px!important;
  background:#fbfcfc!important;
  border-color:#e7edec!important;
}
body.dogeon-v26 .dl26-metric small{color:#778481!important;font-size:.78rem!important;font-weight:700}
body.dogeon-v26 .dl26-metric strong{font-size:1.35rem!important;letter-spacing:-.04em}

/* Quick add reads as a utility bar, not another major content panel. */
body.dogeon-v26 .dl26-quick-card{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fbfcfc!important;
  border-color:#e5ecea!important;
}
body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:10px}
body.dogeon-v26 .dl26-quick-card .card-head h2{font-size:1.05rem;letter-spacing:-.03em}
body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:42px;border:1px solid var(--dl26-line)!important;background:#fff!important;color:var(--dl26-ink)!important;border-radius:12px!important;font-weight:800}
body.dogeon-v26 .dl26-quick-card .quick-grid button:hover{background:var(--dl26-soft)!important;border-color:#badbd4!important;color:var(--dl26-accent)!important}

/* Desktop sidebar: prevent awkward multi-line labels without making the rail visually heavy. */
@media(min-width:900px){
  body.dogeon-v26 .sidebar .nav{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;text-align:left!important;padding-left:11px!important;padding-right:9px!important}
  body.dogeon-v26 .sidebar .nav span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
  body.dogeon-v26 .content{padding-top:22px}
}

/* Initial desktop viewport fit: compose the dashboard as two balanced rows instead of one long column. */
@media(min-width:1180px){
  body.dogeon-v26 #view-dashboard.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
    grid-template-areas:
      'hero actions'
      'work work'
      'metrics quick';
    grid-template-rows:auto minmax(190px,1fr) auto;
    gap:10px 12px;
    min-height:calc(100dvh - 118px);
    align-content:start;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{grid-area:hero;order:initial;margin:0!important;min-height:116px;padding:18px 22px;align-items:center}
  body.dogeon-v26 #view-dashboard>#dl25HomeActions{grid-area:actions;order:initial;margin:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr);gap:7px!important}
  body.dogeon-v26 #view-dashboard>.two-col{grid-area:work;order:initial;margin:0!important;min-height:0}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-area:metrics;order:initial;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch}
  body.dogeon-v26 #view-dashboard>article.card{grid-area:quick;order:initial;margin:0!important;align-self:stretch}

  body.dogeon-v26 .dl26-daily-hero h1{font-size:clamp(1.45rem,2.25vw,2rem)}
  body.dogeon-v26 .dl26-daily-hero p{margin-top:6px;font-size:.88rem;line-height:1.4}
  body.dogeon-v26 .dl26-hero-actions{align-self:center}
  body.dogeon-v26 .dl26-hero-actions button{min-height:38px;padding:0 12px}

  body.dogeon-v26 .dl26-home-actions button{min-height:0!important;height:100%;padding:8px 11px!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon sub'!important;column-gap:9px!important;border-radius:13px!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.dogeon-v26 .dl26-home-actions button b{font-size:.88rem!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem!important}

  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:190px;height:100%;padding:16px 18px!important;overflow:auto}
  body.dogeon-v26 .dl26-today-card .card-head,
  body.dogeon-v26 .dl26-goal-card .card-head{margin-bottom:8px}
  body.dogeon-v26 .dl26-goal-empty{min-height:118px;padding-top:2px;gap:8px 12px}

  body.dogeon-v26 .dl26-metric{min-height:78px!important;padding:11px 13px!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.18rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:12px 14px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:7px}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:34px;font-size:.82rem}
}

/* Short laptop screens get a denser first view without shrinking text to unreadable sizes. */
@media(min-width:1180px) and (max-height:820px){
  body.dogeon-v26 .content{padding-top:12px!important;padding-bottom:14px!important}
  body.dogeon-v26 #view-dashboard.active{min-height:calc(100dvh - 96px);gap:8px 10px;grid-template-rows:auto minmax(164px,1fr) auto}
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{min-height:96px;padding:13px 18px}
  body.dogeon-v26 .dl26-eyebrow{margin-bottom:4px;font-size:.7rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.42rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.8rem;margin-top:4px}
  body.dogeon-v26 .dl26-hero-actions button{min-height:34px;font-size:.78rem}
  body.dogeon-v26 .dl26-today-card,
  body.dogeon-v26 .dl26-goal-card{min-height:164px;padding:13px 15px!important}
  body.dogeon-v26 .dl26-goal-empty{min-height:92px;grid-template-columns:34px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:34px;height:34px}
  body.dogeon-v26 .dl26-goal-empty p{font-size:.78rem}
  body.dogeon-v26 .dl26-empty-actions button{padding:6px 9px;font-size:.78rem}
  body.dogeon-v26 .dl26-metric{min-height:66px!important;padding:9px 11px!important}
  body.dogeon-v26 .dl26-metric small{font-size:.7rem!important}
  body.dogeon-v26 .dl26-metric strong{font-size:1.05rem!important}
  body.dogeon-v26 .dl26-quick-card{padding:9px 11px!important}
  body.dogeon-v26 .dl26-quick-card .card-head{margin-bottom:5px}
  body.dogeon-v26 .dl26-quick-card .quick-grid button{min-height:30px;font-size:.75rem}
}

@media(max-width:899px){
  body.dogeon-v26 .dl26-daily-hero{grid-template-columns:1fr;padding:20px 18px;gap:16px;border-radius:20px}
  body.dogeon-v26 .dl26-hero-actions{justify-content:flex-start}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:68px!important;padding:10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  body.dogeon-v26 .dl26-home-actions button span{width:30px!important;height:30px!important}
  body.dogeon-v26 .dl26-home-actions button small{font-size:.68rem}
  body.dogeon-v26 .dl26-today-card,body.dogeon-v26 .dl26-goal-card{min-height:0}
  body.dogeon-v26 .dl26-quick-card .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  body.dogeon-v26 .brand small::after{font-size:.66rem}
  body.dogeon-v26 .dl26-daily-hero h1{font-size:1.55rem}
  body.dogeon-v26 .dl26-daily-hero p{font-size:.86rem}
  body.dogeon-v26 .dl26-hero-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-hero-actions button{width:100%}
  body.dogeon-v26 .dl26-home-actions{grid-template-columns:1fr!important}
  body.dogeon-v26 .dl26-home-actions button{min-height:60px!important}
  body.dogeon-v26 #view-dashboard>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.dogeon-v26 .dl26-goal-empty{grid-template-columns:38px minmax(0,1fr)}
  body.dogeon-v26 .dl26-empty-icon{width:38px;height:38px}
  body.dogeon-v26 .dl26-empty-actions{display:grid;grid-template-columns:1fr}
  body.dogeon-v26 .dl26-empty-actions button{width:100%}
}/* Dogeon Life v2.6.3 — desktop shell width correction */

@media (min-width:900px){
  html,body{overflow-x:hidden!important}
  body.dogeon-v26 #app{
    display:grid!important;
    grid-template-columns:128px minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:'top top' 'side main'!important;
    width:100%!important;
    max-width:100vw!important;
    min-height:100dvh!important;
  }
  body.dogeon-v26 .topbar{
    grid-area:top!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 .sidebar{
    grid-area:side!important;
    position:relative!important;
    inset:auto!important;
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
    height:auto!important;
    min-height:calc(100dvh - 76px)!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content{
    grid-area:main!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.dogeon-v26 .content>.view{
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard,
  body.dogeon-v26 #view-dashboard>*{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.dogeon-v26 #view-dashboard .two-col,
  body.dogeon-v26 #view-dashboard .metric-grid,
  body.dogeon-v26 #dl25HomeActions{
    min-width:0!important;
    max-width:100%!important;
  }
  body.dogeon-v26 #view-dashboard .two-col>* ,
  body.dogeon-v26 #view-dashboard .metric-grid>* ,
  body.dogeon-v26 #dl25HomeActions>*{
    min-width:0!important;
  }
  body.dogeon-v26 .sidebar .nav{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

@media (min-width:900px) and (max-width:1279px){
  body.dogeon-v26 #app{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
  body.dogeon-v26 .sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  body.dogeon-v26 .sidebar .nav{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.dogeon-v26 .sidebar .nav span{display:none!important}
  body.dogeon-v26 .content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

@media (min-width:1180px) and (max-width:1279px){
  body.dogeon-v26 #view-dashboard.active{
    grid-template-columns:minmax(0,1.45fr) minmax(240px,.62fr)!important;
    gap:9px 10px!important;
  }
  body.dogeon-v26 #view-dashboard>#dl26DailyHero{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.dogeon-v26 .dl26-hero-actions{
    gap:6px!important;
  }
  body.dogeon-v26 .dl26-hero-actions button{
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:.78rem!important;
  }
}

@media (max-width:899px){
  body.dogeon-v26 #app{display:block!important;width:100%!important;max-width:100%!important}
  body.dogeon-v26 .content{margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* v2.6.4 — calendar and task deletion controls */
.schedule-delete{
  flex:0 0 auto;
  min-width:44px;
  min-height:32px;
  padding:5px 9px;
  border:1px solid #f0b7b2;
  border-radius:8px;
  background:#fff7f6;
  color:var(--danger);
  font-weight:800;
  font-size:.75rem;
  cursor:pointer;
}
.schedule-delete:hover{background:#fee9e7;border-color:#e58e86}
.schedule-delete:focus-visible{outline:3px solid rgba(180,35,24,.24);outline-offset:2px}
.schedule-delete:disabled{opacity:.55;cursor:wait}
.calitem{display:flex;align-items:center;gap:3px;padding-right:2px}
.calitem>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.schedule-delete.compact{
  min-width:24px;
  min-height:24px;
  padding:0;
  border:0;
  border-radius:6px;
  background:rgba(255,255,255,.78);
  line-height:24px;
  font-size:1rem;
}
@media(max-width:680px){
  .rowitem{align-items:flex-start;flex-wrap:wrap}
  .rowitem .schedule-delete{min-width:52px;min-height:36px}
  .schedule-delete.compact{min-width:26px;min-height:26px;line-height:26px}
}


/* Larger mobile navigation for browser, PWA and Android TWA. */
@media(max-width:899px){
  body.dogeon-v25 .bottom-nav{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:110!important;
    box-sizing:border-box!important;
    height:80px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:2px!important;
    padding:6px!important;
    border:1px solid var(--dl25-line)!important;
    border-radius:20px!important;
  }
  body.dogeon-v25 .bottom-nav button{
    min-width:0!important;
    min-height:66px!important;
    padding:6px 0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#667773!important;
  }
  body.dogeon-v25 .bottom-nav .dl22-nav-icon{
    display:block!important;
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.dogeon-v25 .bottom-nav button small{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    white-space:nowrap;
  }
  body.dogeon-v25 .bottom-nav button.active{
    color:var(--dl25-accent)!important;
    background:var(--dl25-accent-soft)!important;
  }
  body.dogeon-v25 .bottom-nav button:focus-visible{
    outline:2px solid var(--dl25-accent);
    outline-offset:1px;
  }
  body.dogeon-v25 .content{padding-bottom:calc(116px + env(safe-area-inset-bottom))!important}
  body.dogeon-v25 .advisor-fab{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}
/* Dogeon Life v2.24.0 — private document vault */
body.dogeon-v28 .dl28-vault-view{min-width:0}
body.dogeon-v28 .dl28-vault-head{align-items:flex-start}
body.dogeon-v28 .dl28-quota-card{margin-bottom:12px;padding:18px 20px!important}
body.dogeon-v28 .dl28-quota-row{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.dogeon-v28 .dl28-quota-row>div{display:grid;gap:3px}
body.dogeon-v28 .dl28-quota-row small{color:#71807d;font-weight:750}
body.dogeon-v28 .dl28-quota-row strong{font-size:1.35rem;letter-spacing:-.035em}
body.dogeon-v28 .dl28-meter{height:10px;margin:13px 0 8px;background:#e9efee;border-radius:999px;overflow:hidden}
body.dogeon-v28 .dl28-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d8b7d,#0f766e);border-radius:inherit;transition:width .2s ease}
body.dogeon-v28 .dl28-quota-note{margin:0;font-size:.8rem}
body.dogeon-v28 .dl28-upload-card{padding:14px!important;margin-bottom:12px}
body.dogeon-v28 .dl28-drop-zone{display:grid;place-items:center;text-align:center;gap:5px;min-height:112px;border:1.5px dashed #b9d7d2;border-radius:16px;background:#f7fbfa;cursor:pointer;padding:18px;outline:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
body.dogeon-v28 .dl28-drop-zone:hover,body.dogeon-v28 .dl28-drop-zone:focus,body.dogeon-v28 .dl28-drop-zone.drag{border-color:#0f766e;background:#eef8f5;transform:translateY(-1px)}
body.dogeon-v28 .dl28-drop-zone b{font-size:1rem;color:#17312b}
body.dogeon-v28 .dl28-drop-zone span{font-size:.82rem;color:#71807d}
body.dogeon-v28 .dl28-status{min-height:20px;margin-top:9px;font-size:.82rem}
body.dogeon-v28 .dl28-status.error{color:#b33a2b;font-weight:750}
body.dogeon-v28 .dl28-files-card{padding:18px!important}
body.dogeon-v28 .dl28-file-list{display:grid;gap:8px}
body.dogeon-v28 .dl28-file{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e3eae8;border-radius:13px;background:#fff;min-width:0}
body.dogeon-v28 .dl28-file-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e8f5f2;color:#0f766e;font-weight:900}
body.dogeon-v28 .dl28-file-copy{min-width:0;display:grid;gap:3px}
body.dogeon-v28 .dl28-file-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
body.dogeon-v28 .dl28-file-copy small{color:#71807d;font-size:.74rem}
body.dogeon-v28 .dl28-file-actions{display:flex;gap:6px}
body.dogeon-v28 .dl28-file-actions button{min-height:34px;padding:0 10px;border-radius:10px;font-size:.78rem;font-weight:800}
body.dogeon-v28 .dl28-file-actions .danger{color:#a33d30;border-color:#edcbc4}
body.dogeon-v28 .dl28-empty{display:grid;place-items:center;text-align:center;gap:4px;min-height:140px;color:#71807d}
body.dogeon-v28 .dl28-empty b{color:#334b46}
body.dogeon-v28 .dl28-load-more-wrap{display:flex;justify-content:center;padding-top:12px}
body.dogeon-v28 #vaultLoadMoreBtn{min-width:150px}
body.dogeon-v28 #vaultMoreBtn b{color:#0f766e!important}
@media(max-width:899px){
  body.dogeon-v28 .dl28-vault-head .actions{width:100%}
  body.dogeon-v28 .dl28-quota-row{align-items:start;flex-direction:column;gap:6px}
  body.dogeon-v28 .dl28-drop-zone{min-height:96px}
}
@media(max-width:560px){
  body.dogeon-v28 .dl28-file{grid-template-columns:34px minmax(0,1fr);grid-template-areas:'icon copy' 'actions actions'}
  body.dogeon-v28 .dl28-file-icon{grid-area:icon;width:34px;height:34px}
  body.dogeon-v28 .dl28-file-copy{grid-area:copy}
  body.dogeon-v28 .dl28-file-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;margin-top:3px}
  body.dogeon-v28 .dl28-file-actions button{width:100%}
}
#view-diary{max-width:1280px;margin-inline:auto}
#view-diary .section-head p{margin:8px 0 0}
.diary-editor{border:0;padding:0;margin:0;min-width:0}
.diary-datebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 10px}
.diary-datebar label{margin:0;font-size:13px;font-weight:700}
.diary-datebar input{width:auto;min-width:145px;max-width:190px}
.diary-datebar button{min-height:44px;min-width:44px}
.diary-columns{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
#view-diary .card{border:1px solid #dae5df;border-radius:20px;padding:24px;background:#fff}
#view-diary h2{font-size:20px;margin:4px 0 18px;color:#173c33}
#view-diary .eyebrow{color:#55776b;font-size:11px;letter-spacing:0.12em}
.diary-missions{background:linear-gradient(155deg,#f4faf5,#fff)!important}
.diary-missions .card-head{gap:12px;align-items:center}
#diaryProgressText{white-space:nowrap;font-size:14px;color:#1a6b50}
#diaryProgress{display:block;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;accent-color:#25785c}
#diaryProgress::-webkit-progress-bar{background:#e3ece7;border-radius:20px}
#diaryProgress::-webkit-progress-value{background:#25785c;border-radius:20px}
#diaryProgressHint{font-size:13px;margin:12px 0 20px}
.diary-add{display:flex;gap:8px;margin-bottom:16px}.diary-add input{flex:1;min-width:0}.diary-add button{flex-shrink:0}
.diary-mission{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eee7;padding:8px 0;min-height:52px}
.diary-mission label{display:flex;align-items:center;gap:12px;flex:1;margin:0;cursor:pointer;min-width:0;min-height:44px}
.diary-mission input[type=checkbox]{appearance:auto!important;accent-color:#25785c;width:22px!important;height:22px;flex:0 0 22px;margin:0}
.diary-mission span{overflow-wrap:anywhere;line-height:1.55}.diary-mission.is-done span{text-decoration:line-through;color:#6e8278}
.diary-mission button{font-size:12px;min-height:44px;padding:8px}
#diaryImport{margin-top:20px;min-height:44px;width:100%}
.diary-help{font-size:12px;line-height:1.7;color:#6b7e73;margin:12px 0 0}
.diary-reflection label{display:block;margin:18px 0 8px;font-weight:700;font-size:14px}.diary-reflection label small{display:block;font-weight:400;color:#748279;margin-top:4px}
.diary-reflection textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;background:#fcfdfb;border:1px solid #dce5dd;border-radius:12px;padding:12px;font:inherit;line-height:1.7}
#view-diary :is(input,textarea,button):focus-visible{outline:3px solid #91c7ad;outline-offset:2px}
.diary-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;margin-bottom:16px}.diary-savebar b{font-size:13px}.diary-savebar small{display:block;color:#748279;margin-top:5px;font-size:12px}.diary-savebar button{min-height:44px;flex-shrink:0}
.diary-error{color:#a32b25}.diary-empty{color:#758277;font-size:14px;line-height:1.8;padding:20px 0}
.diary-history .card-head{gap:8px;flex-wrap:wrap}.diary-history .card-head span{font-size:12px}
.diary-history-item{display:grid;grid-template-columns:100px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;padding:16px 12px!important;background:transparent;border:0;border-bottom:1px solid #e6ede7;border-radius:8px!important;color:#31483c;min-height:52px;font:inherit}.diary-history-item time{font-size:13px}.diary-history-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diary-history-item small{color:#758477}.diary-history-item.is-current{background:#eff6f0}
.diary-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.diary-columns{grid-template-columns:minmax(0,1fr);gap:16px}#view-diary .card{padding:18px;border-radius:16px}.diary-datebar{gap:8px}.diary-datebar label{width:100%}.diary-datebar input{flex:1;max-width:none;width:130px}.diary-history-item{grid-template-columns:1fr auto;gap:6px}.diary-history-item span{grid-column:1 / -1;grid-row:2}.diary-savebar{padding:14px 0}.diary-savebar button{padding-inline:14px}}
#calendarDateInfo{
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid #d1e6e1;
  border-radius:16px;
  background:#f0f9f6;
  color:#193d36;
}
.calendar-date-main{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.calendar-date-label{font-size:12px;font-weight:700;color:#52736b}
#calendarSolarDate{font-size:17px;line-height:1.5;letter-spacing:-.025em}
.calendar-date-details{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:14px;line-height:1.5}
#calendarLunarDate{font-weight:750}
.calendar-term{border-radius:8px;background:#dcefe8;padding:3px 9px;color:#116b59;font-weight:750}
#calendarNextTerm{color:#526b64}
#dl26DailyHero .dl26-eyebrow{flex-wrap:wrap}
#homeDateInfo{margin:9px 0 14px;gap:8px 12px;color:#193d36}
#homeDateInfo [data-calendar-lunar]{font-weight:750}
#homeDateInfo [data-calendar-next-term]{color:#526b64}
@media(max-width:520px){
  #calendarDateInfo{padding:14px}
  .calendar-date-main{flex-direction:column;align-items:flex-start;gap:2px}
  .calendar-date-details{gap:8px 12px}
  #calendarNextTerm{flex-basis:100%}
  #homeDateInfo [data-calendar-next-term]{flex-basis:100%}
}
/* Also hide the public badge if an older cached page injects its frame. */
iframe#nl-badge-frame{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Home dashboard and six-week calendar. */
body.dogeon-v26 .topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;box-sizing:border-box!important;padding:10px 16px!important;background:#fff!important}
body.dogeon-v26 .brand{display:flex!important;min-width:0!important}
body.dogeon-v26 .brand b{display:block!important;font-size:21px!important;line-height:1.3!important;font-weight:850!important;letter-spacing:-.04em!important;white-space:nowrap;color:#123e33!important}
body.dogeon-v26 .brand small,body.dogeon-v26 .brand .logo{display:none!important}
@media(max-width:760px){
  body.dogeon-v26 .topbar{position:relative!important;inset:auto!important;padding:10px 12px!important}
  body.dogeon-v26 .top-actions>*:not(#loginBtn){display:none!important}
  body.dogeon-v26 .top-actions #loginBtn{min-height:38px;padding:7px 12px}
}
body.dogeon-v26 #view-dashboard.active{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important}
body.dogeon-v26 #view-dashboard>#homeMonthCard{order:0!important}
body.dogeon-v26 #view-dashboard>#dl26DailyHero{display:none!important}
body.dogeon-v26 #view-dashboard>.two-col{order:1!important;display:flex!important;flex-direction:column!important;margin:0!important}
body.dogeon-v26 #view-dashboard .dl26-today-card{display:none!important}
body.dogeon-v26 #view-dashboard .dl26-goal-card{height:auto!important;min-height:0!important;padding:16px!important}
body.dogeon-v26 #view-dashboard>#dl25HomeActions{order:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;margin:0!important}
@media (max-width:899px), (hover:none) and (pointer:coarse){
  body.dogeon-v26 #view-dashboard > .two-col{order:-2!important}
  body.dogeon-v26 #view-dashboard > #advisorDailyHome{order:-1!important}
}
body.dogeon-v26 #view-dashboard>.metric-grid{order:3!important}
body.dogeon-v26 #view-dashboard>article.card{order:4!important}
#homeMonthCard{height:392px;flex:0 0 392px;box-sizing:border-box;display:grid;grid-template-rows:36px 54px 20px minmax(0,1fr);gap:4px;padding:12px;border:1px solid #d1e6e1;border-radius:18px;background:#fff;min-width:0;overflow:hidden}
.home-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#homeMonthTitle{font-size:20px;line-height:1.2;margin:0;letter-spacing:-.04em;color:#173d35;white-space:nowrap}
.home-month-controls{display:flex;gap:4px}
.home-month-controls button{min-width:36px;height:36px;padding:0 8px;border:1px solid #dce8e4;border-radius:10px;background:#f7fbf9;color:#18594c;font-size:14px;font-weight:750}
.home-month-controls [data-home-month]{font-size:25px}
#homeMonthCard #homeDateInfo{margin:0!important;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:12px;line-height:1.35;min-width:0;color:#52736b}
#homeMonthCard #homeDateInfo time{font-size:12px;font-weight:650;color:#315a4f}
#homeMonthCard #homeDateInfo>div{display:flex;flex-wrap:wrap;column-gap:9px;row-gap:1px}
#homeMonthCard #homeDateInfo [data-calendar-lunar]{font-weight:800;color:#174e40}
#homeMonthCard #homeDateInfo [data-calendar-next-term]{flex-basis:auto}
.home-month-weekdays,#homeMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.home-month-weekdays{font-size:12px;color:#70817b;align-items:center}
.home-month-weekdays>span:first-child{color:#b34b4b}
.home-month-weekdays>span:last-child{color:#3e6fa7}
#homeMonthGrid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:0}
#homeMonthGrid .home-date{min-width:0;min-height:0;padding:2px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #edf1ef;border-radius:8px;background:#fff;color:#243d36;font-size:15px;line-height:1.15;box-shadow:none;cursor:pointer}
#homeMonthGrid .home-date small{font-size:11px;line-height:1.1;color:#0f766e;font-weight:700}
#homeMonthGrid .sunday{color:#b34b4b}
#homeMonthGrid .saturday{color:#3e6fa7}
#homeMonthGrid .other{background:#f7f9f8;color:#9ca9a4}
#homeMonthGrid .today{background:#0f766e;color:white;border-color:#0f766e;font-weight:800}
#homeMonthGrid .today small{color:#fff}
#homeMonthGrid .home-date:focus-visible,.home-month-controls button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
#homeDayDialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:80dvh;padding:18px;border:1px solid #d1e6e1;border-radius:20px;background:white;color:#193d36;overflow:auto}
#homeDayDialog::backdrop{background:rgba(15,35,28,.4)}
.home-day-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
#homeDayTitle{font-size:18px;margin:0}
.home-day-head button{min-width:40px;min-height:40px;border:0;border-radius:10px;background:#f0f5f3;color:#315a4f}
#homeDayRows{display:grid;gap:10px;max-height:48dvh;overflow:auto}
.home-day-item{border:1px solid #e0ebe6;border-radius:12px;padding:12px;min-width:0}
.home-day-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#60766d}
.home-day-item h3{font-size:16px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}
.home-day-item p{font-size:14px;line-height:1.5;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.home-day-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.home-day-actions button{min-height:44px;padding:10px 14px}
@media(max-width:520px){
  body.dogeon-v26 #dl25HomeActions button{grid-template-columns:1fr!important;grid-template-areas:'icon' 'title'!important;justify-items:center;text-align:center;padding:9px 4px!important;gap:5px!important;min-height:65px!important}
  body.dogeon-v26 #dl25HomeActions button small{display:none!important}
}
.advisor-daily-home{padding:18px 20px;border:1px solid #c9dfd9;border-radius:22px;background:#f4faf7;margin:16px 0;color:#153b34}
body.dogeon-v26 #view-dashboard>.advisor-daily-home{order:1!important;margin:0}
.advisor-daily-home h2{font-size:18px;margin:0}.advisor-daily-home p{white-space:pre-line;line-height:1.65;margin:10px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.advisor-daily-home small{color:#55736b;font-size:12px}
#advisorToday,#advisorMonth{white-space:pre-line;line-height:1.7}.advisor-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.advisor-history:empty{display:none}.advisor-history p{white-space:pre-wrap;line-height:1.55;font-size:14px;padding:12px;border-radius:12px;background:#f1f6f4}.advisor-history p.user{background:#e2efea;margin-left:24px}

.advisor-input-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.advisor-input-head label{margin:0;font-weight:700}.advisor-input-head button{min-height:44px;padding:8px 14px;white-space:nowrap;font-size:14px}

#advisorHistory{max-height:340px}#advisorHistoryMeta{font-size:12px;margin:6px 0}#advisorEarlier{margin:10px 0}.advisor-save-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0;color:#52736b}#advisorClearHistory,#advisorRetrySave{min-height:44px}

.advisor-person-picker{margin:16px 0;padding:14px;border:1px solid #c9dcd6;border-radius:14px;background:#f3f8f6}.advisor-person-picker>label{display:block;font-weight:700;margin-bottom:8px}.advisor-person-picker select{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #abc6bc;border-radius:9px;font-size:16px;background:#fff;color:#193e34}.advisor-person-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.advisor-person-actions button{min-height:40px}#advisorPersonSummary{white-space:pre-line;line-height:1.55;font-size:13px;margin:8px 0 0}
[data-goal-detail]{cursor:pointer}[data-goal-detail]:hover{border-color:#0f766e}[data-goal-detail]:focus-visible{outline:3px solid #0f766e;outline-offset:3px}
#goalDetailDialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:#163b35;border:1px solid #d7e6df;border-radius:18px;background:#fff}
#goalDetailDialog::backdrop{background:#102e2870}#goalDetailDialog *{box-sizing:border-box}.goal-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goal-detail-head h2{font-size:22px;margin:6px 0 18px;overflow-wrap:anywhere}.goal-detail-head small{font-size:14px;color:#52665f}
#goalDetailDialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px;font-weight:600}#goalDetailDialog input,#goalDetailDialog textarea{font:inherit;font-size:16px;width:100%;min-width:0;padding:11px;border:1px solid #b5c9c1;border-radius:9px;background:#fff;color:#183a30}#goalDetailDialog textarea{resize:vertical}
.goal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-detail-summary{display:grid;gap:10px;background:#eef6f2;padding:16px;border-radius:12px}.goal-detail-summary strong{font-size:20px}.goal-detail-summary span{font-size:14px}.goal-detail-summary progress{width:100%;height:12px;accent-color:#0f766e}#goalDetailDialog button{min-height:44px;font-size:14px}#goalDetailDialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}#goalDetailStatus{min-height:24px;font-size:14px;line-height:1.5}
.goal-detail-history{border-top:1px solid #d7e6df;margin-top:24px;padding-top:12px}.goal-detail-history h3{font-size:18px}.goal-detail-history p{font-size:14px;line-height:1.6}.goal-detail-history>ol{list-style:none;margin:0;padding:0}.goal-detail-history>ol>li{border-left:3px solid #a4c9bb;margin:16px 0;padding:4px 0 8px 14px;font-size:14px;overflow-wrap:anywhere}.goal-detail-history time{color:#52665f}.goal-detail-history ul{list-style:none;padding:0}.goal-detail-history ul li{margin-top:12px;white-space:pre-wrap;line-height:1.55}.goal-change-before{color:#62756c}.goal-history-note{white-space:pre-wrap;background:#f2f7f4;padding:10px;border-radius:8px}
@media(max-width:480px){#goalDetailDialog{padding:18px}.goal-detail-fields{grid-template-columns:1fr;gap:0}}

#goalDetailDialog .goal-checklist{margin:20px 0;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalDetailDialog .goal-checklist h3{margin:0 0 10px}#goalDetailDialog .goal-checklist .muted{font-size:13px;line-height:1.65}#goalChecklistSummary{font-weight:700;font-size:15px}#goalDetailDialog .goal-step{padding:14px;margin:12px 0;background:white;border:1px solid #d7e6df;border-radius:10px}#goalDetailDialog .goal-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#goalDetailDialog .goal-step-check{display:flex;flex-direction:row;align-items:center;margin:0;min-height:44px;gap:10px;cursor:pointer}#goalDetailDialog input[type=checkbox]{width:24px;height:24px;accent-color:#0f766e;padding:0;flex-shrink:0}#goalDetailDialog .goal-step-stamp{display:block;color:#46685c;margin-top:10px;line-height:1.5}#goalDetailDialog .goal-step details summary{cursor:pointer;min-height:36px;line-height:1.6;font-size:13px;color:#47685a;overflow-wrap:anywhere}#goalDetailDialog input[readonly]{background:#edf3ef;color:#46685c}#goalDetailDialog button:focus-visible,#goalDetailDialog summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}#goalDetailDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:480px){#goalDetailDialog .goal-checklist{padding:12px}#goalDetailDialog .goal-step{padding:12px}}

#goalDetailDialog [hidden]{display:none!important}#goalParentNav button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;margin-bottom:16px}#goalChildrenSection{margin:0 0 20px;padding:16px;background:#f3f8f5;border:1px solid #d7e6df;border-radius:12px}#goalChildrenSection h3{margin-top:0}#goalChildren{display:grid;gap:10px}#goalDetailDialog .goal-child{display:grid;gap:9px;width:100%;padding:14px;text-align:left;background:white;border:1px solid #c9ded3;border-radius:10px;color:#163b35;cursor:pointer}#goalDetailDialog .goal-child strong{overflow-wrap:anywhere;line-height:1.5}#goalDetailDialog .goal-child span{font-size:13px;color:#52665f}#goalDetailDialog .goal-child progress{width:100%;height:10px;accent-color:#0f766e}

#goalDetailDialog .goal-step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}#goalDetailDialog .goal-step-actions .goal-step-stamp{margin-top:0}#goalDetailDialog [data-step-schedule]{border:1px solid #0f766e;border-radius:8px;background:#eef8f4;color:#0b5d50;padding:7px 11px;white-space:nowrap}@media(max-width:480px){#goalDetailDialog .goal-step-actions{align-items:flex-start;flex-direction:column}}
#sajuRecordsDialog{width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d4dded;border-radius:22px;padding:24px;background:#f8faff;color:#18243c;box-sizing:border-box}#sajuRecordsDialog::backdrop{background:#13203e99}#sajuRecordsDialog h2,#sajuRecordsDialog h3{margin:6px 0 14px}#sajuRecordsDialog section,#srForm{margin-top:22px;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:16px}#sajuRecordsDialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}#sajuRecordsDialog input:not([type=checkbox]),#sajuRecordsDialog select,#sajuRecordsDialog textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #c9d3e4;border-radius:10px;background:white;color:#18243c}#sajuRecordsDialog button{min-height:42px;border-radius:10px;padding:9px 13px;cursor:pointer}#sajuRecordsDialog .primary{background:#265bd8;color:white}#sajuRecordsDialog .sr-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#sajuRecordsDialog .sr-head small{color:#526994}.sr-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sr-person{padding:16px 0;border-bottom:1px solid #e0e6ef}.sr-person p{margin:6px 0;font-size:13px;color:#526078}.sr-person small{display:inline-block;padding:3px 7px;background:#edf2ff;border-radius:5px}.sr-result{line-height:1.75;overflow-wrap:anywhere}.sr-table{overflow-x:auto}.sr-table table{border-collapse:collapse;width:100%;min-width:300px}.sr-table th,.sr-table td{padding:8px;text-align:center;border-bottom:1px solid #dce3ef}.sr-table caption{text-align:left}.sr-history{display:block;width:100%;text-align:left;margin:8px 0;background:#eef3fc;border:0}#sajuRecordsDialog .sr-check{flex-direction:row;align-items:center}#srStatus{color:#234b92;white-space:pre-wrap}#sajuRecordsDialog [hidden]{display:none!important}#sajuRecordsDialog .muted{color:#626e83;font-size:13px;line-height:1.6}#sajuRecordsDialog button:disabled{opacity:.55;cursor:wait}@media(max-width:540px){#sajuRecordsDialog{padding:15px}.sr-grid{grid-template-columns:1fr}#sajuRecordsDialog section,#srForm{padding:13px}.sr-head h2{font-size:23px}}
#sajuRecordsDialog .sr-person-open{display:block;width:100%;text-align:left;border:1px solid #dce3ef;background:#f7f9fe;color:#18243c;padding:15px;line-height:1.6}
#sajuRecordsDialog .sr-person-open:hover{border-color:#265bd8;background:#eef3ff}
#sajuRecordsDialog button:focus-visible{outline:3px solid #6589dd;outline-offset:2px}
.sr-person-name{font-weight:800;font-size:18px}.sr-person-meta,.sr-person-link{display:block;font-size:13px;margin-top:5px}.sr-person-link{color:#265bd8;font-weight:700}
#srBack{background:#edf2ff;color:#234b92;border:0;margin-bottom:18px}
#srDetailTitle{font-size:23px;overflow-wrap:anywhere}.sr-natal-scroll{overflow-x:auto;margin:18px 0 10px}.sr-natal{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;font-size:13px}.sr-natal caption{font-size:12px;color:#626e83;text-align:left;margin-bottom:8px}.sr-natal th{font-weight:700;background:#f0f3f9;padding:10px 2px}.sr-natal th:first-child{width:42px}.sr-natal td{padding:9px 2px;overflow-wrap:anywhere;border-radius:7px}.sr-natal .sr-glyph b{display:block;font-size:32px;line-height:1.4}.sr-natal .sr-glyph small{display:block;font-size:12px}.sr-wood{background:#e1f3e8;color:#175e36}.sr-fire{background:#ffe5e4;color:#a72429}.sr-earth{background:#fff1d2;color:#765008}.sr-metal{background:#eef0f5;color:#414b63}.sr-water{background:#e0edff;color:#1e4b88}.sr-elements{display:flex;gap:7px;flex-wrap:wrap}.sr-elements span{border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700}.sr-day-master{font-size:16px}.sr-detail-note{margin-top:18px;border-top:1px solid #e0e6ef;padding-top:8px}.sr-detail-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.sr-incomplete{padding:14px;background:#fff7e8;border-radius:10px;line-height:1.7;font-size:14px}
@media(max-width:400px){.sr-natal{font-size:11px;border-spacing:2px}.sr-natal th:first-child{width:33px}.sr-natal .sr-glyph b{font-size:27px}.sr-natal .sr-glyph small{font-size:10px}}


#srFormStatus{min-height:1.5em;white-space:pre-wrap;overflow-wrap:anywhere;color:#234b92;font-weight:600;line-height:1.6;margin:14px 0 8px}
/* Public holidays remain visible even on busy days and at phone widths. */
#homeMonthCard{height:452px;flex-basis:452px}
#homeMonthGrid .home-date.holiday{color:#b42335;background:#fff4f4;border-color:#f3d1d6}
#homeMonthGrid .home-date.holiday.today{outline:2px solid #0f766e;outline-offset:-2px;font-weight:800}
#homeMonthGrid .home-holiday-label{display:block;max-width:100%;font-size:10px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeMonthGrid .holiday.today small{color:#0f766e}
#monthView .day.holiday .daynum,#yearView .mini-cell.holiday{color:#b42335!important;font-weight:800}
#monthView .sunday .daynum,#monthView .weekday.sunday,#yearView .mini-cell.sunday{color:#b42335!important}
#monthView .saturday .daynum,#monthView .weekday.saturday,#yearView .mini-cell.saturday{color:#3465a4!important}
#monthView .day.holiday{background:#fff5f5}
#monthView .holiday-label{font-size:11px;line-height:1.35;color:#b42335;font-weight:750;overflow-wrap:anywhere;margin:0 2px 4px}
.source.holiday{color:#b42335;background:#fff0f2}
#homeDayRows .home-day-item.holiday{border-color:#f3c5cc;background:#fff5f5;color:#a21c30}
.mini-holidays{font-size:11px;line-height:1.6;color:#b42335;margin-top:6px;overflow-wrap:anywhere}
.holiday-notice{display:block;color:#64756d;font-size:11px;line-height:1.5;margin:4px 0 8px}
#homeHolidayNotice{order:0!important;margin:-8px 4px 0}
#editorHolidayNotice:empty{display:none}
/* Private development inbox */
[data-dev-count]{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:12px;background:#b42318;color:#fff;font-size:12px;font-weight:700}[data-dev-count][hidden]{display:none}
#devReportsBtn{white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:5px;min-height:40px}
#devReportsDialog{width:min(960px,calc(100vw - 24px));max-width:960px;max-height:92dvh;padding:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;color:#172b4d;box-sizing:border-box}
#devReportsDialog::backdrop{background:rgba(15,23,42,.5)}
#devReportsDialog *{box-sizing:border-box}#devReportsDialog .dev-shell{padding:22px}#devReportsDialog button{cursor:pointer;min-height:42px;font:inherit}#devReportsDialog button:disabled{opacity:.6;cursor:wait}
.dev-head,.dev-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-head h2{margin:2px 0;font-size:24px}.dev-head small{font-size:11px;letter-spacing:.12em;color:#43648c}.dev-head button,.dev-tools button{border:1px solid #c4cedb;background:#fff;color:#172b4d;border-radius:10px;padding:8px 14px}
.dev-help,.dev-foot{font-size:13px;line-height:1.7;color:#526579}.dev-tools{padding:10px 0;border-bottom:1px solid #dbe3ec}.dev-tools select{width:auto;max-width:180px;margin-left:6px;padding:9px;border:1px solid #c4cedb;border-radius:8px;background:#fff;color:#172b4d}
#devReportStatus{min-height:20px;font-size:13px;color:#215b98}#devReportStatus.error{color:#b42318}
.dev-layout{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:22px}.dev-row{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;margin:0 0 9px;padding:14px;border:1px solid #d3deeb;border-radius:12px;background:#fff;color:#172b4d}.dev-row.selected{border-color:#1f5dbb;background:#edf4ff;box-shadow:inset 3px 0 #1f5dbb}.dev-row strong{font-size:14px;overflow-wrap:anywhere}.dev-row small,.dev-meta{font-size:12px;color:#4e6480}.dev-row .dev-meta{color:#1856a3;font-weight:600}
#devReportPanel{min-width:0;padding:18px;background:#fff;border:1px solid #dbe3ec;border-radius:12px}#devReportPanel[hidden]{display:none}#devReportPanel h3{margin:8px 0 14px;font-size:18px;overflow-wrap:anywhere}.dev-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.dev-question{background:#fff6df;border:1px solid #efcf8c;padding:14px;border-radius:10px;margin:16px 0}.dev-question p{margin-bottom:0}#devReportDetail details{margin:14px 0;color:#526579}#devReportDetail summary{cursor:pointer;font-size:13px}
.dev-stages{margin:12px 0 16px;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#f8fafc}.dev-stages h4{margin:0 0 10px;font-size:14px}.dev-stages ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.dev-stages li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border-left:4px solid #94a3b8;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.dev-stages li.done{border-left-color:#16803b}.dev-stages li.active{border-left-color:#1f5dbb;background:#edf4ff}.dev-stages li.blocked{border-left-color:#b45309;background:#fff7ed}.dev-stage-badge{font-weight:700;white-space:nowrap}.dev-stages li.done .dev-stage-badge{color:#126b34}.dev-stages li.active .dev-stage-badge{color:#1856a3}.dev-stages li.blocked .dev-stage-badge{color:#9a4808}
.dev-reply{border-bottom:1px solid #e1e8ef;padding:10px 0}.dev-reply small{font-size:12px;color:#526579}.dev-result{border-left:3px solid #1f5dbb;padding-left:12px;background:#f5f8ff}.dev-result b{font-size:12px}.dev-result p{margin-top:4px}#devReplyForm{margin-top:20px;display:flex;flex-direction:column;gap:8px}#devReplyForm label{font-size:14px;font-weight:700}#devReplyForm textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;color:#172b4d;border:1px solid #aebed1;border-radius:10px;padding:12px;background:#fff}#devReplyForm small{color:#526579;font-size:12px}#devReplyForm button{align-self:flex-end;border:0;border-radius:10px;background:#1f5dbb;color:#fff;padding:10px 18px}
#devReportsNotice{position:fixed;z-index:800;right:16px;bottom:100px;max-width:calc(100vw - 32px);padding:12px 14px;background:#173b72;color:#fff;border-radius:12px;box-shadow:0 5px 25px #172b4d33;font-size:14px;display:flex;align-items:center;gap:12px}#devReportsNotice[hidden]{display:none}#devReportsNotice button{border:0;border-radius:7px;background:#fff;color:#173b72;min-height:36px;padding:6px 10px;cursor:pointer}
@media(max-width:650px){#devReportsDialog .dev-shell{padding:16px}.dev-layout{grid-template-columns:1fr;gap:12px}#devReportList{display:flex;gap:8px;overflow-x:auto;max-height:200px;align-items:stretch}.dev-row{flex:0 0 215px;margin:0}#devReportPanel{padding:14px}#devReportsBtn{font-size:12px!important;padding:6px 8px!important}#devReportsNotice{bottom:calc(90px + env(safe-area-inset-bottom))}}
.dt-root{font:inherit;color:inherit;max-width:960px;margin:0 auto;padding:20px}.dt-root button{font:inherit;cursor:pointer;background:#fff;border:1px solid #ccd3da;border-radius:8px;padding:8px 12px;color:#24334a}.dt-root button:hover{background:#f1f5fa}.dt-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.dt-head h2,.dt-head h3{margin:10px 0}.dt-trips{display:flex;gap:8px;overflow:auto;padding:12px 0}.dt-trips .active{background:#dcecff;border-color:#3377aa}.dt-summary{border:1px solid #dde3e8;border-radius:12px;padding:16px;margin:8px 0 20px}.dt-summary h3{margin:0}.dt-summary progress{width:100%;height:12px}.dt-actions{display:flex;gap:8px;margin-top:8px}.dt-root .dt-danger{color:#a22323}.dt-items{display:grid;gap:10px}.dt-item{border:1px solid #e0e5ec;border-radius:10px;padding:12px}.dt-item label{display:flex;align-items:center;gap:10px;font-weight:600}.dt-item .done{text-decoration:line-through;opacity:.65}.dt-item small{display:block;margin-top:6px;color:#607083}.dt-message{color:#197045}.dt-dialog{border:0;border-radius:14px;padding:0;max-width:460px;width:calc(100% - 24px);box-shadow:0 12px 50px #0004}.dt-dialog::backdrop{background:#0008}.dt-form{display:grid;gap:10px;padding:20px}.dt-form label{display:grid;gap:5px}.dt-form input,.dt-form select,.dt-form textarea{font:inherit;padding:8px;border-radius:8px;border:1px solid #b7c2cf}.dt-form footer{display:flex;justify-content:flex-end;gap:8px}
.dt-timetable{margin:20px 0 28px}.dt-day{border:1px solid #dde3e8;border-radius:12px;margin:12px 0;overflow:hidden}.dt-day h4{margin:0;padding:12px 16px;background:#edf4fc;color:#24334a}.dt-table-wrap{overflow-x:auto}.dt-timetable table{width:100%;border-collapse:collapse;min-width:420px;text-align:left}.dt-timetable th,.dt-timetable td{padding:12px;border-bottom:1px solid #e0e5ec;vertical-align:top}.dt-timetable th{font-size:.9em;color:#607083}.dt-timetable td:first-child{white-space:nowrap}.dt-timetable small{display:block;color:#607083;margin-top:4px}.dt-timetable p{white-space:pre-wrap;overflow-wrap:anywhere}.dt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dt-calendar{margin:20px 0;border:1px solid #d7e2ef;border-radius:14px;padding:16px;background:#fff;color:#24334a}.dt-calendar .dt-head{flex-wrap:wrap}.dt-calendar .dt-actions{align-items:center;flex-wrap:wrap}.dt-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#d7e2ef;border:1px solid #d7e2ef;border-radius:8px;overflow:hidden}.dt-weekday{text-align:center;background:#f1f5fa;padding:10px 0;font-weight:600}.dt-weekday:first-child{color:#b32b36}.dt-calendar-day,.dt-calendar-blank{background:#fff;min-height:110px;min-width:0;padding:4px}.dt-calendar-day.in-trip{background:#edf5ff}.dt-calendar-day.selected{box-shadow:inset 0 0 0 2px #3377aa}.dt-root .dt-date{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;padding:6px;text-align:left;min-height:36px}.dt-date[aria-current=date] span:first-child{background:#245e99;color:#fff;border-radius:50%;padding:3px 6px}.dt-date-plus{color:#3377aa}.dt-root .dt-calendar-event{display:block;width:100%;border:0;border-left:3px solid #3377aa;border-radius:4px;background:#dcecff;padding:5px;margin:3px 0;text-align:left;overflow-wrap:anywhere;font-size:.82em}.dt-calendar-hint{font-size:.88em;color:#607083}.dt-schedule-details{margin:20px 0}.dt-schedule-details summary{cursor:pointer;font-weight:600;padding:10px 0}@media(max-width:540px){.dt-root{padding:10px}.dt-calendar{padding:8px}.dt-calendar-day,.dt-calendar-blank{min-height:85px;padding:2px}.dt-root .dt-date{padding:4px}.dt-root .dt-calendar-event{font-size:.72em;padding:3px}.dt-date-plus{display:none}}
.dt-day-space,.dt-day-action{min-height:52px;padding:4px 0}.dt-day-space{border-bottom:1px dashed #bdcddd}.dt-root .dt-lane-label{display:flex;justify-content:space-between;gap:3px;width:100%;padding:4px;border:0;background:transparent;font-size:.78em;font-weight:700;text-align:left}.dt-day-space .dt-lane-label{color:#14695b}.dt-day-action .dt-lane-label{color:#245e99}.dt-root .dt-calendar-place{display:block;width:100%;border:0;border-left:3px solid #278975;border-radius:4px;background:#e1f2ec;color:#155c4d;padding:5px;margin:3px 0;text-align:left;overflow-wrap:anywhere;font-size:.82em}.dt-lane-empty{display:block;color:#728092;font-size:.72em;padding:4px}.dt-calendar-day{min-height:160px}.dt-space-field{border:1px solid #a9cebf;border-radius:8px;padding:10px}.dt-space-field legend{font-weight:600;color:#14695b}@media(max-width:540px){.dt-root .dt-calendar-place{font-size:.72em;padding:3px}.dt-root .dt-lane-label{font-size:.7em;padding:3px}.dt-lane-empty{font-size:.65em;padding:3px}}
