/*
  РАССВЕТ СИЛЫ • Male daylight atmosphere v1
  Scoped strictly to the male preference. Do not change women’s theme or app logic.
  Warm ivory canvas, dawn-lit mountain photography, deep pine accents, honey-gold highlights.
*/
body[data-gender="male"]{
 --dawn-ivory:#f6f3ec;
 --dawn-paper:#fffcf6;
 --dawn-sand:#ede4d6;
 --dawn-sage:#e7eee7;
 --dawn-forest:#3f5b4a;
 --dawn-leaf:#5a735f;
 --dawn-graphite:#2f3533;
 --dawn-gold:#cfa45c;
 --dawn-gold-light:#e3c58a;
 --navy:#2f453a;
 --deep:#334d40;
 --forest:#466651;
 --gold:#cfa45c;
 --gold2:#e3bd78;
 --ivory:#f6f3ec;
 --paper:#f9f5ed;
 --muted:#67776d;
 --line:#dfddcf;
 --shadow:0 12px 28px rgba(59,72,54,.11);
 background:radial-gradient(circle at 12% 4%,#fcebd0 0,transparent 44%),linear-gradient(165deg,#e9e9dc,#f6f3ec 44%,#e6ede5 100%);
 color:var(--dawn-graphite);
}
body[data-gender="male"] .app{
 color:var(--dawn-graphite);
 background:var(--dawn-ivory);
 box-shadow:0 0 65px rgba(40,58,45,.13);
}
/* Hero: retain the original authentic mountain-sunset photo, remove night-darkening */
body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(93deg,rgba(248,246,231,.97) 0%,rgba(246,244,225,.96) 24%,rgba(245,241,222,.88) 41%,rgba(238,229,201,.52) 61%,rgba(250,222,174,.08) 100%);
 background:#eee5d4;
 color:#2d4539;
 border-bottom:1px solid #dec7a0;
}
body[data-gender="male"] .intro-shell::before{
 background-position:68% 45%;
 filter:brightness(1.15) saturate(1.02) contrast(1.01);
}
body[data-gender="male"] .intro-shell::after{background:var(--intro-overlay)}
body[data-gender="male"] .intro-shell .brand b{color:#2b4938;text-shadow:0 1px 9px #fff8}
body[data-gender="male"] .intro-shell .brand small{color:#89704b}
body[data-gender="male"] .intro-shell .logo{
 border-color:#d1aa68;
 box-shadow:0 5px 19px rgba(42,62,39,.18);
}
body[data-gender="male"] .intro-shell .eyebrow{
 color:#55705b;
 font-weight:800;
 letter-spacing:2.6px;
 text-shadow:0 1px 8px #fff9;
}
body[data-gender="male"] .intro-shell .hero h1{
 color:#2c4537;
 text-shadow:0 1px 11px rgba(255,250,234,.72);
}
body[data-gender="male"] .intro-shell .hero h1 em{color:#9e6e2d}
body[data-gender="male"] .intro-shell .hero p{
 color:#41564b;
 font-weight:520;
 text-shadow:0 1px 9px rgba(255,252,237,.76);
}
body[data-gender="male"] .intro-shell .switch{
 background:rgba(255,252,241,.91);
 color:#365744;
 border:1px solid rgba(183,160,113,.65);
 box-shadow:0 5px 15px rgba(62,74,47,.1);
}
body[data-gender="male"] .intro-shell .switch input{accent-color:#4d7b5b}
body[data-gender="male"] .intro-shell .btn.primary,
body[data-gender="male"] .btn.primary{
 background:linear-gradient(105deg,#d2a356 0%,#f1d59a 50%,#cb9851 100%);
 color:#283b2d;
 border:1px solid #e8c990;
 box-shadow:0 8px 20px rgba(149,114,61,.19);
}
body[data-gender="male"] .intro-shell .btn.outline{
 color:#355f45;
 border:1.5px solid #7f9e84;
 background:rgba(253,253,245,.87);
 box-shadow:0 6px 18px rgba(40,73,49,.1);
}
body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(126deg,rgba(255,253,242,.94),rgba(249,248,234,.89));
 border:1px solid rgba(255,254,235,.94);
 box-shadow:0 15px 30px rgba(63,73,48,.15);
 backdrop-filter:blur(13px);
}
body[data-gender="male"] .intro-shell .genderbar b{color:#34553f}
body[data-gender="male"] .intro-shell .genderbar p{color:#5a7060}
body[data-gender="male"] .intro-shell .genderbtn{
 color:#385944;
 background:linear-gradient(135deg,rgba(250,251,241,.96),rgba(237,243,230,.94));
 border:1px solid #b5c6b0;
 box-shadow:0 3px 9px rgba(53,80,61,.07);
}
body[data-gender="male"] .intro-shell #gender-male.active{
 color:#264b35;
 border:1.5px solid #d3ae6c;
 background:linear-gradient(115deg,#efdab2,#f7e9c8);
 box-shadow:0 5px 14px rgba(179,135,72,.18);
}
body[data-gender="male"] .intro-shell #gender-female{
 background:#fbf8ef;
 color:#3e6664;
 border-color:#bbd5cf;
}
/* Sunlit navigation */
body[data-gender="male"] .nav{
 background:rgba(255,253,244,.97);
 border-bottom:1px solid #d8decd;
 box-shadow:0 5px 19px rgba(58,81,55,.07);
 scrollbar-color:#bbcea9 transparent;
}
body[data-gender="male"] .nav button{
 color:#4c6755;
 border:1px solid transparent;
}
body[data-gender="male"] .nav button.active,
body[data-gender="male"] .nav button:hover{
 color:#2b6041;
 background:linear-gradient(130deg,#e6f0e3,#f9f0d7);
 border-color:#c8daba;
}
body[data-gender="male"] .nav button:focus-visible,
body[data-gender="male"] .btn:focus-visible,
body[data-gender="male"] .task:focus-visible{
 outline:3px solid #b99a55;outline-offset:2px;
}
/* Scenic photo remains visible behind the first panels, not behind text */
body[data-gender="male"] main.content{
 background-color:var(--dawn-ivory);
 background-image:
  radial-gradient(ellipse 64% 32% at 15% 5%,rgba(255,235,193,.33),transparent),
  linear-gradient(180deg,rgba(248,247,234,.70) 0%,rgba(248,247,234,.79) 260px,rgba(247,246,238,.89) 590px,#f6f3ec 1020px),
  var(--male-scenic-bg,linear-gradient(135deg,#eee7d5,#eef1e4));
 background-size:100% 100%,100% 100%,100% auto;
 background-repeat:no-repeat;
 background-position:center top,center top,center top;
 color:#31473c;
}
body[data-gender="male"] .sectionhead h2,
body[data-gender="male"] .day-title,
body[data-gender="male"] .panel h3,
body[data-gender="male"] .resource h4{
 color:#2c4838;
}
body[data-gender="male"] .sectionhead small,
body[data-gender="male"] .mini,
body[data-gender="male"] .caption,
body[data-gender="male"] .footnotes{color:#607567}
body[data-gender="male"] .preview-note{
 background:rgba(255,252,240,.91);
 border:1px solid #e2dac3;
 color:#5b705f;
}
body[data-gender="male"] .panel,
body[data-gender="male"] .resource{
 background:linear-gradient(140deg,rgba(255,254,248,.96),rgba(248,250,240,.94));
 color:#2e4338;
 border:1px solid rgba(227,226,207,.92);
 box-shadow:0 11px 27px rgba(43,63,48,.105);
 backdrop-filter:blur(7px);
}
body[data-gender="male"] .panel p,
body[data-gender="male"] .resource p,
body[data-gender="male"] .tips{color:#52695d}
body[data-gender="male"] .kicker{color:#937039}
body[data-gender="male"] .quote{
 background:linear-gradient(100deg,#f8f0dd,#fcfbf3);
 border-left-color:#cba05b;
 color:#405744;
}
body[data-gender="male"] .tag{
 background:#f6edd7;
 border:1px solid #dfcaa3;
 color:#83632d;
}
body[data-gender="male"] .day{
 color:#3c5546;
 background:rgba(255,253,246,.96);
 border:1px solid #e5ddcc;
 box-shadow:0 4px 11px rgba(55,72,55,.06);
}
body[data-gender="male"] .day span,
body[data-gender="male"] .day em{color:#6c8073}
body[data-gender="male"] .day.current{
 color:#fffdf1;
 background:linear-gradient(125deg,#5e7b62,#38664c);
 border-color:#668a6c;
 box-shadow:0 8px 17px rgba(61,96,67,.22);
}
body[data-gender="male"] .day.current span,
body[data-gender="male"] .day.current em{color:#f6e8c9}
body[data-gender="male"] .day.complete{
 color:#385f44;
 background:#e7f1e6;
 border-color:#bad4bf;
}
body[data-gender="male"] .task{
 background:#f7f9f3;
 color:#375443;
 border:1px solid #dbe5d7;
}
body[data-gender="male"] .task:hover{border-color:#c5b081}
body[data-gender="male"] .task.checked{
 background:#e7f2e7;
 border-color:#b8d5ba;
 color:#315b41;
}
body[data-gender="male"] .task .check{border-color:#93b19c}
body[data-gender="male"] .task.checked .check{
 background:#477b56;
 border-color:#477b56;
 color:white;
}
body[data-gender="male"] .info,
body[data-gender="male"] .mutedbox,
body[data-gender="male"] details{
 background:rgba(238,245,236,.97);
 color:#455f4e;
 border-color:#c7d8c6;
}
body[data-gender="male"] summary{color:#3b6c4f}
body[data-gender="male"] .field{
 background:#fffefb;
 color:#304b3e;
 border:1px solid #b9cdbd;
}
body[data-gender="male"] .field::placeholder{color:#819486}
body[data-gender="male"] .label{color:#4c6a55}
body[data-gender="male"] .field:focus{
 border-color:#8eb89b;
 box-shadow:0 0 0 3px rgba(137,186,148,.22);
}
body[data-gender="male"] .statrow strong{color:#386448}
body[data-gender="male"] .checkline{border-color:#d9e4d6}
body[data-gender="male"] .btn.dark{
 background:linear-gradient(125deg,#51765a,#365e47);
 border-color:#567b5c;
 color:#fffefa;
 box-shadow:0 5px 13px rgba(63,102,66,.16);
}
body[data-gender="male"] .btn.ghost{
 color:#36563e;
 background:#edf2e8;
 border-color:#cadaaa;
}
body[data-gender="male"] .btn.outline{
 color:#3f654e;
 background:rgba(254,253,245,.85);
 border:1px solid #a9c0ad;
}
body[data-gender="male"] .progressline{background:#e1e8db}
body[data-gender="male"] .progressline span{background:linear-gradient(90deg,#6d9e78,#d2ac65)}
body[data-gender="male"] .tabs button{
 background:#fffdfa;
 color:#457053;
 border-color:#d4ded0;
}
body[data-gender="male"] .tabs button.active{
 background:#4b7c5e;
 color:white;
}
body[data-gender="male"] .vbox{
 background:linear-gradient(120deg,#425b4b,#8a9d80);
 color:#fef4dd;
}
body[data-gender="male"] .lock{background:#f1f1e7;color:#4e6558}
body[data-gender="male"] .editor-note{
 background:#faf2df;
 border-color:#dfc79c;
 color:#5a6b56;
}
body[data-gender="male"] .small-note{color:#617568}
body[data-gender="male"] .footer{
 color:#6f8072;
 background:#f8f6ef;
 border-top:1px solid #deded2;
}
body[data-gender="male"] .footer b{color:#365f47}
/* Photos and day banners: preserve sunlight rather than putting black vignettes on everything */
body[data-gender="male"] .mood-item{
 border:1px solid #eadbb9;
 box-shadow:0 8px 19px rgba(67,77,52,.16);
}
body[data-gender="male"] .mood-item img{filter:brightness(1.11) saturate(.92)}
body[data-gender="male"] .mood-item::after{
 background:linear-gradient(180deg,transparent 45%,rgba(20,43,30,.7) 100%);
}
body[data-gender="male"] .mood-item span{color:#fff8de;text-shadow:0 1px 5px #1e2c27}
body[data-gender="male"] .day-cover{
 border:1px solid #ddc79e;
 box-shadow:0 7px 18px rgba(63,69,49,.13);
}
body[data-gender="male"] .day-cover img{filter:brightness(1.13) saturate(.98)}
body[data-gender="male"] .day-cover::after{
 background:linear-gradient(180deg,transparent 44%,rgba(29,51,40,.76));
}
/* The new habit tracker and breathing practice should share the fresh morning air */
body[data-gender="male"] #s-habits .ht-hero{
 background-image:linear-gradient(105deg,rgba(248,246,228,.94),rgba(241,239,217,.79) 45%,rgba(239,230,200,.35) 100%),var(--ht-bg);
 color:#2e4e3d;
}
body[data-gender="male"] #s-habits .ht-hero h2{color:#2e4e3d}
body[data-gender="male"] #s-habits .ht-hero p{color:#4d6454}
body[data-gender="male"] #s-habits .ht-hero .ht-eyebrow{color:#84612a}
body[data-gender="male"] #s-breath:before{
 background-image:
 linear-gradient(180deg,rgba(244,243,226,.48) 0%,rgba(241,244,227,.58) 18%,rgba(244,246,236,.89) 42%,rgba(244,246,238,.96) 100%),
 var(--br-bg);
}
body[data-gender="male"] #s-breath .br-intro,
body[data-gender="male"] #s-breath .br-detail-heading{
 color:#2a4a38;
 text-shadow:0 1px 12px rgba(255,252,236,.8);
}
body[data-gender="male"] #s-breath .br-intro h2,
body[data-gender="male"] #s-breath .br-detail-heading h2{color:#2f4e39}
body[data-gender="male"] #s-breath .br-intro p,
body[data-gender="male"] #s-breath .br-detail-heading p,
body[data-gender="male"] #s-breath .br-hero-quick span{color:#435d4b}
body[data-gender="male"] #s-breath .br-kicker{color:#84652d}
body[data-gender="male"] #s-breath .br-topnav>span{
 color:#456551;text-shadow:0 1px 8px #fffbef;
}
body[data-gender="male"] #s-breath .br-practice::after{
 background:linear-gradient(0deg,rgba(28,61,45,.83) 0%,rgba(24,61,46,.48) 54%,rgba(29,68,49,.12) 100%);
}
/* Mobile: sunlight with legible text, responsive cards and clear tap targets */
@media(max-width:850px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(94deg,rgba(248,246,232,.98) 0%,rgba(246,244,227,.95) 37%,rgba(242,233,204,.78) 62%,rgba(238,220,174,.29) 100%);
 }
 body[data-gender="male"] .intro-shell::before{background-position:64% 42%}
 body[data-gender="male"] .nav button{min-height:42px}
}
@media(max-width:520px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(94deg,rgba(250,247,231,.98) 0%,rgba(249,245,228,.96) 32%,rgba(245,239,217,.9) 56%,rgba(244,228,195,.61) 76%,rgba(246,224,181,.3) 100%);
 }
 body[data-gender="male"] .intro-shell::before{background-position:63% 45%}
 body[data-gender="male"] .intro-shell .hero h1{color:#2d4739}
 body[data-gender="male"] .intro-shell .hero p{color:#3f5748}
 body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(125deg,rgba(255,254,247,.95),rgba(247,247,231,.91));
 }
 body[data-gender="male"] main.content{
 background-image:
 radial-gradient(circle at 15% 2%,rgba(255,224,169,.22),transparent 55%),
 linear-gradient(180deg,rgba(248,247,235,.72) 0%,rgba(247,246,235,.86) 300px,#f6f3ec 770px),
 var(--male-scenic-bg,linear-gradient(130deg,#f4eedf,#e1e9df));
 background-size:100% 100%,100% 100%,auto 640px;
 background-position:center top,center top,56% top;
 }
 body[data-gender="male"] .panel,
 body[data-gender="male"] .resource{background:rgba(255,254,249,.94)}
}
@media(prefers-reduced-motion:reduce){
 body[data-gender="male"] *{scroll-behavior:auto!important}
}

/* РАССВЕТ СИЛЫ v2 — a distinctly masculine olive / pine / stone palette.
   Compared with the turquoise/cream female atmosphere, this theme uses
   stronger olive surfaces, forest-green navigation and restrained warm gold. */
body[data-gender="male"]{
 --dawn-ivory:#edece1;
 --dawn-paper:#f6f5eb;
 --dawn-sand:#d9d4be;
 --dawn-sage:#dce4d3;
 --dawn-forest:#354c39;
 --dawn-leaf:#536846;
 --dawn-graphite:#253b30;
 --dawn-gold:#c7a365;
 --navy:#2f4537;
 --deep:#344d3e;
 --forest:#415d45;
 --ivory:#edece1;
 --paper:#f1f2e6;
 --line:#cad4c3;
 color:#2b4233;
 background:linear-gradient(140deg,#e4e6d6 0%,#d0dbcb 45%,#e8e6d9 100%);
}
body[data-gender="male"] .app{
 background:#eff0e5;
 color:#2b4636;
}
body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(91deg,rgba(220,228,208,.98) 0%,rgba(226,232,214,.96) 25%,rgba(229,231,212,.86) 44%,rgba(224,222,195,.57) 65%,rgba(245,208,153,.06) 100%);
 background:#d9dfc8;
}
body[data-gender="male"] .intro-shell::before{
 filter:brightness(1.12) saturate(1.05);
}
body[data-gender="male"] .intro-shell .brand b,
body[data-gender="male"] .intro-shell .hero h1{color:#284534}
body[data-gender="male"] .intro-shell .hero h1 em{color:#986a30}
body[data-gender="male"] .intro-shell .eyebrow{color:#4a6549}
body[data-gender="male"] .intro-shell .hero p{color:#3a5845}
body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(115deg,rgba(59,83,58,.94),rgba(85,104,68,.92));
 border:1px solid rgba(176,179,130,.86);
 box-shadow:0 15px 30px rgba(39,65,42,.2);
}
body[data-gender="male"] .intro-shell .genderbar b{color:#fff5de}
body[data-gender="male"] .intro-shell .genderbar p{color:#edf1dd}
body[data-gender="male"] .intro-shell .genderbtn{
 background:rgba(45,68,49,.93);
 border:1px solid #899f7d;
 color:#f7f5e8;
}
body[data-gender="male"] .intro-shell #gender-male.active{
 background:linear-gradient(110deg,#c7a364,#f0d9a4);
 border:1.5px solid #f4ddad;
 color:#2c4734;
 box-shadow:0 5px 15px rgba(18,41,20,.21);
}
body[data-gender="male"] .intro-shell #gender-female{
 background:rgba(239,241,226,.92);
 color:#37605b;
 border-color:#c0cfc3;
}
body[data-gender="male"] .nav{
 background:linear-gradient(105deg,#344e3a,#536a4b 85%);
 border-bottom:2px solid #c7a365;
 box-shadow:0 4px 15px rgba(39,67,44,.16);
}
body[data-gender="male"] .nav button{
 color:#f2f2e4;
 font-weight:790;
}
body[data-gender="male"] .nav button.active,
body[data-gender="male"] .nav button:hover{
 color:#2d4c39;
 background:linear-gradient(120deg,#f1dfb8,#e7e6cf);
 border:1px solid #e3c78d;
}
body[data-gender="male"] main.content{
 background-color:#eef0e5;
 background-image:
  radial-gradient(ellipse 65% 37% at 14% 4%,rgba(234,203,150,.2),transparent),
  linear-gradient(180deg,rgba(226,232,211,.63) 0%,rgba(237,238,221,.78) 270px,rgba(238,240,229,.9) 605px,#eef0e5 1090px),
  var(--male-scenic-bg,linear-gradient(130deg,#e3e5d2,#d7e1d4));
}
body[data-gender="male"] .panel,
body[data-gender="male"] .resource{
 background:linear-gradient(130deg,rgba(251,251,242,.97),rgba(233,239,224,.96));
 border-color:#c7d3be;
 box-shadow:0 12px 25px rgba(44,74,49,.13);
}
body[data-gender="male"] .panel h3,
body[data-gender="male"] .resource h4,
body[data-gender="male"] .day-title{color:#2e4a36}
body[data-gender="male"] .panel p,
body[data-gender="male"] .resource p{color:#526553}
body[data-gender="male"] .sectionhead h2{color:#31533b}
body[data-gender="male"] .kicker{color:#786338}
body[data-gender="male"] .day{background:#e9eedf;border-color:#b5c8af;color:#345440}
body[data-gender="male"] .day.current{
 background:linear-gradient(120deg,#3b5c43,#56744d);
 border-color:#5e815e;
 color:#fff9e7;
}
body[data-gender="male"] .day.complete{background:#dbe9d5;border-color:#98b497;color:#2f5b3b}
body[data-gender="male"] .task{background:#eaf0e4;border-color:#c5d7c0}
body[data-gender="male"] .task.checked{background:#d4e6d2;border-color:#91b79a}
body[data-gender="male"] .quote{background:linear-gradient(120deg,#e7ead8,#f7f3df);color:#3f5f43;border-left-color:#b18a4b}
body[data-gender="male"] .tag{background:#e9e5ce;border-color:#c9c5a4;color:#67592f}
body[data-gender="male"] .btn.dark{background:linear-gradient(110deg,#3d6146,#304f3c)}
body[data-gender="male"] .btn.ghost{background:#dae8d6;border-color:#a6bca4;color:#31523b}
body[data-gender="male"] .btn.outline{background:#f5f5e8;border-color:#91ad90;color:#31533d}
body[data-gender="male"] .info,
body[data-gender="male"] .mutedbox,
body[data-gender="male"] details{background:#e1edda;color:#3d6248;border-color:#b4cbb2}
body[data-gender="male"] .preview-note{background:#f4f3e6;border-color:#d2d5b8;color:#536d56}
body[data-gender="male"] .footer{background:#e8ebde;border-color:#c5ceb9;color:#617765}
body[data-gender="male"] .footer b{color:#385a41}
body[data-gender="male"] .mood-item{border-color:#abb896}
body[data-gender="male"] .mood-item img{filter:brightness(1.07) saturate(.93)}
/* Habit tracker: olive-green lettering, gold current day, deep-green completion. */
body[data-gender="male"] .ht-inline-create{
 background:linear-gradient(115deg,#d7e5cf,#ede6cf);
 border-color:#adbea4;
}
body[data-gender="male"] .ht-inline-create>label{color:#345941}
body[data-gender="male"] .ht-cta{
 background:#395b41!important;
 border-color:#395b41!important;
 color:#fff9e9!important;
}
body[data-gender="male"] .ht-cta:hover{background:#294b35!important}
body[data-gender="male"] .ht-home,
body[data-gender="male"] .ht-matrix-panel{background:linear-gradient(140deg,rgba(250,251,240,.97),rgba(224,235,212,.95));border-color:#b9c8ae}
body[data-gender="male"] .ht-week-nav button{background:#ebefdf;border-color:#b9c9b1;color:#35593d}
body[data-gender="male"] .ht-week-nav strong{color:#34543a}
body[data-gender="male"] .ht-week-table thead th{background:#c8d7bc;color:#2c4d37}
body[data-gender="male"] .ht-week-table thead .ht-habit-head{background:#b7c9aa;color:#2d4b36}
body[data-gender="male"] .ht-week-table .ht-today-head{background:#dfcf9f;color:#5c4726}
body[data-gender="male"] .ht-week-table tfoot th,
body[data-gender="male"] .ht-week-table tfoot td{background:#d1dfc5;color:#355441}
body[data-gender="male"] .ht-week-table tfoot td.ht-today-cell{background:#eadcb3}
body[data-gender="male"] .ht-week-table tbody tr:nth-child(even) .ht-habit-name{background:#e5eddd}
body[data-gender="male"] .ht-week-table .ht-habit-icon{background:#d3e2cb;color:#30593e}
body[data-gender="male"] .ht-week-table .ht-marked .ht-cell-button{background:#3d6c48;border-color:#3d6c48}
body[data-gender="male"] .ht-week-table td.ht-today-cell{background:rgba(214,191,123,.24)}
body[data-gender="male"] #s-habits .ht-hero{
 background-image:linear-gradient(108deg,rgba(224,231,207,.95),rgba(222,229,204,.85) 43%,rgba(216,217,187,.22) 100%),var(--ht-bg);
}
@media(max-width:520px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(91deg,rgba(225,232,215,.98) 0%,rgba(224,230,209,.95) 32%,rgba(224,224,202,.9) 54%,rgba(229,213,179,.58) 79%,rgba(239,206,155,.24) 100%);
 }
 body[data-gender="male"] main.content{
 background-image:
 radial-gradient(circle at 14% 2%,rgba(234,208,153,.18),transparent 55%),
 linear-gradient(180deg,rgba(227,233,216,.75) 0%,rgba(232,235,220,.86) 310px,#eef0e5 800px),
 var(--male-scenic-bg,linear-gradient(130deg,#e8e7d8,#d8e3d4));
 }
 body[data-gender="male"] .panel,
 body[data-gender="male"] .resource{background:rgba(242,247,232,.96)}
}

/* SUNLIT OAK • male atmosphere v3. Less military olive, more wood, bronze, brushed steel. */
body[data-gender="male"]{
 --dawn-ivory:#f1eee7;
 --dawn-paper:#f7f4ed;
 --dawn-sand:#e7d9c5;
 --dawn-sage:#e3e8e0;
 --dawn-forest:#374f46;
 --dawn-leaf:#66756e;
 --dawn-graphite:#323b3c;
 --dawn-gold:#be9556;
 --dawn-gold-light:#e3c68c;
 --navy:#344a50;
 --deep:#384d4f;
 --forest:#4d665f;
 --gold:#be9556;
 --gold2:#ddba83;
 --ivory:#f1eee7;
 --paper:#f7f3ed;
 --muted:#6f7774;
 --line:#d5d4cf;
 color:#333e3e;
 background:linear-gradient(145deg,#e7e9e5 0%,#deded7 43%,#e9e0d3 100%);
}
body[data-gender="male"] .app{background:#f1eee7;color:#344440}
body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(90deg,rgba(235,230,219,.96) 0%,rgba(238,232,219,.95) 25%,rgba(237,230,211,.83) 43%,rgba(232,216,187,.43) 65%,rgba(244,205,138,.04) 100%);
 background:#e4dcd0;
 border-bottom:2px solid #c6a46c;
}
body[data-gender="male"] .intro-shell::before{filter:brightness(1.14) contrast(1.05) saturate(.94)}
body[data-gender="male"] .intro-shell .hero h1,
body[data-gender="male"] .intro-shell .brand b{color:#37484a}
body[data-gender="male"] .intro-shell .eyebrow{color:#806443}
body[data-gender="male"] .intro-shell .hero h1 em{color:#a47a3d}
body[data-gender="male"] .intro-shell .hero p{color:#4e605c}
body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(115deg,rgba(50,66,67,.94),rgba(75,84,78,.94));
 border:1px solid #b9a278;
 box-shadow:0 12px 28px #2c404633;
}
body[data-gender="male"] .intro-shell .genderbar b{color:#fff1d7}
body[data-gender="male"] .intro-shell .genderbar p{color:#e7e8df}
body[data-gender="male"] .intro-shell .genderbtn{
 background:linear-gradient(120deg,#3f5253,#4e6260);
 border-color:#a3a9a0;
 color:#f5f1e9;
}
body[data-gender="male"] .intro-shell #gender-male.active{
 background:linear-gradient(120deg,#b59059,#e2c590);
 color:#313c3a;
 border-color:#ead3ac;
}
body[data-gender="male"] .intro-shell #gender-female{background:#e9ede5;color:#4c6862;border-color:#aebcb7}
body[data-gender="male"] .intro-shell .switch{background:#ebe9dfef;border-color:#b8b6ab;color:#435957}
body[data-gender="male"] .nav{
 background:linear-gradient(110deg,#374c51,#526064 65%,#5c6765);
 border-bottom:2px solid #c59b61;
}
body[data-gender="male"] .nav button{color:#f8f0e2}
body[data-gender="male"] .nav button.active,
body[data-gender="male"] .nav button:hover{
 background:linear-gradient(120deg,#e0bc81,#f1e0be);
 border-color:#d8b57b;
 color:#3a4541;
}
body[data-gender="male"] main.content{
 background-color:#f0ede6;
 background-image:
 radial-gradient(ellipse 65% 35% at 15% 3%,rgba(255,225,175,.26),transparent),
 linear-gradient(180deg,rgba(238,233,221,.67) 0%,rgba(238,233,223,.8) 285px,rgba(241,238,231,.91) 600px,#f0ede6 1120px),
 var(--male-scenic-bg,linear-gradient(130deg,#dedbd4,#e8e9e4));
}
body[data-gender="male"] .panel,
body[data-gender="male"] .resource{
 background:linear-gradient(135deg,rgba(255,253,247,.97),rgba(233,236,232,.95));
 border-color:#c9c9c1;
 box-shadow:0 10px 24px #3344471d;
}
body[data-gender="male"] .panel h3,
body[data-gender="male"] .resource h4,
body[data-gender="male"] .day-title,
body[data-gender="male"] .sectionhead h2{color:#364d4a}
body[data-gender="male"] .panel p,
body[data-gender="male"] .resource p{color:#5a6864}
body[data-gender="male"] .kicker{color:#9a713e}
body[data-gender="male"] .day{
 background:linear-gradient(145deg,#f4f2eb,#e6e9e4);
 border-color:#c4ccca;
 color:#475958;
}
body[data-gender="male"] .day.current{
 background:linear-gradient(120deg,#485c5e,#526968);
 border-color:#b3a17d;
 color:#fff9eb;
}
body[data-gender="male"] .day.complete{background:#e0e9e5;border-color:#9eb5ab;color:#3f6156}
body[data-gender="male"] .quote{background:linear-gradient(120deg,#f0e7d8,#f7f3e8);border-left-color:#c29b5e;color:#475b57}
body[data-gender="male"] .tag{background:#eee5d5;color:#856840;border-color:#d6c5aa}
body[data-gender="male"] .task{background:#f0f2ee;border-color:#cfd8d1;color:#3d5450}
body[data-gender="male"] .task.checked{background:#dcece1;border-color:#a4c1ad}
body[data-gender="male"] .btn.primary{background:linear-gradient(105deg,#b88e50,#edcd90 52%,#bb925b);color:#303c39}
body[data-gender="male"] .btn.dark{background:linear-gradient(115deg,#435b5b,#344c50)}
body[data-gender="male"] .btn.ghost{background:#e4e8e4;border-color:#bdcac7;color:#405453}
body[data-gender="male"] .btn.outline{background:#f9f6ef;border-color:#aab6b1;color:#405d59}
body[data-gender="male"] .info,
body[data-gender="male"] .mutedbox,
body[data-gender="male"] details{background:#e8eeeb;border-color:#c2d0c7;color:#455e56}
body[data-gender="male"] .preview-note{background:#f2ebdf;border-color:#d7c7af;color:#666554}
body[data-gender="male"] .footer{background:#e9e9e3;border-color:#c8cecc;color:#6d7771}
body[data-gender="male"] .footer b{color:#4c6564}
body[data-gender="male"] .ht-inline-create{
 background:linear-gradient(115deg,#f1e8d9,#e6ece7);
 border-color:#c9c3b8;
}
body[data-gender="male"] .ht-inline-create>label{color:#6f5b3f}
body[data-gender="male"] .ht-cta{
 background:linear-gradient(115deg,#475d5d,#374f50)!important;
 border-color:#536f6e!important;
 box-shadow:0 4px 12px #2d434328!important;
}
body[data-gender="male"] .ht-cta:hover{background:#324a4c!important}
body[data-gender="male"] .ht-home,
body[data-gender="male"] .ht-matrix-panel{
 background:linear-gradient(145deg,#f8f4ecf8,#e8ece9f8);
 border-color:#c8c8c0;
}
body[data-gender="male"] .ht-week-nav strong{color:#475c5a}
body[data-gender="male"] .ht-week-nav button{background:#eaeeea;color:#4d615d;border-color:#c3cfcb}
body[data-gender="male"] .ht-week-table thead th{background:#cdd6d3;color:#405b58}
body[data-gender="male"] .ht-week-table thead .ht-habit-head{background:#bfcac4;color:#3e5651}
body[data-gender="male"] .ht-week-table .ht-today-head{background:#e5c898;color:#654b2e}
body[data-gender="male"] .ht-week-table .ht-habit-icon{background:#e8dfcf;color:#785d37}
body[data-gender="male"] .ht-week-table .ht-marked .ht-cell-button{background:#486967;border-color:#486967}
body[data-gender="male"] .ht-week-table tfoot th,
body[data-gender="male"] .ht-week-table tfoot td{background:#d4ddda;color:#425d57}
body[data-gender="male"] #s-habits .ht-hero{
 background-image:linear-gradient(103deg,rgba(235,229,217,.96),rgba(239,234,221,.87) 45%,rgba(223,219,207,.29) 100%),var(--ht-bg);
}
body[data-gender="male"] #s-habits .ht-hero h2{color:#3d5552}
body[data-gender="male"] #s-habits .ht-hero p{color:#586762}
body[data-gender="male"] #s-habits .ht-hero .ht-eyebrow{color:#977040}
body[data-gender="male"] #s-breath:before{
 background-image:linear-gradient(180deg,rgba(238,232,218,.5) 0%,rgba(236,238,234,.65) 24%,rgba(242,242,238,.94) 60%,#f1efea 100%),var(--br-bg);
}
@media(max-width:520px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(92deg,rgba(235,231,221,.97),rgba(238,233,220,.95) 34%,rgba(233,227,212,.85) 55%,rgba(224,207,178,.53) 81%,rgba(236,209,172,.24) 100%);
 }
 body[data-gender="male"] main.content{
 background-image:radial-gradient(circle at 12% 1%,rgba(248,221,184,.22),transparent 55%),linear-gradient(180deg,rgba(237,231,218,.73),rgba(238,236,226,.86) 320px,#f0ede6 820px),var(--male-scenic-bg,linear-gradient(120deg,#dbd8d0,#e6e8e5));
 }
 body[data-gender="male"] .panel,
 body[data-gender="male"] .resource{background:rgba(250,247,240,.96)}
}


/* EMERALD_CASCADE_FIX_20261101: last-layer male palette, rollback-safe */
/* This stylesheet is loaded after index.html's inline theme styles.
   Keep the same mountain photo and light daylight treatment, but use a soft
   emerald cast and a more distinctive pine-green style panel. */
body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(92deg,
   rgba(222,233,216,.97) 0%,
   rgba(225,233,219,.94) 30%,
   rgba(230,229,208,.80) 53%,
   rgba(234,221,190,.41) 77%,
   rgba(246,212,163,.06) 100%);
 background:#dfe9da;
 border-bottom:2px solid #c9a66d;
}
body[data-gender="male"] .intro-shell::before{
 filter:brightness(1.10) saturate(.99);
}
body[data-gender="male"] .intro-shell .logo{
 border:2px solid #d9b776;
 box-shadow:0 6px 20px rgba(15,65,49,.24),
            0 0 0 1px rgba(245,218,155,.70),
            0 0 0 5px rgba(42,113,86,.12);
}
body[data-gender="male"] .intro-shell .brand::before{
 background:radial-gradient(circle,rgba(44,130,93,.30) 0%,rgba(56,128,91,.13) 47%,transparent 75%);
}
body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(125deg,rgba(27,74,59,.96) 0%,rgba(44,90,73,.94) 58%,rgba(40,79,66,.93) 100%);
 border:1.5px solid rgba(224,188,118,.82);
 box-shadow:0 13px 34px rgba(20,60,47,.22),inset 0 1px 0 rgba(247,229,181,.18);
}
body[data-gender="male"] .intro-shell .genderbar b{color:#fff6e7}
body[data-gender="male"] .intro-shell .genderbar p{color:#e5eee3}
body[data-gender="male"] .intro-shell .genderbtn{
 background:linear-gradient(120deg,rgba(23,68,54,.91),rgba(32,79,64,.91));
 border:1px solid rgba(177,210,180,.60);
 color:#f7f4e9;
}
body[data-gender="male"] .intro-shell #gender-male.active{
 background:linear-gradient(112deg,#c09b61,#ecd19c 58%,#d1ac75);
 color:#28473b;
 border:1.5px solid #f4dda9;
 box-shadow:0 6px 16px rgba(13,49,37,.20),inset 0 1px 0 rgba(255,252,226,.45);
}
body[data-gender="male"] .intro-shell #gender-female{
 background:rgba(244,248,239,.94);
 color:#41675d;
 border-color:#bacdc1;
}
body[data-gender="male"] .nav{
 background:linear-gradient(112deg,#285044,#355c4f 65%,#3c6256);
 border-bottom:2px solid #c8aa78;
}
body[data-gender="male"] .nav button{color:#f8f4e9}
body[data-gender="male"] .day-cover::after{
 inset:26% 0 0;
 background:linear-gradient(to bottom,rgba(8,24,21,0),rgba(11,33,26,.45) 50%,rgba(7,27,23,.85) 100%);
}
body[data-gender="male"] .day-cover b{
 color:#fff9ef;
 text-shadow:0 2px 8px rgba(0,0,0,.72);
}
@media(max-width:520px){
 body[data-gender="male"] .intro-shell{
  --intro-overlay:linear-gradient(92deg,
    rgba(222,233,216,.97) 0%,
    rgba(225,233,219,.94) 33%,
    rgba(230,229,208,.84) 54%,
    rgba(231,217,187,.52) 80%,
    rgba(246,212,163,.13) 100%);
 }
}
