/* PELE EM SINTONIA F37: tela inicial da paciente. Comparacao visual com imagem aprovada.
   Mantem F35 app.js, patient model, contratos e formularios reais de laboratorio. */
:root{--atelier-ink:#2d382e;--atelier-sage:#586b54;--atelier-peach:#ca9075;--atelier-cream:#fcf7ed;--atelier-outline:rgba(255,253,246,.91)}
body:has(.home-premium){background:#e8e1d4; color:var(--atelier-ink)}
body:has(.home-premium) .demo-ribbon{height:25px;padding:6px 8px;background:#eae9df;letter-spacing:.095em;color:#536552;border-color:#dadbcf;font-size:8px;text-align:center}
body:has(.home-premium) .mobile-app{
 position:relative;max-width:438px;isolation:isolate;min-height:100dvh;
 background:linear-gradient(150deg,rgba(251,248,239,.78),rgba(243,234,218,.47)),url('/f40/assets/atelier-garden.svg') center top / 100% auto no-repeat,linear-gradient(155deg,#e9e8d8,#f9efe0 72%,#f1e6d5);
 box-shadow:0 15px 75px rgba(49,46,36,.17);border-left:1px solid #e7dfd1;border-right:1px solid #e7dfd1;overflow:hidden;
 padding-bottom:84px;
}
body:has(.home-premium) .site-header{
 height:75px;position:relative;z-index:2;display:flex;align-items:center;justify-content:center;
 background:transparent;border-bottom:0;padding:17px 26px 10px;
}
body:has(.home-premium) .site-header .logo{display:flex;align-items:center;gap:7px;justify-content:center}
body:has(.home-premium) .site-header .logo-mark{
 display:inline-block;width:27px;height:35px;flex:none;font-size:0;background:transparent;border:0;border-radius:0;position:relative;
}
body:has(.home-premium) .site-header .logo-mark::before{
 content:"";position:absolute;inset:1px 0;
 background:linear-gradient(130deg,#72826a,#53684e);
 clip-path:polygon(50% 0,57% 15%,85% 6%,76% 31%,97% 39%,65% 53%,83% 70%,55% 65%,55% 100%,47% 100%,47% 65%,17% 70%,33% 53%,3% 39%,24% 31%,15% 6%,43% 15%);
 opacity:.84;
}
body:has(.home-premium) .site-header .logo-type{
 font-family:"Palatino Linotype","Book Antiqua",Georgia,serif!important;
 color:#4d5d46;font-size:24px;letter-spacing:-.055em;line-height:1;
}
body:has(.home-premium) .site-header .logo-type b{font-weight:400}
body:has(.home-premium) .site-header .user-badge{
 position:absolute;right:23px;top:21px;width:33px;height:33px;display:grid;place-items:center;
 background:rgba(253,248,237,.75);color:#5a6b54;border:1px solid rgba(255,255,255,.85);
 border-radius:50%;box-shadow:0 2px 11px rgba(56,54,34,.08);
}
body:has(.home-premium) #screen-home{
 padding:0 25px 48px;position:relative;z-index:1;display:block;
}
body:has(.home-premium) #screen-home[hidden]{display:none!important}
body:has(.home-premium) #screen-home .greeting{margin:22px 0 0;position:relative;z-index:1}
body:has(.home-premium) #screen-home .greeting .upper{font-size:9px;letter-spacing:.2em;color:#797e6e;margin-bottom:16px;font-weight:600}
body:has(.home-premium) #screen-home .greeting h1{
 font-family:"Palatino Linotype","Book Antiqua",Georgia,serif!important;font-size:42px;
 line-height:1.13;letter-spacing:-.055em!important;font-weight:400!important;color:#2d342b;
 margin:0 0 6px;text-shadow:0 1px 0 rgba(255,255,255,.55)
}
body:has(.home-premium) #screen-home .hello-star{display:none}
body:has(.home-premium) #screen-home .greeting .intro{
 font-size:12.5px;line-height:1.4;font-family:"Segoe UI",Arial,sans-serif;color:#596152;
 margin:0;max-width:280px;
}
body:has(.home-premium) #screen-home .journey-card{
 position:relative;isolation:isolate;min-height:158px;margin:29px 0 29px;padding:18px 18px 18px;
 border-radius:20px;border:1px solid rgba(255,255,255,.9);overflow:hidden;
 background:linear-gradient(112deg,rgba(255,250,238,.78),rgba(247,237,222,.46) 63%,rgba(233,218,194,.25));
 box-shadow:inset 0 0 0 1px rgba(220,213,194,.36),inset 0 2px 3px rgba(255,255,255,.8),
 0 12px 29px rgba(65,59,45,.13),0 2px 7px rgba(67,55,40,.06);
 backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);
}
body:has(.home-premium) #screen-home .journey-card .journey-top{position:relative;z-index:1;justify-content:space-between}
body:has(.home-premium) #screen-home .journey-label{font-size:8px;letter-spacing:.16em;color:#7b7e6d}
body:has(.home-premium) #screen-home .journey-type{
 background:rgba(238,238,218,.62);border:1px solid rgba(191,196,168,.5);color:#536d55;
 padding:4px 7px;border-radius:14px;font-size:8px;letter-spacing:.07em;
}
body:has(.home-premium) #screen-home .journey-count{position:relative;z-index:1;gap:9px;align-items:baseline;margin:13px 0 13px}
body:has(.home-premium) #screen-home .journey-count strong{
 font-family:"Palatino Linotype",Georgia,serif!important;letter-spacing:-.045em!important;
 font-size:33px;line-height:1.17;font-weight:400!important;color:#293a2e
}
body:has(.home-premium) #screen-home .journey-count>span{color:#677365;font-size:11px}
body:has(.home-premium) #screen-home .progress-track{
 position:relative;z-index:1;width:70%;height:8px;border-radius:99px;
 background:rgba(220,209,190,.85);box-shadow:inset 0 1px 2px rgba(112,91,72,.1);overflow:hidden;
}
body:has(.home-premium) #screen-home .progress-fill{
 height:100%;border-radius:99px;background:linear-gradient(90deg,#94a483,#67846c);
 box-shadow:inset 0 1px 0 #ffffff9c;
}
body:has(.home-premium) #screen-home .journey-bottom{
 position:relative;z-index:1;display:flex;justify-content:space-between;gap:8px;
 width:100%;color:#5e6959;font-size:10px;margin:12px 0 0;
}
body:has(.home-premium) #screen-home .bloom-art{
 position:absolute;right:-10px;top:19px;width:145px;height:147px;z-index:0;
 background:radial-gradient(ellipse at center,rgba(234,189,160,.39),transparent 71%),
 url('/f40/assets/atelier-garden.svg') 100% 45% / 300% auto no-repeat;opacity:.74;
 pointer-events:none;
}
body:has(.home-premium) #screen-home .home-action-list{position:relative;margin:0}
body:has(.home-premium) #screen-home .home-actions-heading .upper{font-size:9px;color:#807362;letter-spacing:.18em;margin:0 0 5px}
body:has(.home-premium) #screen-home .home-actions-heading h2{
 font-family:"Palatino Linotype",Georgia,serif!important;font-weight:400!important;letter-spacing:-.04em!important;
 font-size:27px;line-height:1.2;color:#333a30;margin:0 0 17px;
}
body:has(.home-premium) #screen-home .home-action{
 display:flex;align-items:center;gap:13px;width:100%;min-height:70px;
 margin:0 0 11px;padding:12px 14px;position:relative;
 background:linear-gradient(122deg,rgba(255,254,249,.76),rgba(254,247,235,.52));
 border:1px solid rgba(255,253,247,.89);border-radius:15px;
 box-shadow:inset 0 0 0 1px rgba(226,209,191,.38),inset 0 1px rgba(255,255,255,.82),
  0 5px 16px rgba(84,65,46,.09);
 color:#384237;text-align:left;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
 text-decoration:none;transition:transform 160ms ease,box-shadow 160ms ease,background 160ms ease;
}
body:has(.home-premium) #screen-home button.home-action:not(:disabled){cursor:pointer}
body:has(.home-premium) #screen-home button.home-action:not(:disabled):hover{
 transform:translateY(-2px);box-shadow:0 10px 20px rgba(87,64,43,.15),inset 0 1px white;
 background:linear-gradient(122deg,rgba(255,255,253,.89),rgba(252,238,221,.77));
}
body:has(.home-premium) #screen-home button.home-action:active{transform:translateY(0) scale(.995)}
body:has(.home-premium) #screen-home .home-action:focus-visible{
 outline:3px solid #b26b50!important;outline-offset:3px;
}
body:has(.home-premium) #screen-home .action-icon{
 width:39px;height:39px;flex:none;display:grid;place-items:center;border-radius:12px;
 box-shadow:inset 0 1px rgba(255,255,255,.45),0 2px 6px rgba(101,72,54,.13);
}
body:has(.home-premium) #screen-home .action-icon svg{width:22px;height:22px}
body:has(.home-premium) #screen-home .action-icon-camera{
 color:#fffdf8;background:linear-gradient(145deg,#dc9d7b,#b9795c);border:1px solid rgba(175,105,76,.26);
}
body:has(.home-premium) #screen-home .action-icon-note{
 color:#92664d;background:linear-gradient(135deg,#f6ddc5,#e4b998);border:1px solid #dfb59c88;
}
body:has(.home-premium) #screen-home .action-icon-leaf{
 color:#f8f7ed;background:linear-gradient(135deg,#a0aa83,#718666);border:1px solid #73897066;
}
body:has(.home-premium) #screen-home .action-copy{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}
body:has(.home-premium) #screen-home .action-copy strong{
 font-family:"Palatino Linotype",Georgia,serif;font-size:17px;font-weight:400;
 letter-spacing:-.02em;color:#3e4338;line-height:1.18;
}
body:has(.home-premium) #screen-home .action-copy small{font-size:10px;color:#7d806f}
body:has(.home-premium) #screen-home .action-chevron{font-family:Georgia,serif;font-size:28px;line-height:1;color:#68715e;font-weight:400}
body:has(.home-premium) #screen-home .more-caption{
 margin:24px 0 10px;font-family:"Segoe UI",Arial,sans-serif;font-size:9px;letter-spacing:.15em;color:#817363;font-weight:600
}
body:has(.home-premium) #screen-home .home-action-secondary,
body:has(.home-premium) #screen-home .home-action-rest{min-height:63px}
body:has(.home-premium) #screen-home .home-action-rest{opacity:.9}
body:has(.home-premium) #screen-home .action-status{font-size:19px;color:#8c9a7d}
body:has(.home-premium) #screen-home button.home-action:disabled{
 opacity:.7;cursor:default;transform:none;
}
body:has(.home-premium) #screen-home .activity-panel{
 margin-top:27px;padding:19px 0 0;border-top:1px solid rgba(180,167,141,.52);
}
body:has(.home-premium) #screen-home .activity-panel[hidden]{display:none!important}
body:has(.home-premium) #screen-home .activity-panel .section-heading{
 display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px;
}
body:has(.home-premium) #screen-home .activity-panel .section-heading h2{font-size:24px}
body:has(.home-premium) #screen-home .close-activity{
 background:rgba(255,254,246,.75);border:1px solid #d5cab9;color:#667361;border-radius:12px;
 padding:9px 12px;font-size:11px;min-height:40px;flex:none;cursor:pointer;
}
body:has(.home-premium) #screen-home .stage-card{
 background:linear-gradient(136deg,rgba(255,253,246,.88),rgba(246,236,221,.83));
 border:1px solid rgba(255,255,255,.92);border-radius:19px;padding:20px 17px;
 box-shadow:inset 0 0 0 1px #e2d4c1,0 9px 25px rgba(70,53,32,.09);
}
body:has(.home-premium) #screen-home .stage-card h3{
 font-family:"Palatino Linotype",Georgia,serif!important;font-size:25px;line-height:1.17;color:#3a493b;font-weight:400!important
}
body:has(.home-premium) #screen-home .stage-card .primary-button{
 background:linear-gradient(145deg,#d6a082,#b97e60)!important;color:#fffef9!important;
 border:1px solid #b17e63!important;border-radius:14px!important;
 box-shadow:inset 0 1px #fff7,0 5px 15px #92654830!important;
}
body:has(.home-premium) #screen-home .stage-card .primary-button:disabled{
 background:#e7e2d8!important;color:#74786e!important;border-color:#d7d2c8!important;box-shadow:none!important
}
body:has(.home-premium) #screen-home .stage-card .secondary-button{
 border-radius:12px!important;color:#566c57!important;border:1px solid #c7c9b7!important;background:#faf9eeeb!important;
}
body:has(.home-premium) #screen-home .photo-spot{border-radius:13px;border:1px solid #d0c8b7;background:#f7f2e8}
body:has(.home-premium) #screen-home .photo-spot[aria-pressed=true]{background:#e9edde}
body:has(.home-premium) #screen-home .question-item textarea{
 background:#fffbf5;border-color:#d2c5b3;border-radius:12px;
}
body:has(.home-premium) #screen-home .follow-section{
 margin-top:31px;border-top:1px solid #d6d3c1;padding-top:25px;
}
body:has(.home-premium) #screen-home .follow-section .section-heading h2{
 font-family:"Palatino Linotype",Georgia,serif!important;font-size:23px;font-weight:400!important;color:#3c4b3c
}
body:has(.home-premium) #screen-home .step-row{padding:12px 0;border-bottom-color:#ddd9c9}
body:has(.home-premium) #screen-home .step-icon{border-radius:50%;background:#e9ddc9;color:#7a7b62}
body:has(.home-premium) #screen-home .gentle-note{margin-top:20px;border-top:1px solid #dbd6c6}
body:has(.home-premium) .bottom-nav{
 z-index:60;background:rgba(250,243,230,.93);border-top:1px solid rgba(223,206,181,.9);
 backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
 border-radius:18px 18px 0 0;min-height:75px;
 box-shadow:0 -7px 25px rgba(96,76,49,.08);
}
body:has(.home-premium) .nav-item{color:#6e7665;font-size:10px}
body:has(.home-premium) .nav-item.is-active{
 color:#a27359;background:rgba(247,234,215,.8);border-radius:13px
}
body:has(.home-premium) .nav-symbol{font-size:20px}
body:has(.home-premium) .toast{bottom:88px}
body:has(.home-premium) .prototype-bar{background:#e3e6dbeb;border-bottom-color:#d9ddcf}
body:has(.home-premium) .prototype-bar strong{color:#667361}
body:has(.home-premium) .prototype-bar a,body:has(.home-premium) .prototype-bar button{color:#647362}
body:has(.home-premium) .prototype-bar [aria-current=page]{background:#d3dcc9}
body:has(.home-premium)[data-atelier-week="1"] .mobile-app{filter:saturate(.94)}
body:has(.home-premium)[data-atelier-week="3"] .mobile-app{background-color:#efe8d9}
body:has(.home-premium)[data-atelier-week="4"] .mobile-app{background-color:#ebe6d6}
@media(min-width:520px){
 body:has(.home-premium) .mobile-app{margin:14px auto;min-height:930px;border-radius:25px;overflow:hidden}
 body:has(.home-premium) .bottom-nav{width:min(438px,100%);bottom:0}
}
@media(max-width:380px){
 body:has(.home-premium) #screen-home{padding:0 21px 46px}
 body:has(.home-premium) #screen-home .greeting h1{font-size:38px}
 body:has(.home-premium) #screen-home .journey-card{padding:17px 15px}
 body:has(.home-premium) #screen-home .action-copy strong{font-size:15.5px}
 body:has(.home-premium) #screen-home .home-action{padding:10px}
}
@media(prefers-reduced-motion:reduce){
 body:has(.home-premium) #screen-home .home-action{transition:none!important}
 body:has(.home-premium) #screen-home button.home-action:not(:disabled):hover{transform:none!important}
}

/* F37 mobile pixel-tuning from real 390x844 Chrome screenshot: 3 actions above bottom bar. */
@media(max-width:520px){
 body:has(.home-premium){padding-top:30px}
 body:has(.home-premium) .prototype-bar{height:30px;padding:0 10px}
 body:has(.home-premium) .prototype-bar a,body:has(.home-premium) .prototype-bar button{font-size:9px;padding:5px 7px}
 body:has(.home-premium) .demo-ribbon{height:20px;padding:3px 7px;font-size:7px}
 body:has(.home-premium) .site-header{height:65px;padding-top:12px}
 body:has(.home-premium) #screen-home .greeting{margin-top:10px}
 body:has(.home-premium) #screen-home .greeting .upper{margin-bottom:11px}
 body:has(.home-premium) #screen-home .journey-card{margin-top:20px;margin-bottom:21px;min-height:148px}
 body:has(.home-premium) #screen-home .home-actions-heading h2{margin-bottom:12px}
 body:has(.home-premium) #screen-home .more-caption{margin-top:16px;margin-bottom:8px}
 body:has(.home-premium) #screen-home .home-action{margin-bottom:9px}
}
