/* ASY OS Habits V125 · Consistency Intelligence */
.habits-pro{max-width:1540px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.hb-hero{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:26px 29px;border:1px solid rgba(214,170,87,.18);border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(214,170,87,.09),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.009))}
.hb-hero>div:first-child>span,.hb-card-head span{font-size:9px;letter-spacing:.16em;color:#bd9953;font-weight:800}.hb-hero h2{font-size:34px;margin:7px 0 8px}.hb-hero p{font-size:11px;line-height:1.6;color:#848990;margin:0}.hb-hero-score{text-align:right}.hb-hero-score b{display:block;font-size:43px;line-height:1;color:#e4c57e}.hb-hero-score span{display:block;margin-top:4px;font-size:10px;color:#c3c5c6;text-transform:uppercase;letter-spacing:.06em}.hb-hero-score small{display:block;margin-top:4px;font-size:8px;color:#646a71}
.hb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(255,255,255,.055);border-radius:14px;background:rgba(255,255,255,.012)}.hb-toolbar .tabs{display:flex;gap:5px;flex-wrap:wrap}.hb-toolbar-actions{display:flex;gap:7px}
.hb-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hb-kpis>div{padding:13px 15px;border:1px solid rgba(255,255,255,.055);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.022),rgba(255,255,255,.009))}.hb-kpis b{font-size:22px;color:#ecece8}.hb-kpis span{display:block;margin-top:4px;font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#9ea2a8}.hb-kpis small{display:block;margin-top:3px;font-size:8px;color:#5d6269}
.hb-main-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(305px,.72fr);gap:14px;align-items:start}.hb-main-grid>main{display:flex;flex-direction:column;gap:14px;min-width:0}.hb-main-grid>aside{display:flex;flex-direction:column;gap:12px;min-width:0;position:sticky;top:12px}
.hb-card{padding:16px;border:1px solid rgba(255,255,255,.06);border-radius:17px;background:rgba(13,14,16,.84);min-width:0}.hb-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.hb-card-head h3{font-size:16px;margin:4px 0 0;color:#e5e5e2}.hb-card-head>b,.hb-card-head>small{font-size:9px;color:#747a81}
.hb-today-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hb-today-card{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.05);border-radius:13px;background:rgba(255,255,255,.014);transition:border-color .16s ease,transform .16s ease}.hb-today-card:hover{transform:translateY(-1px);border-color:rgba(214,170,87,.18)}.hb-today-card.level-full{border-color:rgba(91,144,109,.2)}.hb-today-card.level-minimum{border-color:rgba(214,170,87,.18)}
.hb-today-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.06);background:#111316;color:#b8a064;font-size:13px}.hb-today-main{min-width:0}.hb-today-top{display:flex;justify-content:space-between;gap:8px}.hb-today-top b{font-size:11px;color:#dcdedb}.hb-today-top span{display:block;margin-top:3px;font-size:8px;color:#61676e}.hb-detail{border:0;background:transparent;color:#666c73;cursor:pointer}
.hb-progress{height:5px;border-radius:999px;background:rgba(255,255,255,.04);overflow:hidden;margin-top:9px}.hb-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#796337,#d6aa57)}.level-full .hb-progress i{background:linear-gradient(90deg,#486c55,#7da68b)}.hb-progress-meta{display:flex;justify-content:space-between;gap:8px;margin-top:5px;font-size:7px;color:#666b72}
.hb-today-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.hb-today-bottom>div:first-child strong{font-size:11px;color:#b6b9bc}.hb-today-bottom>div:first-child small{display:block;font-size:7px;color:#5c6168}.hb-state{font-size:7px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.035);color:#72777e}.hb-state.full{color:#7fa58a;background:rgba(90,144,109,.08)}.hb-state.minimum{color:#c6a25c;background:rgba(214,170,87,.07)}.hb-card-actions{display:flex;gap:4px;margin-left:auto}.hb-mini,.hb-close{border:1px solid rgba(255,255,255,.07);background:transparent;color:#7c8289;border-radius:8px;cursor:pointer}.hb-mini{padding:5px 7px;font-size:7px}.hb-mini.gold{border-color:rgba(214,170,87,.22);color:#c3a15c}.hb-mini:hover{border-color:rgba(214,170,87,.32);color:#d3b46b}
.hb-matrix{overflow:auto}.hb-matrix-head,.hb-matrix-row{display:grid;grid-template-columns:minmax(125px,1.8fr) repeat(7,minmax(36px,.55fr));gap:6px;align-items:center;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.035)}.hb-matrix-head>span,.hb-matrix-row>span{font-size:8px;color:#858a91}.hb-matrix-head b{text-align:center;font-size:9px;color:#90959b}.hb-matrix-head small{display:block;font-size:7px;color:#53585f}.hb-matrix-row i{width:24px;height:24px;border-radius:7px;margin:auto;background:#141619;border:1px solid rgba(255,255,255,.04)}.hb-matrix-row i.full{background:rgba(83,137,101,.38);border-color:rgba(101,163,122,.3)}.hb-matrix-row i.minimum{background:rgba(214,170,87,.28);border-color:rgba(214,170,87,.22)}.hb-matrix-row i.open{background:#131519}.hb-matrix-row i.off{opacity:.25;background:transparent;border-style:dashed}
.hb-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hb-heatmap{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.hb-heatmap button,.hb-heat-legend i{aspect-ratio:1;border-radius:5px;border:1px solid rgba(255,255,255,.045);background:#111316;position:relative}.hb-heatmap button{cursor:default}.hb-heatmap button span{font-size:6px;color:#494e54}.hb-heatmap .l1,.hb-heat-legend .l1{background:rgba(113,91,47,.28)}.hb-heatmap .l2,.hb-heat-legend .l2{background:rgba(164,128,60,.45)}.hb-heatmap .l3,.hb-heat-legend .l3{background:rgba(191,151,72,.68)}.hb-heatmap .l4,.hb-heat-legend .l4{background:#d0a754}.hb-heat-legend{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:7px}.hb-heat-legend span{font-size:7px;color:#555b62}.hb-heat-legend i{width:12px;height:12px;aspect-ratio:auto}
.hb-performance,.hb-reasons,.hb-time{display:flex;flex-direction:column;gap:9px}.hb-performance>div{display:grid;grid-template-columns:minmax(105px,1.25fr) 1fr 42px;gap:8px;align-items:center}.hb-performance>div>div b{display:block;font-size:8px;color:#9fa3a8}.hb-performance>div>div span{display:block;font-size:7px;color:#53585e;margin-top:2px}.hb-performance i,.hb-reasons i,.hb-time i{height:5px;border-radius:999px;background:rgba(255,255,255,.04);overflow:hidden}.hb-performance i em,.hb-reasons i b,.hb-time i b{display:block;height:100%;background:linear-gradient(90deg,#7b6537,#d2a955);border-radius:999px}.hb-performance strong,.hb-reasons strong,.hb-time strong{font-size:8px;text-align:right;color:#999ea4}
.hb-reasons>div,.hb-time>div{display:grid;grid-template-columns:100px 1fr 32px;gap:8px;align-items:center}.hb-reasons span,.hb-time span{font-size:8px;color:#7b8087}.hb-note{font-size:7px;line-height:1.5;color:#565b62;margin:10px 0 0}.hb-empty-small{font-size:8px;color:#61666d;padding:16px 0}
.hb-intel{border-color:rgba(214,170,87,.12);background:radial-gradient(circle at 100% 0,rgba(214,170,87,.045),transparent 38%),rgba(13,14,16,.84)}.hb-intel-list{display:flex;flex-direction:column;gap:7px}.hb-intel-list>div{display:grid;grid-template-columns:25px 1fr;gap:8px;padding:8px;border-radius:9px;background:rgba(255,255,255,.016)}.hb-intel-list>div>span{font-size:7px;color:#725e38}.hb-intel-list b{font-size:9px;color:#b9bcbf}.hb-intel-list p{font-size:8px;line-height:1.5;color:#646970;margin:3px 0 0}
.hb-detail-empty{text-align:center;padding:30px 18px;border:1px dashed rgba(255,255,255,.06);border-radius:16px}.hb-detail-empty>div{font-size:24px;color:#76633d}.hb-detail-empty b{display:block;margin-top:6px;font-size:10px;color:#afb2b4}.hb-detail-empty p{font-size:8px;line-height:1.55;color:#5d6269}.hb-detail-panel{padding:15px;border:1px solid rgba(255,255,255,.06);border-radius:16px;background:rgba(13,14,16,.84)}.hb-close{width:28px;height:28px;font-size:15px}.hb-detail-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.hb-detail-kpis>div{padding:9px;border-radius:9px;background:rgba(255,255,255,.018)}.hb-detail-kpis b{font-size:15px;color:#d5d7d5}.hb-detail-kpis span{display:block;margin-top:3px;font-size:7px;color:#5f646b;text-transform:uppercase}.hb-detail-target{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.hb-detail-target span{padding:7px;border-radius:8px;background:rgba(255,255,255,.015);font-size:7px;color:#636970}.hb-detail-target b{display:block;margin-top:2px;font-size:8px;color:#a7abaf}.hb-detail-history{margin-top:9px}.hb-detail-history>div{display:flex;justify-content:space-between;gap:8px;padding:7px 2px;border-top:1px solid rgba(255,255,255,.035)}.hb-detail-history span{font-size:7px;color:#646970}.hb-detail-history b{font-size:7px;color:#777c82}.hb-detail-history b.full{color:#7fa58a}.hb-detail-history b.minimum{color:#bea05e}.hb-detail-actions{display:flex;gap:6px;margin-top:10px}
.hb-weekday-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:8px}.hb-weekday-picker input{display:none}.hb-weekday-picker span{display:block;text-align:center;padding:7px 3px;border:1px solid rgba(255,255,255,.06);border-radius:8px;font-size:8px;color:#666c73}.hb-weekday-picker input:checked+span{border-color:rgba(214,170,87,.28);background:rgba(214,170,87,.06);color:#c5a35e}
.hb-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:13px 15px;border:1px solid rgba(255,255,255,.045);border-radius:14px;background:rgba(255,255,255,.009)}.hb-footer b{font-size:8px;color:#a2a6aa}.hb-footer p{font-size:7px;line-height:1.5;color:#565c63;margin:4px 0 0}
@media(max-width:1180px){.hb-main-grid{grid-template-columns:1fr}.hb-main-grid>aside{position:static;display:grid;grid-template-columns:1fr 1fr}.hb-today-list{grid-template-columns:1fr}.hb-grid-2{grid-template-columns:1fr}}
@media(max-width:760px){.habits-pro{gap:10px}.hb-hero{display:block;padding:19px}.hb-hero h2{font-size:27px}.hb-hero-score{text-align:left;margin-top:15px}.hb-hero-score b{font-size:34px}.hb-toolbar{align-items:stretch}.hb-toolbar .tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.hb-toolbar-actions{width:100%}.hb-toolbar-actions .btn{flex:1}.hb-kpis{grid-template-columns:repeat(2,1fr)}.hb-main-grid>aside{grid-template-columns:1fr}.hb-today-card{grid-template-columns:32px 1fr}.hb-today-icon{width:30px;height:30px}.hb-card-actions{width:100%;margin-left:0}.hb-card-actions .hb-mini{flex:1}.hb-matrix-head,.hb-matrix-row{grid-template-columns:105px repeat(7,34px);min-width:390px}.hb-heatmap{grid-template-columns:repeat(7,1fr)}.hb-footer{grid-template-columns:1fr}.hb-performance>div{grid-template-columns:95px 1fr 38px}.hb-detail-target{grid-template-columns:1fr}}
