/* Agent Development: scoped styles that share the Hub's existing tokens. */
.agent-development{min-width:0}.ad-heading{margin-bottom:12px}.ad-heading p{max-width:800px}.ad-topline{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px}.ad-topline p{margin:0;line-height:1.6}.ad-topline button{flex-shrink:0}
.ad-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.ad-section-head h2{margin:0 0 8px;font-size:1.3rem}.ad-section-head p{margin:0;line-height:1.6}.ad-section-head .eyebrow{margin-bottom:10px}.ad-section-head>button{flex-shrink:0}
.ad-empty{text-align:center;padding:42px 24px}.ad-empty h2{font-size:1.5rem;margin:14px 0 12px}.ad-empty p{max-width:550px;margin:0 auto 24px;line-height:1.7}.ad-empty-icon{width:50px;height:50px;display:grid;place-items:center;margin:auto;background:rgba(205,11,11,.06);border:1px solid rgba(205,11,11,.15);border-radius:12px;color:var(--red);font-size:25px;font-weight:700}
.ad-week-summary{margin-bottom:22px}.ad-week-total{display:flex;align-items:baseline;gap:12px;margin:18px 0 12px}.ad-week-total strong{font-size:2rem;line-height:1.1;letter-spacing:-1px;color:#242934}.ad-week-total span{color:var(--muted);font-size:.86rem}.ad-meter{height:8px;border-radius:20px;background:#eef0f3;overflow:hidden}.ad-meter>span{height:100%;background:var(--red);display:block;border-radius:20px;transition:width .2s}.ad-week-summary>.hint{margin:13px 0 0}
.ad-notice{padding:13px 16px;background:#eef6f0;color:#326048;border:1px solid #d3e4d8;border-radius:8px}.ad-scheduled{padding:16px 20px;border:1px solid var(--border);border-left:3px solid var(--red);border-radius:9px;background:white;margin-bottom:22px}.ad-scheduled strong{font-size:.9rem}.ad-scheduled p{font-size:.85rem;line-height:1.6;margin:6px 0 0}
.ad-habit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:20px;margin-bottom:28px}.ad-habit-card{background:white;border:1px solid var(--border);border-radius:12px;padding:24px;min-width:0}.ad-card-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.ad-category{font-size:.67rem;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);font-weight:700}.ad-card-heading h3{font-size:1.12rem;line-height:1.35;margin:8px 0 0}.ad-frequency{flex-shrink:0;padding:5px 8px;background:#f4f5f7;border:1px solid #e7e9ee;border-radius:6px;color:#667080;font-size:.68rem;font-weight:600}.ad-description{font-size:.87rem;line-height:1.7;margin:16px 0 24px;color:#626b7a}.ad-progress-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}.ad-progress-label strong{font-size:.95rem}.ad-progress-label span{font-size:.74rem;color:var(--muted)}.ad-progress-label .ad-done{color:#35664a;font-weight:700}
.ad-progress-form{display:flex;gap:12px;align-items:flex-end;margin:20px 0 0;flex-wrap:wrap}.ad-count-label{display:grid;gap:7px;font-size:.73rem;font-weight:600;color:#5d6675}.ad-stepper{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;overflow:hidden;width:148px;height:44px}.ad-stepper button{width:44px;height:44px;min-height:44px;border:0;border-radius:0;padding:0;background:#fafbfc;color:#505968;font-size:1.15rem}.ad-stepper input{width:58px;min-width:0;border:0;padding:9px 2px;text-align:center;font:inherit;font-size:.93rem;color:#242934;appearance:textfield;-moz-appearance:textfield}.ad-stepper input::-webkit-inner-spin-button,.ad-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ad-progress-form>button{height:44px;font-size:.8rem;flex:1;white-space:nowrap;min-width:110px}.ad-stepper:focus-within{outline:2px solid var(--red);outline-offset:3px}.ad-saved-hint{font-size:.72rem;line-height:1.5;margin:11px 0 0;color:var(--muted)}.ad-validation{font-size:.8rem;color:var(--red);margin:10px 0 0}.ad-day-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem;margin-bottom:20px;color:#626b7a}.ad-day-label select{max-width:190px;padding:10px;border:1px solid var(--border);border-radius:7px;background:white;font:inherit;color:#333b48;min-height:44px}.ad-daily-summary{font-size:.78rem;margin:11px 0 0}
.ad-plan{margin-bottom:28px}.ad-selection-count{white-space:nowrap;border-radius:7px;padding:8px 11px;background:#f4f5f7;font-size:.8rem;font-weight:600;color:#505968}.ad-choice-list{padding:0;margin:0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.ad-choice{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--border);border-radius:10px;background:white;cursor:pointer;min-width:0}.ad-choice.is-selected{border-color:var(--red);background:rgba(205,11,11,.025)}.ad-choice input{accent-color:var(--red);width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}.ad-choice strong{display:block;font-size:.9rem;line-height:1.5}.ad-choice-goal{display:block;color:var(--red);font-size:.76rem;font-weight:600;margin:5px 0 7px}.ad-choice-copy{display:block;font-size:.8rem;line-height:1.6;color:#667080}.ad-choice:has(input:disabled):not(.is-selected){opacity:.6;cursor:default}.ad-choice:focus-within{outline:2px solid var(--red);outline-offset:2px}.ad-plan-footer{margin-top:24px;padding-top:18px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:18px}.ad-plan-footer p{margin:0;max-width:420px}.ad-actions{display:flex;gap:10px;flex-shrink:0}
.ad-history{margin-top:28px}.ad-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}.ad-stats>div{border-left:2px solid #e9ebef;padding-left:16px}.ad-stats strong{display:block;font-size:1.6rem;color:#303641}.ad-stats span{display:block;font-size:.76rem;color:var(--muted);margin-top:5px;line-height:1.5}.ad-history-list{border-top:1px solid var(--border)}.ad-history-week{border-bottom:1px solid var(--border)}.ad-history-week summary{display:flex;align-items:center;gap:14px;padding:17px 0;cursor:pointer;list-style:none;font-size:.86rem;font-weight:600;color:#424b59}.ad-history-week summary::-webkit-details-marker{display:none}.ad-history-week summary small{font-size:.65rem;font-weight:400;display:inline-block;margin-left:9px;color:var(--muted)}.ad-history-percent{margin-left:auto;color:#424b59}.ad-history-caret{font-size:1.2rem;color:var(--red);width:20px;text-align:center}.ad-history-week[open] .ad-history-caret{transform:rotate(45deg)}.ad-history-week ul{list-style:none;padding:0 0 16px;margin:0}.ad-history-week li{display:flex;justify-content:space-between;gap:18px;padding:7px 0;color:#697282;font-size:.79rem;line-height:1.5}.ad-history-week li strong{font-weight:500;white-space:nowrap}.ad-history>.hint{line-height:1.6;margin:17px 0 0}.ad-privacy{line-height:1.7;margin:22px 0}.ad-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}
@media(max-width:900px){.ad-choice-list{grid-template-columns:1fr}.ad-plan-footer{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.ad-topline{align-items:flex-start}.ad-topline p{font-size:.85rem}.ad-section-head{flex-direction:column;gap:14px}.ad-section-head>button{width:100%}.ad-habit-card{padding:21px}.ad-habit-grid{grid-template-columns:1fr}.ad-card-heading h3{font-size:1.05rem}.ad-stats{gap:10px}.ad-stats>div{padding-left:10px}.ad-stats strong{font-size:1.35rem}.ad-stats span{font-size:.69rem}.ad-actions{width:100%}.ad-actions>button{flex:1;min-width:0;font-size:.8rem}.ad-history-week summary small{display:block;margin:4px 0 0}.ad-history-week li{flex-direction:column;gap:2px}.ad-empty{padding:30px 21px}}@media(prefers-reduced-motion:reduce){.ad-meter>span{transition:none}}
