/* 40 Hari Menempa Diri — TLQ Living Platform, 2026. */
.ch40-home-card,.ch40-page *{box-sizing:border-box}
.ch40-home-card{position:relative;isolation:isolate;overflow:hidden;width:100%;margin:22px 0 30px;border-radius:27px;padding:26px 26px 20px;color:#fff;background:radial-gradient(circle at 95% 15%,rgba(147,181,133,.26),transparent 37%),linear-gradient(121deg,#113f35 0%,#185743 66%,#1f6650 100%);border:1px solid #346a55;box-shadow:0 14px 35px rgba(17,74,52,.12)}
.ch40-home-card:before{content:"";position:absolute;right:-28px;top:-115px;width:260px;height:260px;border-radius:50%;border:1px solid rgba(226,227,190,.18);box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 48px rgba(255,255,255,.022);z-index:-1}
.ch40-home-card:after{content:"✧";position:absolute;right:44px;top:45px;color:#c9da9f;font-size:19px;opacity:.74}
.ch40-home-top,.ch40-home-bottom,.ch40-dream-heading,.ch40-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ch40-home-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.7px;color:#c0d9bc}
.ch40-home-status{font-size:10px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.14);padding:7px 10px;border-radius:999px;white-space:nowrap;font-weight:700;color:#eef5d5}
.ch40-home-content{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:22px}
.ch40-home-content h2{font-size:clamp(23px,4.4vw,34px);line-height:1.22;letter-spacing:-.9px;color:#fff!important;margin:0 0 10px;font-weight:900}
.ch40-home-content p{font-size:12px;color:#d7e9d7!important;line-height:1.75;max-width:380px;margin:0}
.ch40-home-number{align-self:center;flex-shrink:0;font-size:clamp(73px,18vw,130px);line-height:1;font-weight:900;letter-spacing:-7px;color:rgba(213,225,190,.24);transform:rotate(-8deg);font-family:Georgia,serif}
.ch40-home-number.active-number{font-family:Manrope,sans-serif;font-weight:900;font-size:clamp(54px,13vw,90px);letter-spacing:-4px}
.ch40-home-cta{display:inline-flex;gap:9px;align-items:center;padding:14px 20px;border-radius:15px;background:#f6e8c9;color:#214b37!important;font-size:12px;font-weight:900;text-decoration:none;margin-top:20px;box-shadow:0 4px 0 #b9ac81}
.ch40-home-footer{margin-top:24px;border-top:1px solid rgba(255,255,255,.14);padding-top:14px;font-size:10px;color:#d2dfca;letter-spacing:.025em}
.ch40-home-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}
.ch40-home-stats>div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:11px}
.ch40-home-stats b{display:block;font-size:23px;font-weight:900;line-height:1.1}
.ch40-home-stats span{display:block;font-size:10px;color:#d2e6d5;margin-top:6px}
.ch40-home-progress,.ch40-progress-track{height:8px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
.ch40-home-progress{margin-top:18px}
.ch40-home-progress>span,.ch40-progress-track>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#aed771,#e8db9c);transition:width .4s ease}
.ch40-home-bottom{margin-top:13px;flex-wrap:wrap}
.ch40-home-bottom small{font-size:10px;color:#d7e8d5}
.ch40-home-bottom a{font-size:12px;color:#fff!important;font-weight:900;display:flex;align-items:center;gap:5px;text-decoration:none}
.ch40-page{padding-bottom:28px;max-width:920px}
.ch40-page .eyebrow{color:#498466;font-size:10px;font-weight:900;letter-spacing:1.4px}
.ch40-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:radial-gradient(ellipse at 105% -25%,rgba(203,220,176,.18),transparent 65%),linear-gradient(135deg,#0f3d34 0%,#1a644c 100%);min-height:260px;border-radius:28px;padding:34px 30px;margin:23px 0 28px;color:#fff}
.ch40-hero-text{position:relative;z-index:1;max-width:65%}
.ch40-tag{display:inline-flex;letter-spacing:2px;font-weight:900;font-size:10px;color:#d7e6c4}
.ch40-hero h1{font-size:clamp(34px,6vw,49px);font-weight:900;letter-spacing:-1.8px;line-height:1.1;color:white;margin:18px 0 12px}
.ch40-hero h1 em{font-style:normal;color:#e6db99}
.ch40-hero p{max-width:470px;font-size:12px;line-height:1.8;color:#d9eadd}
.ch40-ornament{position:relative;flex:0 0 140px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(234,233,194,.35);background:radial-gradient(circle,#306d54 0%,#245e4d 54%,rgba(31,86,70,.3) 55%);box-shadow:0 0 0 12px #ffffff08,0 0 0 28px #ffffff05}
.ch40-ornament span{font-family:Georgia,serif;font-size:61px;color:#f4e7bb;z-index:1}
.ch40-ornament i{position:absolute;right:11px;top:6px;font-style:normal;color:#e4d296}
.ch40-orbit{position:absolute;border-radius:50%;width:115%;height:115%;border:1px solid rgba(231,231,183,.18);transform:rotate(26deg)}
.ch40-orbit.orbit-two{width:85%;height:85%;border-color:rgba(231,231,183,.28)}
.ch40-intro-copy{padding:6px 2px 21px}
.ch40-intro-copy h2,.ch40-section-heading h2{font-size:clamp(21px,4vw,27px);font-weight:900;color:#1d5140;margin:9px 0}
.ch40-intro-copy p,.ch40-section-heading p{font-size:13px;color:#738a7c;line-height:1.75;max-width:690px}
.ch40-setup,.ch40-progress-overview,.ch40-dream,.ch40-today,.ch40-checkpoints,.ch40-finish{border-radius:24px;border:1px solid #dce9de;background:#fff;padding:clamp(19px,4vw,29px);box-shadow:0 6px 28px rgba(30,69,42,.045);margin-bottom:21px}
.ch40-setup h2{font-size:22px;margin:11px 0 23px;color:#1e4e3b}
.ch40-setup-form{display:flex;flex-direction:column;gap:21px}
.ch40-field label{display:block;font-size:13px;font-weight:900;color:#24543f;margin-bottom:10px;line-height:1.6}
.ch40-field label span{font-weight:500;color:#91a599}
.ch40-field textarea,.ch40-field select,.ch40-field input:not([type="range"]){border:1px solid #d3e4d7!important;border-radius:13px!important;background:#fbfdfa!important;color:#244535!important;padding:15px!important;width:100%!important;font:500 13px/1.65 Manrope,system-ui,sans-serif;box-shadow:none!important;min-height:49px}
.ch40-field textarea:focus,.ch40-field select:focus,.ch40-field input:focus{outline:2px solid #99c7aa!important;outline-offset:2px}
.ch40-field small,.ch40-help{display:block;color:#809384;font-size:11px;line-height:1.75;margin-top:8px}
.ch40-btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:14px;border:1px solid transparent;padding:13px 17px;font:800 12px/1.5 Manrope,system-ui,sans-serif;cursor:pointer;text-decoration:none;min-height:46px;white-space:normal;text-align:center}
.ch40-btn.main{background:#185943;color:#fff!important;border-color:#185943}
.ch40-btn.outline{background:#f0f7f1;color:#2b664c!important;border:1px solid #d5e8d9}
.ch40-btn.text-only{background:transparent;color:#638573!important}
.ch40-btn.full{width:100%}
.ch40-footnote{margin:8px 0 28px;font-size:11px;color:#8a9b8d;line-height:1.7}
.ch40-error{font-size:11px;color:#bf3f34;margin:0;min-height:12px}
.ch40-progress-title{display:flex;gap:12px;justify-content:space-between;align-items:center}
.ch40-progress-title h2{font-size:25px;letter-spacing:-.6px;color:#215841;font-weight:900;margin:8px 0}
.ch40-day-badge{border-radius:30px;background:#eaf4e9;color:#2f7453;padding:8px 12px;font-size:11px;font-weight:900;white-space:nowrap}
.ch40-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.ch40-stats>div{border-radius:17px;padding:17px 12px;background:#f4f8f3;text-align:center}
.ch40-stats b{font-size:27px;font-weight:900;color:#205b44;display:block;line-height:1.1}
.ch40-stats small{font-size:10px;color:#7b9984;display:block;margin-top:8px}
.ch40-progress-track{background:#e7eee5}
.ch40-progress-caption{display:flex;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap;font-size:10px;color:#7b9181}
.ch40-calendar{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin:22px 0 13px}
.ch40-day{min-width:0;aspect-ratio:1/1;display:flex;justify-content:center;align-items:center;border-radius:10px;border:1px solid transparent;font-weight:900;font-size:12px;transition:transform .16s}
.ch40-day.done{background:#248866;color:#fff;cursor:pointer}
.ch40-day.missed{background:#f7e6e2;border-color:#f0c8bd;color:#ad655c;cursor:pointer}
.ch40-day.today{background:#f8f0d8;border:2px dashed #cbad64;color:#997e42;cursor:pointer}
.ch40-day.future{background:#f1f5f0;color:#9dae9f;cursor:default}
.ch40-day:not(:disabled):active{transform:scale(.93)}
.ch40-legend{display:flex;flex-wrap:wrap;gap:12px;margin:9px 0 23px}
.ch40-legend>span{display:flex;align-items:center;gap:5px;font-size:10px;color:#728e79}
.ch40-legend i{width:10px;height:10px;display:block;border-radius:3px}
.ch40-legend i.done{background:#248866}.ch40-legend i.missed{background:#f1cbbf}.ch40-legend i.today{background:#f1e2bc;border:1px dashed #ad8a48}.ch40-legend i.future{background:#edf1ed}
.ch40-connected{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;border:1px solid #e0e9e1;border-radius:16px;padding:15px;margin-top:10px}
.ch40-connected>span{grid-column:1/-1;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:900;color:#4a7656;letter-spacing:1px}
.ch40-connected>div{text-align:center;border-right:1px solid #e4eee6}
.ch40-connected>div:last-child{border:0}
.ch40-connected b{display:block;font-size:23px;color:#246d4c}
.ch40-connected small{display:block;color:#779284;font-size:10px;line-height:1.5}
.ch40-legend-note{font-size:11px;color:#869989;line-height:1.7;margin-top:14px}
.ch40-dream{background:linear-gradient(135deg,#fdfcf4,#f3f8ef);border-color:#e3e9d3}
.ch40-dream-heading{flex-wrap:wrap}
.ch40-dream-heading a{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#45775e}
.ch40-dream blockquote{margin:20px 0 12px;color:#235540;font-size:clamp(18px,3vw,23px);font-weight:900;line-height:1.55;letter-spacing:-.35px}
.ch40-dream p{font-size:12px;color:#68806b;line-height:1.8;margin:9px 0}
.ch40-today{background:linear-gradient(135deg,#f1f8f3,#f8fbf3)}
.ch40-today h2{font-size:19px;font-weight:900;color:#285743;margin:9px 0}
.ch40-today p{font-size:12px;color:#668574;line-height:1.75}
.ch40-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.ch40-milestone{display:flex;align-items:center;gap:14px;border-bottom:1px solid #edf1e9;padding:18px 0}
.ch40-milestone:last-child{border-bottom:0}
.ch40-milestone-icon{flex:0 0 49px;height:49px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:#ecf1e9;font-weight:900;color:#82958a;font-size:16px}
.ch40-milestone-icon.achieved{background:#257858;color:#fff}
.ch40-milestone-icon.due{background:#f9eed0;color:#98753f}
.ch40-milestone-body{flex:1;min-width:0}
.ch40-milestone-body strong{font-size:13px;color:#295942}
.ch40-milestone-body p{font-size:11px;color:#72887b;line-height:1.55;margin:4px 0}
.ch40-milestone-body small{color:#96a79a;font-size:10px}
.ch40-mini-link{font-size:10px;font-weight:900;background:#e9f4ea;border:0;border-radius:10px;padding:9px 11px;color:#277052;white-space:nowrap;cursor:pointer}
.ch40-mini-link.urgent{background:#f7eacb;color:#936d34}
.ch40-milestone-lock{color:#a6b4a8}
.ch40-due-notice{display:flex;align-items:center;gap:13px;background:#edf6e6;border:1px solid #d3e7cd;padding:17px 20px;border-radius:16px;color:#397854;font-size:12px;line-height:1.6;margin:20px 0}
.ch40-due-notice>span{flex:1}
.ch40-due-notice button{background:#2c7858;color:#fff;border:none;border-radius:10px;padding:10px;cursor:pointer;font-size:11px;font-weight:900}
.ch40-finish{background:#fdf7e8;border-color:#f1e3c2}
.ch40-finish h2{font-size:21px;color:#365b41;margin:12px 0}
.ch40-finish p{font-size:12px;line-height:1.8;color:#768976;margin:10px 0 20px}
.ch40-profile-widget{display:flex;align-items:center;gap:14px;border-radius:19px;border:1px solid #d9e9da;background:linear-gradient(120deg,#eef8ef,#fffdf4);padding:18px;margin:16px 0 26px;text-decoration:none}
.ch40-profile-icon{width:48px;height:48px;flex:0 0 48px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#286e51;color:#fff}
.ch40-profile-info{flex:1;min-width:0}
.ch40-profile-info h3{font-size:15px;margin:5px 0;color:#21513e;font-weight:900}
.ch40-profile-info p{font-size:11px;color:#798f80;line-height:1.6;margin:0}
.ch40-profile-widget>a{color:#4f7d5c;flex-shrink:0}
.ch40-profile-progress{height:5px;border-radius:6px;background:#dce9db;margin-top:10px;overflow:hidden}
.ch40-profile-progress i{display:block;height:100%;background:#238361;border-radius:6px}
.ch40-daily-shortcut{display:flex;gap:12px;align-items:center;border-radius:18px;border:1px solid #ddebdc;background:#f4f9f2;padding:14px;margin-bottom:18px;text-decoration:none;color:#306146}
.ch40-daily-glyph{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#dceee0}
.ch40-daily-shortcut>span:nth-child(2){flex:1;min-width:0}
.ch40-daily-shortcut strong{display:block;font-size:12px}
.ch40-daily-shortcut small{display:block;font-size:10px;color:#799783;margin-top:3px}
.ch40-overlay{position:fixed;inset:0;z-index:1007;background:rgba(11,32,25,.63);backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;padding:16px;overscroll-behavior:contain}
.ch40-modal-open{overflow:hidden!important}
.ch40-modal{max-width:530px;width:100%;max-height:min(92dvh,880px);overflow-y:auto;overscroll-behavior:contain;border-radius:25px;background:#fff;padding:clamp(22px,4vw,34px);box-shadow:0 22px 65px rgba(11,35,20,.33)}
.ch40-modal-head{margin-bottom:18px}
.ch40-modal-head button{background:#f0f5ef;border:0;border-radius:50%;width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:#52745b;cursor:pointer}
.ch40-modal h2{font-size:clamp(22px,4vw,28px);font-weight:900;color:#1e513e;margin:9px 0}
.ch40-modal-lead{font-size:12px;color:#78907b;line-height:1.7;margin:10px 0 20px}
.ch40-modal-stage{font-size:39px;color:#2a7452;font-weight:900;letter-spacing:-1px}
.ch40-modal-stage span{color:#a8b6a7;font-size:22px}
.ch40-checkpoint-quote{padding:15px;background:#f0f7ec;border-left:3px solid #a9c980;border-radius:11px;margin:15px 0}
.ch40-checkpoint-quote small{display:block;font-size:10px;color:#648868;font-weight:900;letter-spacing:.6px}
.ch40-checkpoint-quote p{font-size:13px;line-height:1.7;font-weight:800;color:#315840;margin:8px 0 0}
.ch40-checkpoint-stats{font-size:11px;color:#618a6a;font-weight:800;margin:14px 0 20px}
.ch40-modal .ch40-field{margin-bottom:18px}
.ch40-range-line{display:flex;align-items:center;gap:14px}
.ch40-range-line input{flex:1;min-width:0;accent-color:#27724e}
.ch40-range-line output{font-size:17px;font-weight:900;color:#225e42;min-width:52px;text-align:right}
.ch40-share-box{border-radius:15px;background:#f4f8f2;border:1px solid #e0ebde;padding:14px;margin-bottom:22px}
.ch40-share-box label{display:flex;align-items:flex-start;gap:9px;color:#37674b;font-size:12px;font-weight:800;line-height:1.5;cursor:pointer}
.ch40-share-box input[type=checkbox]{width:17px;height:17px;accent-color:#2d7857;flex-shrink:0}
.ch40-share-box>div{margin:14px 0 0 27px;display:grid;gap:11px}
.ch40-share-box>div[hidden]{display:none}
.ch40-share-box>div label{font-size:11px;font-weight:600}
.ch40-share-box small{font-size:10px;color:#85998a;line-height:1.6}
.ch40-saved-response{padding:17px;border-radius:15px;background:#f1f8f2;border:1px solid #e2ece4;margin-bottom:15px}
.ch40-saved-response strong{font-size:12px;color:#246348}
.ch40-saved-response p{font-size:13px;color:#527760;line-height:1.75;white-space:pre-wrap}
.ch40-saved-response small{font-size:11px;color:#7f987e;line-height:1.65}
.ch40-modal-mini{font-size:11px;color:#80917e;line-height:1.75;margin:16px 0}
.ch40-day-detail{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;text-align:center;border-radius:12px;background:#f0f7f0;padding:14px 6px}
.ch40-day-detail b{font-size:19px;color:#245c42}
.ch40-day-detail span{font-size:10px;color:#789081;grid-row:2}
.ch40-linked-notes{display:grid;gap:8px;margin-top:15px}
.ch40-linked-notes>a{font-size:11px;line-height:1.65;display:flex;justify-content:space-between;gap:9px;padding:11px;border:1px solid #e3ede4;background:#f8faf7;border-radius:10px;text-decoration:none;color:#366b4d}
.ch40-history-link{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#397554;text-decoration:none;padding:11px 18px;margin:-10px 0 20px;background:#f3f8f0;border:1px solid #dceadb;border-radius:13px}
.ch40-history-item{padding:19px 0;border-bottom:1px solid #e8efe6}
.ch40-history-item:last-child{border-bottom:0}
.ch40-history-top{display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:10px;color:#5d8974}
.ch40-history-top>span{display:inline-block;background:#eef6ea;border-radius:999px;padding:7px 11px;font-weight:900}
.ch40-history-top b{font-size:11px;color:#255d45}
.ch40-history-item h3{font-size:16px;font-weight:900;color:#23533f;line-height:1.5;margin:13px 0}
.ch40-history-item>small{font-size:11px;color:#7d9581}
.ch40-history-checkpoints{display:grid;gap:8px;margin-top:15px}
.ch40-history-checkpoints>div{display:flex;gap:10px;background:#f8fbf6;padding:10px;border-radius:10px;font-size:11px;line-height:1.5}
.ch40-history-checkpoints b{flex-shrink:0;color:#45765e}
.ch40-history-checkpoints span{color:#698775}
.ch40-history-empty{padding:30px 15px;color:#6d8572;text-align:center}
.ch40-history-empty h3{font-size:15px;color:#375e47}
.ch40-history-empty p{font-size:12px;line-height:1.8}
@media(max-width:600px){
 .ch40-home-card{padding:22px 21px 19px;border-radius:25px;margin:18px 0 25px}
 .ch40-home-content h2{font-size:26px}
 .ch40-home-content p{font-size:11px}
 .ch40-home-number{font-size:72px;letter-spacing:-5px}
 .ch40-home-number.active-number{font-size:60px}
 .ch40-home-eyebrow{font-size:8px;letter-spacing:1.05px}
 .ch40-home-status{font-size:9px;padding:6px 8px}
 .ch40-home-stats{gap:6px}.ch40-home-stats>div{padding:10px 9px}.ch40-home-stats span{font-size:9px}
 .ch40-home-bottom{align-items:start}
 .ch40-hero{padding:26px 23px;min-height:235px}
 .ch40-hero-text{max-width:72%}
 .ch40-hero h1{font-size:36px}
 .ch40-ornament{flex-basis:105px;margin-right:-30px}
 .ch40-ornament span{font-size:49px}
 .ch40-hero p{font-size:10px}
 .ch40-calendar{gap:5px}
 .ch40-day{border-radius:8px;font-size:10px}
 .ch40-progress-title h2{font-size:21px}
 .ch40-stats>div{padding:15px 8px}.ch40-stats b{font-size:23px}
 .ch40-milestone{gap:10px}.ch40-milestone-icon{flex-basis:42px;height:42px;border-radius:14px}
 .ch40-milestone-body strong{font-size:11px}.ch40-milestone-body p{font-size:10px}
 .ch40-actions>.ch40-btn{flex:1 1 45%}
 .ch40-due-notice{flex-wrap:wrap}
 .ch40-modal{max-height:calc(100dvh - 24px);padding:23px;border-radius:20px}
}
@media(max-width:375px){
 .ch40-hero h1{font-size:31px}
 .ch40-ornament{flex-basis:90px;margin-right:-33px}
 .ch40-ornament span{font-size:43px}
 .ch40-calendar{gap:4px}
 .ch40-milestone-icon{flex-basis:35px;height:39px}
 .ch40-mini-link{font-size:9px;padding:8px}
 .ch40-home-number{font-size:64px}
}