/* Scoped settings layout: the shared workspace keeps its own sizing and colors. */
.billing-period-picker{display:flex;flex-wrap:wrap;gap:5px;width:fit-content;padding:5px;margin:0 0 20px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.billing-period-picker button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:600 13px var(--font);cursor:pointer}
.billing-period-picker button[aria-pressed=true]{background:var(--green);color:#fff}
.billing-period-picker button>span{border-radius:4px;background:var(--sage);color:var(--green);padding:3px 6px;font-size:11px;white-space:nowrap}
.billing-period-picker button:focus-visible{outline:3px solid #96b278;outline-offset:3px}
.settings-workspace .settings-plan-payment-note{min-height:56px;font-size:12px;line-height:1.7;color:var(--settings-muted);margin-top:9px}
.settings-workspace .settings-plan-payment-note strong{display:block;font-weight:600;color:var(--green)}

.page:has(> .settings-workspace){max-width:none}
.settings-workspace{--settings-muted:#637264;--settings-soft:var(--sage);max-width:1280px;margin:0;color:var(--ink)}
.settings-workspace [hidden]{display:none!important}
.settings-workspace .settings-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.settings-workspace .settings-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:29px;overflow-x:auto;scrollbar-width:thin;padding:0 0 9px;scroll-padding:8px}
.settings-workspace .settings-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:11px 17px;border:0;border-radius:9px;background:transparent;color:var(--settings-muted);font-size:13px;font-weight:550;white-space:nowrap;transition:background .15s,color .15s}
.settings-workspace .settings-tabs button .settings-icon{width:17px;height:17px}
.settings-workspace .settings-tabs button:hover{background:var(--settings-soft)}
.settings-workspace .settings-tabs button[aria-selected=true]{background:var(--green);color:#fff;font-weight:650}
.settings-workspace .settings-tab-panel{outline-offset:6px;min-width:0}
.settings-workspace .settings-section-heading{margin-bottom:23px}
.settings-workspace .settings-section-heading h2{font-size:22px;line-height:1.4;letter-spacing:-.65px}
.settings-workspace .settings-section-heading p{margin-top:6px;font-size:13px;line-height:1.6;color:var(--settings-muted)}
.settings-workspace .settings-columns{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:22px;align-items:start}
.settings-workspace .settings-card{min-width:0;padding:28px;border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:var(--shadow)}
.settings-workspace .settings-setting-row{display:flex;align-items:center;justify-content:space-between;gap:28px}
.settings-workspace .settings-project-tracking{border-top:1px solid var(--line);padding-top:23px;margin-top:24px}
.settings-workspace .settings-row-copy{min-width:0}
.settings-workspace .settings-row-copy h3,.settings-workspace .settings-row-copy strong{font-size:14px;line-height:1.5;font-weight:650;display:block}
.settings-workspace .settings-row-copy p,.settings-workspace .settings-row-copy>span{display:block;color:var(--settings-muted);font-size:12px;line-height:1.65;margin-top:4px;max-width:390px}
.settings-workspace .settings-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:550;margin:0}
.settings-workspace .settings-field select,.settings-workspace .settings-field input{min-height:45px;width:100%;font-size:13px;line-height:1.5;border-radius:8px;padding:10px 12px}
.settings-workspace .settings-setting-row>.settings-field{flex:0 0 185px}
.settings-workspace .settings-setting-row>.settings-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.settings-workspace .settings-appearance{border:0;border-top:1px solid var(--line);padding:23px 0 0;margin:24px 0 0;min-width:0;display:block}
.settings-workspace .settings-appearance legend{float:left;width:100%;padding:0;font-size:14px;font-weight:650;line-height:1.5}
.settings-workspace .settings-appearance>p{clear:both;padding-top:4px;color:var(--settings-muted);font-size:12px;line-height:1.6}
.settings-workspace .settings-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px}
.settings-workspace .settings-theme-option{position:relative;display:flex;flex-direction:column;cursor:pointer;min-width:0;border:1px solid transparent;border-radius:10px;padding:4px;isolation:isolate}
.settings-workspace .settings-theme-option>input{position:absolute;opacity:0;width:1px;height:1px;margin:0;inset:30px auto auto 30px}
.settings-workspace .settings-theme-option:has(input:focus-visible){outline:3px solid #96b278;outline-offset:3px}
.settings-workspace .settings-theme-option:has(input:checked){border-color:var(--green);background:var(--settings-soft)}
.settings-workspace .settings-theme-option:hover:not(:has(input:checked)){border-color:var(--line)}
.settings-workspace .settings-theme-art{height:86px;display:block;position:relative;border:1px solid #dbe4d6;border-radius:6px;background:#f3f6ee;overflow:hidden;padding:16px 12px 12px 26px}
.settings-workspace .settings-theme-art:before{content:'';position:absolute;left:0;top:0;bottom:0;width:17px;background:#e1e8d8;border-right:1px solid #d3ddc8}
.settings-workspace .settings-theme-art i{display:block;height:5px;border-radius:4px;background:#dbe6d0;margin-bottom:6px;width:68%}
.settings-workspace .settings-theme-art i:first-child{height:15px;background:#fafcf7;width:100%;border:1px solid #e1e8d9}
.settings-workspace .settings-theme-art i:last-of-type{width:43%}
.settings-workspace .settings-theme-dark{background:#24382b;border-color:#455c47}
.settings-workspace .settings-theme-dark:before{background:#1a2b20;border-color:#3d523e}
.settings-workspace .settings-theme-dark i{background:#526949}
.settings-workspace .settings-theme-dark i:first-child{background:#354c36;border-color:#455c40}
.settings-workspace .settings-theme-auto{background:linear-gradient(100deg,#f3f6ee 52%,#24382b 52%)}
.settings-workspace .settings-theme-auto i:first-child{background:linear-gradient(100deg,#fafcf7 39%,#354c36 39%);border-color:#9cae8e}
.settings-workspace .settings-theme-art b{display:none;position:absolute;right:6px;bottom:6px;width:21px;height:21px;border-radius:50%;place-items:center;color:#fff;background:var(--green);box-shadow:0 0 0 2px var(--panel)}
.settings-workspace .settings-theme-art b .settings-icon{width:14px;height:14px}
.settings-workspace .settings-theme-option input:checked+.settings-theme-art b{display:grid}
.settings-workspace .settings-theme-title{font-size:12px;font-weight:650;margin:8px 5px 2px;line-height:1.4}
.settings-workspace .settings-theme-option small{font-size:12px;line-height:1.5;color:var(--settings-muted);margin:0 5px 5px}
.settings-workspace .settings-weather{padding-top:23px;margin-top:24px;border-top:1px solid var(--line)}
.settings-workspace .settings-weather-details{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.settings-workspace .settings-weather-details:has(.settings-field:not([hidden])){margin-top:18px}
.settings-workspace .settings-note{display:flex;align-items:flex-start;gap:9px;color:var(--settings-muted);font-size:12px;line-height:1.7;margin:18px 0 0}
.settings-workspace .settings-note>.settings-icon{width:15px;height:15px;margin-top:2px;color:var(--green)}
.settings-workspace .settings-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:23px;margin-top:24px;cursor:pointer}
.settings-workspace .settings-switch{position:relative;display:block;flex:0 0 42px;height:24px}
.settings-workspace .settings-switch>input{position:absolute;width:100%;height:100%;margin:0;inset:0;opacity:0;cursor:pointer;z-index:2}
.settings-workspace .settings-switch>span{display:block;width:42px;height:24px;background:#cad3c5;border-radius:15px;border:1px solid #bdc9b7;transition:background .15s}
.settings-workspace .settings-switch>span:after{content:'';display:block;width:18px;height:18px;margin:2px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #22382420;transition:transform .15s}
.settings-workspace .settings-switch>input:checked+span{background:var(--green);border-color:var(--green)}
.settings-workspace .settings-switch>input:checked+span:after{transform:translateX(18px)}
.settings-workspace .settings-switch>input:focus-visible+span{outline:3px solid #96b278;outline-offset:3px}
.settings-workspace .settings-aside{border-radius:15px;padding:26px;background:var(--settings-soft);min-width:0}
.settings-workspace .settings-aside h3{font-size:15px;line-height:1.55;letter-spacing:-.2px}
.settings-workspace .settings-aside p{color:var(--settings-muted);font-size:12px;line-height:1.8;margin-top:11px}
.settings-workspace .settings-calm-note{position:relative;overflow:hidden;padding-bottom:78px;min-height:280px}
.settings-workspace .settings-leaf-art{width:42px;height:42px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--green) 15%,transparent);border-radius:12px;background:var(--panel);color:var(--green);margin-bottom:20px;transform:rotate(-8deg)}
.settings-workspace .settings-leaf-art .settings-icon{width:26px;height:26px}
.settings-workspace .settings-calm-decoration{position:absolute;bottom:-34px;left:0;right:0;height:90px;opacity:.55;pointer-events:none}
.settings-workspace .settings-calm-decoration span{position:absolute;bottom:0;left:-25px;width:210px;height:90px;background:color-mix(in srgb,var(--green) 13%,transparent);border-radius:50%}
.settings-workspace .settings-calm-decoration span:nth-child(2){left:90px;bottom:15px;width:230px;background:color-mix(in srgb,var(--green) 9%,transparent)}
.settings-workspace .settings-calm-decoration span:nth-child(3){left:50px;bottom:-20px;width:310px;background:color-mix(in srgb,var(--green) 17%,transparent)}
.settings-workspace .settings-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 22px}
.settings-workspace .settings-number-field{position:relative}
.settings-workspace .settings-number-field>input{padding-right:85px;font-size:18px;font-weight:550;min-height:55px;font-variant-numeric:tabular-nums}
.settings-workspace .settings-number-field>span{position:absolute;right:30px;top:50%;transform:translateY(-50%);color:var(--settings-muted);font-size:12px;font-weight:400;pointer-events:none}
.settings-workspace .settings-rhythm-number{font:650 44px/1.2 'Manrope',var(--font);letter-spacing:-1.8px;margin-top:22px;color:var(--ink);font-variant-numeric:tabular-nums}
.settings-workspace .settings-rhythm-number>span{font:500 13px var(--font);letter-spacing:0;margin-left:7px;color:var(--settings-muted)}
.settings-workspace .settings-rhythm-caption{font-size:12px!important;margin-top:4px!important}
.settings-workspace .settings-rhythm-track{height:13px;display:flex;gap:3px;margin-top:23px;overflow:hidden;border-radius:5px}
.settings-workspace .settings-rhythm-segment{min-width:3px;border-radius:2px}
.settings-workspace .settings-rhythm-work{background:var(--green)}
.settings-workspace .settings-rhythm-break{background:#c5d8ab}
.settings-workspace .settings-rhythm-long{background:#cca67c}
.settings-workspace .settings-rhythm-legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--settings-muted);margin-top:11px}
.settings-workspace .settings-rhythm-legend>span{display:flex;gap:5px;align-items:center}
.settings-workspace .settings-rhythm-legend i{width:6px;height:6px;border-radius:2px}
.settings-workspace .settings-rhythm-summary{font-size:12px!important;font-variant-numeric:tabular-nums;margin-top:12px!important}
.settings-workspace .settings-rhythm-hint{border-top:1px solid color-mix(in srgb,var(--green) 17%,transparent);padding-top:18px;margin-top:20px!important;font-size:12px!important}
.settings-workspace .settings-profile-row{display:flex;align-items:center;gap:20px;padding-bottom:28px}
.settings-workspace .settings-avatar{width:64px;height:64px;border-radius:18px;flex-shrink:0;display:grid;place-items:center;background:var(--settings-soft);color:var(--green);font:650 27px 'Manrope',var(--font)}
.settings-workspace .settings-profile-copy{flex:1;min-width:0}
.settings-workspace .settings-profile-copy h3{font-size:18px;overflow-wrap:anywhere}
.settings-workspace .settings-profile-copy p{font-size:12px;color:var(--settings-muted);margin:4px 0 8px;overflow-wrap:anywhere}
.settings-workspace .settings-badge{display:inline-flex;align-items:center;gap:5px;background:var(--settings-soft);color:var(--green);padding:3px 8px;border-radius:5px;font-size:12px;font-weight:600;white-space:nowrap}
.settings-workspace .settings-badge .settings-icon{width:12px;height:12px}
.settings-workspace .settings-account-row{display:flex;align-items:center;gap:18px;padding-top:27px;margin-top:0;border-top:1px solid var(--line)}
.settings-workspace .settings-account-row+.settings-account-row{margin-top:27px}
.settings-workspace .settings-account-row .settings-row-copy{flex:1}
.settings-workspace .settings-action-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;color:var(--green);background:var(--settings-soft);border-radius:10px}
.settings-workspace .settings-status-pill{display:inline-block;vertical-align:middle;padding:2px 7px;border:1px solid var(--line);border-radius:5px;color:var(--settings-muted);font:500 12px/1.5 var(--font);margin-left:5px}
.settings-workspace .settings-status-pill.is-enabled{background:var(--settings-soft);color:var(--green)}
.settings-workspace .settings-account-row .button,.settings-workspace .settings-profile-row .button{font-size:12px;min-height:43px}
.settings-workspace .settings-logout{color:#a3463d}
.settings-workspace .settings-current-plan{display:flex;align-items:center;gap:13px;margin-bottom:19px;background:var(--settings-soft);padding:18px 20px;border-radius:12px}
.settings-workspace .settings-current-plan .settings-action-icon{background:var(--panel)}
.settings-workspace .settings-current-plan>div>span{display:block;font-size:12px;color:var(--settings-muted)}
.settings-workspace .settings-current-plan>div>strong{font-size:16px;line-height:1.7}
.settings-workspace .settings-current-plan>p{margin-left:auto;font-size:12px;color:var(--settings-muted);text-align:right}
.settings-workspace .settings-current-plan>p>strong{display:block;color:var(--ink);font-weight:550;margin-top:3px}
.settings-workspace .settings-plans-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.settings-workspace .settings-plan-card{border:1px solid var(--line);border-radius:14px;padding:26px;background:var(--panel);display:flex;flex-direction:column;min-width:0}
.settings-workspace .settings-plan-card.is-current{border-color:color-mix(in srgb,var(--green) 60%,var(--line))}
.settings-workspace .settings-plan-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.settings-workspace .settings-plan-heading h3{font-size:17px;overflow-wrap:anywhere}
.settings-workspace .settings-plan-price{font:650 30px/1.5 'Manrope',var(--font);letter-spacing:-1px;margin-top:16px;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.settings-workspace .settings-plan-price small{font:400 12px var(--font);color:var(--settings-muted);letter-spacing:0}
.settings-workspace .settings-plan-limits{margin:20px 0 24px;padding-top:5px;border-top:1px solid var(--line)}
.settings-workspace .settings-plan-limits>div{display:flex;justify-content:space-between;gap:20px;margin-top:12px;font-size:12px}
.settings-workspace .settings-plan-limits dt{color:var(--settings-muted)}
.settings-workspace .settings-plan-limits dd{margin:0;text-align:right;flex-shrink:0;font-weight:600;font-variant-numeric:tabular-nums}
.settings-workspace .settings-plan-card>.button{margin-top:auto;font-size:12px;min-height:44px}
.settings-workspace .settings-plan-free{text-align:center;min-height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--settings-muted);margin-top:auto;background:var(--bg)}
.settings-workspace .settings-invoices{margin-top:27px}
.settings-workspace .settings-invoices>h3{font-size:16px}
.settings-workspace .settings-invoices>p{font-size:12px;color:var(--settings-muted);margin-top:5px}
.settings-workspace .settings-empty-invoices{display:flex;align-items:center;gap:16px;padding:22px;background:var(--bg);border:1px dashed var(--line);border-radius:10px;margin-top:20px}
.settings-workspace .settings-empty-invoices>.settings-icon{width:27px;height:27px;color:var(--settings-muted)}
.settings-workspace .settings-empty-invoices strong{font-size:12px;font-weight:550}
.settings-workspace .settings-empty-invoices p{font-size:12px;color:var(--settings-muted);margin-top:3px}
.settings-workspace .settings-invoice-list{margin-top:19px}
.settings-workspace .settings-invoice{display:flex;align-items:center;gap:15px;padding:15px 0;border-top:1px solid var(--line);color:var(--ink)}
.settings-workspace .settings-invoice:hover .settings-invoice-name strong{text-decoration:underline;text-underline-offset:3px}
.settings-workspace .settings-invoice-name{min-width:0;flex:1}
.settings-workspace .settings-invoice-name strong{font-size:12px;overflow-wrap:anywhere}
.settings-workspace .settings-invoice-name small{display:block;font-size:12px;color:var(--settings-muted);margin-top:3px}
.settings-workspace .settings-invoice-price{font-size:12px;white-space:nowrap}
.settings-workspace .settings-invoice>.settings-icon{width:16px;height:16px;color:var(--green);margin-left:10px}
.settings-workspace .settings-export-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--settings-soft);color:var(--green);margin-bottom:22px}
.settings-workspace .settings-export-icon>.settings-icon{width:23px;height:23px}
.settings-workspace .settings-export h3{font-size:19px}
.settings-workspace .settings-export p{font-size:13px;line-height:1.8;color:var(--settings-muted);margin-top:9px;max-width:420px}
.settings-workspace .settings-export>.button{font-size:12px;min-height:44px;margin-top:20px}
.settings-workspace .settings-export>.button>.settings-icon{width:16px;height:16px}
.settings-workspace .settings-privacy .settings-action-icon{background:var(--panel);margin-bottom:18px}
.settings-workspace .settings-privacy ul{margin:13px 0 0;padding:0;list-style:none}
.settings-workspace .settings-privacy li{color:var(--settings-muted);font-size:12px;line-height:1.8;padding:12px 0;border-bottom:1px solid color-mix(in srgb,var(--green) 12%,transparent)}
.settings-workspace .settings-privacy li:first-child{padding-top:0}
.settings-workspace .settings-privacy li:last-child{border-bottom:0;padding-bottom:0}

.settings-workspace .settings-save-status{display:flex;align-items:center;gap:7px;color:var(--settings-muted);font-size:12px;line-height:1.5}
.settings-workspace .settings-save-status>.settings-icon{width:15px;height:15px;color:var(--green)}
.settings-workspace .settings-save-status[data-state=error],.settings-workspace .settings-status-error{color:#a3463d}


body.dark .settings-workspace{--settings-muted:#acbba7}
body.dark .settings-workspace .settings-tabs button[aria-selected=true],body.dark .settings-workspace .button.primary{background:#46623c;border-color:#46623c;color:#fff}
body.dark .settings-workspace .button.primary:hover{background:#3c5633;border-color:#3c5633}
body.dark .settings-workspace .settings-logout,body.dark .settings-workspace .settings-save-status[data-state=error],body.dark .settings-workspace .settings-status-error{color:#eca89f}
body.dark .settings-workspace .settings-switch>span{background:#52644e;border-color:#64725e}
body.dark .settings-workspace .settings-theme-art b{background:#54764a}
@media(min-width:1450px){.settings-workspace .settings-columns{grid-template-columns:minmax(0,1fr) 285px;gap:26px}.settings-workspace .settings-card{padding:31px}.settings-workspace .settings-theme-art{height:94px}}
@media(max-width:1100px){.settings-workspace .settings-columns{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.settings-workspace .settings-card{padding:23px}.settings-workspace .settings-aside{padding:22px}.settings-workspace .settings-calm-note{padding-bottom:76px}.settings-workspace .settings-setting-row{gap:16px}.settings-workspace .settings-setting-row>.settings-field{flex-basis:162px}.settings-workspace .settings-theme-options{gap:7px}.settings-workspace .settings-theme-option small{font-size:12px}.settings-workspace .settings-tabs button{padding-inline:13px;font-size:12px}}
@media(max-width:850px){.settings-workspace .settings-columns{grid-template-columns:minmax(0,1fr)}.settings-workspace .settings-calm-note{display:none}.settings-workspace .settings-rhythm{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.settings-workspace .settings-rhythm>h3{grid-column:1;align-self:start}.settings-workspace [data-settings-rhythm]{grid-column:1;grid-row:2/4}.settings-workspace .settings-rhythm-hint{grid-column:2;grid-row:1/4;align-self:center;border:0;border-left:1px solid var(--line);padding:8px 0 8px 22px;margin:0!important}.settings-workspace .settings-rhythm-number{margin-top:12px}.settings-workspace .settings-privacy{display:grid;grid-template-columns:38px 1fr;column-gap:15px}.settings-workspace .settings-privacy .settings-action-icon{margin:0;grid-row:1/3}.settings-workspace .settings-privacy ul{grid-column:2}.settings-workspace .settings-account-row{flex-wrap:wrap}.settings-workspace .settings-account-row .settings-row-copy{flex-basis:calc(100% - 65px)}.settings-workspace .settings-account-row>.button{margin-left:56px}}
@media(max-width:560px){.settings-workspace .settings-tabs{margin-right:-18px;padding-right:18px;margin-bottom:25px;gap:4px}.settings-workspace .settings-tabs button{min-height:43px;padding:10px 12px}.settings-workspace .settings-tabs button .settings-icon{width:15px;height:15px}.settings-workspace .settings-section-heading h2{font-size:20px}.settings-workspace .settings-section-heading p{font-size:12px;max-width:320px}.settings-workspace .settings-card{padding:20px;border-radius:12px}.settings-workspace .settings-setting-row{display:block}.settings-workspace .settings-setting-row>.settings-field{margin-top:12px}.settings-workspace .settings-theme-options{margin-inline:-3px;gap:5px}.settings-workspace .settings-theme-art{height:75px;padding-left:23px;padding-inline-end:8px}.settings-workspace .settings-theme-title{font-size:12px;margin-inline:3px}.settings-workspace .settings-theme-option small{display:none}.settings-workspace .settings-theme-art:before{width:15px}.settings-workspace .settings-weather-details{gap:12px;grid-template-columns:minmax(0,1fr)}.settings-workspace .settings-row-copy p,.settings-workspace .settings-row-copy>span{font-size:12px}.settings-workspace .settings-note{font-size:12px}.settings-workspace .settings-metric-grid{gap:20px 12px}.settings-workspace .settings-metric-grid .settings-field>span{min-height:36px;display:flex;align-items:end;font-size:12px}.settings-workspace .settings-number-field>input{padding-right:78px;font-size:17px}.settings-workspace .settings-number-field>span{right:25px;font-size:12px}.settings-workspace .settings-rhythm{grid-template-columns:1fr;padding:21px}.settings-workspace .settings-rhythm>h3,.settings-workspace [data-settings-rhythm],.settings-workspace .settings-rhythm-hint{grid-column:auto;grid-row:auto}.settings-workspace .settings-rhythm-hint{border:0;border-top:1px solid var(--line);padding:16px 0 0;margin-top:18px!important}.settings-workspace .settings-rhythm-track{height:15px}.settings-workspace .settings-profile-row{flex-wrap:wrap;gap:15px}.settings-workspace .settings-avatar{width:53px;height:53px;border-radius:14px;font-size:23px}.settings-workspace .settings-profile-copy h3{font-size:16px}.settings-workspace .settings-profile-copy p{font-size:12px}.settings-workspace .settings-profile-row>.button{width:100%}.settings-workspace .settings-account-row{gap:13px}.settings-workspace .settings-account-row>.settings-action-icon{width:32px;height:32px;border-radius:9px;align-self:flex-start}.settings-workspace .settings-account-row .settings-row-copy{flex-basis:calc(100% - 45px)}.settings-workspace .settings-account-row>.button{margin-left:45px}.settings-workspace .settings-status-pill{margin-left:0;margin-top:5px;display:table}.settings-workspace .settings-plans-grid{grid-template-columns:1fr;gap:15px}.settings-workspace .settings-plan-card{padding:22px}.settings-workspace .settings-current-plan{padding:15px;gap:10px;flex-wrap:wrap}.settings-workspace .settings-current-plan>p{font-size:12px}.settings-workspace .settings-invoice{gap:10px}.settings-workspace .settings-invoice>.settings-action-icon{display:none}.settings-workspace .settings-invoice-price{font-size:12px}.settings-workspace .settings-invoice-name strong{font-size:12px}.settings-workspace .settings-empty-invoices{padding:17px;gap:12px}.settings-workspace .settings-empty-invoices p{font-size:12px}.settings-workspace .settings-save-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){.settings-workspace *,.settings-workspace *:before,.settings-workspace *:after{transition:none!important;scroll-behavior:auto!important}}

.settings-workspace .settings-world-context{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;margin-bottom:19px;border:1px solid var(--line);border-radius:11px;background:var(--settings-soft)}
.settings-workspace .settings-world-context>.settings-icon{width:22px;height:22px;margin-top:3px;color:var(--green)}
.settings-workspace .settings-world-context>div{min-width:0;flex:1}
.settings-workspace .settings-world-context>div>span{font-size:10px;color:var(--settings-muted)}
.settings-workspace .settings-world-context strong{display:block;font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.settings-workspace .settings-world-context p{margin-top:4px;font-size:11px;line-height:1.65;color:var(--settings-muted);max-width:790px}
.settings-workspace .settings-world-defaults{padding-bottom:23px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.settings-workspace .settings-world-defaults>h3{font-size:14px;font-weight:650;margin:0 0 16px}
.settings-workspace .settings-world-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.settings-workspace .settings-world-fields>div{min-width:0}
.settings-workspace .settings-world-fields .settings-field>span:not(.project-picker){min-height:36px;display:flex;align-items:flex-end;line-height:1.5}
.settings-workspace .settings-world-fields .project-picker-input{padding-right:43px}
.settings-workspace .settings-number-field>input:disabled{opacity:.65;cursor:default;background:var(--bg)}
.settings-workspace .settings-world-fields select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settings-workspace .settings-world-fields select:disabled{opacity:.65;cursor:default;background:var(--bg)}
.settings-workspace .settings-world-field-hint{font-size:11px;line-height:1.65;color:var(--settings-muted);margin-top:8px}
.settings-workspace .settings-general-scope{font-size:11px;line-height:1.65;color:var(--settings-muted);margin-bottom:19px}
@media(min-width:851px) and (max-width:1100px){.settings-workspace .settings-world-fields{grid-template-columns:minmax(0,1fr)}.settings-workspace .settings-world-fields .settings-field>span:not(.project-picker){min-height:0}}
@media(max-width:560px){.settings-workspace .settings-world-context{padding:13px;gap:9px;margin-bottom:15px}.settings-workspace .settings-world-context>.settings-icon{width:18px;height:18px}.settings-workspace .settings-world-context p{font-size:11px}.settings-workspace .settings-world-fields{grid-template-columns:minmax(0,1fr);gap:18px}.settings-workspace .settings-world-fields .settings-field>span:not(.project-picker){min-height:0}.settings-workspace .settings-world-defaults{padding-bottom:20px;margin-bottom:17px}.settings-workspace .settings-world-defaults>h3{margin-bottom:14px}}
.settings-workspace .settings-server-reminders{border:0;border-top:1px solid var(--line);padding:25px 0;margin:0;min-width:0}
.settings-workspace .settings-reminder-heading h3{font-size:16px;margin:0 0 7px}
.settings-workspace .settings-reminder-heading p,.settings-workspace .settings-reminder-footnote,.settings-workspace .settings-reminder-warning{font-size:12px;line-height:1.65;color:var(--settings-muted)}
.settings-workspace .settings-reminder-channel{display:flex;align-items:flex-start;gap:12px;padding:17px 0 8px;cursor:pointer}
.settings-workspace .settings-reminder-channel>input{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:var(--green)}
.settings-workspace .settings-reminder-channel>span{display:grid;gap:4px;min-width:0}
.settings-workspace .settings-reminder-channel strong{font-size:14px}
.settings-workspace .settings-reminder-channel small{font-size:12px;color:var(--settings-muted);overflow-wrap:anywhere}
.settings-workspace .settings-reminder-channel:has(input:disabled){cursor:default;opacity:.7}
.settings-workspace .settings-reminder-warning{margin:0 0 7px 32px}
.settings-workspace .settings-reminder-phone{max-width:360px;margin:16px 0 12px 32px}
.settings-workspace .settings-reminder-phone>span{font-size:13px}
.settings-workspace .settings-reminder-phone small{font-size:11px;line-height:1.6;color:var(--settings-muted)}
.settings-workspace .settings-reminder-footnote{margin-left:32px}
@media(max-width:560px){.settings-workspace .settings-reminder-phone{margin-left:0;max-width:none}.settings-workspace .settings-reminder-warning,.settings-workspace .settings-reminder-footnote{margin-left:0}}

/* One settings workspace: compact internal navigation and a shared save bar. */
.settings-workspace .settings-layout{display:grid;grid-template-columns:188px minmax(0,1fr);gap:0 28px;align-items:start}
.settings-workspace .settings-main{grid-column:2;min-width:0}
.settings-workspace .settings-tabs{grid-column:1;grid-row:1;position:sticky;top:20px;display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;padding:0 15px 0 0;border:0;border-right:1px solid var(--line);overflow:visible}
.settings-workspace .settings-tabs button{width:100%;min-width:0;justify-content:flex-start;padding:11px 12px;text-align:left;white-space:normal;line-height:1.45}
.settings-workspace .settings-tabs button span{min-width:0;overflow-wrap:anywhere}
.settings-workspace .settings-section-heading{margin-bottom:18px}
.settings-workspace .settings-section-heading h2{font-size:21px}
.settings-workspace .settings-section-heading p{max-width:650px}
.settings-workspace .settings-card{padding:22px;border-radius:13px;box-shadow:none}
.settings-workspace .settings-theme-art{height:68px;padding-top:10px}
.settings-workspace .settings-theme-options{gap:10px}
.settings-workspace .settings-theme-option small{font-size:11px}
.settings-workspace .settings-world-context{padding:12px 15px;margin-bottom:17px;gap:10px;border-radius:10px}
.settings-workspace .settings-world-context>div{display:flex;flex-wrap:wrap;gap:3px 10px;align-items:baseline;min-width:0}
.settings-workspace .settings-world-context span{font-size:11px}
.settings-workspace .settings-world-context strong{font-size:13px;overflow-wrap:anywhere}
.settings-workspace .settings-world-context p{flex-basis:100%;margin:3px 0 0;font-size:11px}
.settings-workspace .settings-world-defaults{padding:0;margin:0;border:0}
.settings-workspace .settings-world-defaults>h3{display:none}
.settings-workspace .settings-world-fields{grid-template-columns:minmax(0,1fr);gap:19px}
.settings-workspace .settings-world-fields .settings-field>span:not(.project-picker){min-height:0}
.settings-workspace .settings-rhythm{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.settings-workspace .settings-rhythm h3{font-size:14px}
.settings-workspace .settings-rhythm-number{font-size:30px;margin-top:13px}
.settings-workspace .settings-rhythm-track{margin-top:15px}
.settings-workspace .settings-rhythm-hint{margin-top:14px!important;padding-top:12px;line-height:1.65;color:var(--settings-muted)}
.settings-workspace .settings-profile-row{gap:14px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.settings-workspace .settings-avatar{width:44px;height:44px;border-radius:13px;font-size:21px}
.settings-workspace .settings-profile-copy h3{font-size:15px}
.settings-workspace .settings-profile-copy p{margin:3px 0 6px}
.settings-workspace .profile-form{--profile-muted:var(--settings-muted)}
.settings-workspace .profile-section:last-child{margin-bottom:0}
.settings-workspace .profile-security-fields{border-top:1px solid var(--line);padding-top:20px;margin-top:23px}
.settings-workspace .settings-session-row{padding-top:20px;margin-top:22px}
.settings-workspace .settings-browser-reminders{padding-top:0;border-top:0;align-items:flex-start;flex-wrap:wrap;gap:12px}
.settings-workspace .settings-browser-reminders>.settings-row-copy{flex:1 1 240px}
.settings-workspace .settings-browser-reminders>.button{margin-left:50px}
.settings-workspace .settings-browser-reminders h3{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px}
.settings-workspace .settings-status-pill{margin-left:0}
.settings-workspace .settings-server-reminders{padding:20px 0 0;margin-top:21px}
.settings-workspace .settings-reminder-heading h3{font-size:14px}
.settings-workspace .settings-billing-details{margin-top:22px}
.settings-workspace .settings-billing-details .profile-billing{border:0;padding:0;margin:0}
.settings-workspace .settings-plan-card{padding:22px}
.settings-workspace .settings-plans-grid{gap:15px}
.settings-workspace .settings-current-plan{padding:15px 18px}
.settings-workspace .settings-export{display:flex;gap:17px;align-items:flex-start}
.settings-workspace .settings-export-icon{width:39px;height:39px;flex:0 0 39px;margin:0}
.settings-workspace .settings-export>div{min-width:0}
.settings-workspace .settings-export h3{font-size:16px}
.settings-workspace .settings-export p{margin-top:6px;max-width:none;font-size:12px}
.settings-workspace .settings-export .button{margin-top:16px;font-size:12px;white-space:normal;min-height:42px}
.settings-workspace .settings-privacy{margin-top:20px}
.settings-workspace .settings-privacy h3{font-size:14px}
.settings-workspace .settings-privacy ul{margin-top:10px}
.settings-workspace .settings-privacy li{padding:10px 0;line-height:1.65}
.settings-workspace .settings-demo-account{display:grid;justify-items:start;gap:13px}
.settings-workspace .settings-demo-account h3{font-size:16px}
.settings-workspace .settings-demo-account p,.settings-workspace .settings-demo-reminders p{font-size:12px;color:var(--settings-muted);line-height:1.65}
.settings-workspace .settings-demo-reminders{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.settings-workspace .settings-demo-reminders .button{margin-top:12px}



@media(min-width:761px) and (max-width:1100px){
 .settings-workspace .settings-layout{grid-template-columns:163px minmax(0,1fr);column-gap:20px}
 .settings-workspace .settings-tabs{padding-right:11px}.settings-workspace .settings-tabs button{padding-inline:10px;font-size:12px}
 .settings-workspace .settings-setting-row{flex-wrap:wrap;gap:13px}.settings-workspace .settings-setting-row>.settings-field{flex:1 1 100%}
 .settings-workspace .settings-plans-grid{grid-template-columns:minmax(0,1fr)}
 .settings-workspace .profile-grid{grid-template-columns:minmax(0,1fr)}
 .settings-workspace .profile-timezone-control{flex-wrap:wrap}.settings-workspace .profile-timezone-control>input{min-width:140px}
}
@media(max-width:760px){
 .settings-workspace .settings-layout{display:block}
 .settings-workspace .settings-tabs{position:static;flex-direction:row;flex-wrap:wrap;gap:5px;padding:0 0 16px;margin-bottom:20px;border:0;border-bottom:1px solid var(--line);overflow:visible}
 .settings-workspace .settings-tabs button{width:auto;max-width:100%;flex:0 1 auto;min-height:42px;padding:9px 11px;gap:6px;font-size:12px;justify-content:center}
 .settings-workspace .settings-tabs button .settings-icon{width:16px;height:16px}
 
 .settings-workspace .settings-card{padding:19px}
 .settings-workspace .settings-world-context{padding:11px 13px}
}
@media(max-width:480px){
 .settings-workspace .settings-tabs button{padding:9px 10px}.settings-workspace .settings-tabs button .settings-icon{display:none}
 .settings-workspace .settings-card{padding:17px}.settings-workspace .settings-theme-options{gap:5px}
 .settings-workspace .settings-theme-art{height:58px;padding-left:18px;padding-right:6px}.settings-workspace .settings-theme-title{font-size:11px;margin-inline:3px}
 .settings-workspace .settings-theme-option small{font-size:10px;margin-inline:3px}
 .settings-workspace .settings-weather-details,.settings-workspace .settings-metric-grid{grid-template-columns:minmax(0,1fr)}
 .settings-workspace .settings-browser-reminders>.settings-row-copy{flex-basis:calc(100% - 50px)}
 .settings-workspace .settings-browser-reminders>.button{margin-left:0;width:100%}
 .settings-workspace .settings-session-row{align-items:flex-start;flex-wrap:wrap;gap:12px}.settings-workspace .settings-session-row>.button{margin-left:50px}
 .settings-workspace .settings-export{gap:12px}.settings-workspace .settings-export-icon{display:none}
 
 
}

/* Automatic saving stays visible as a status line, with an action only on error. */
.settings-workspace :is(input,select,textarea)[aria-invalid="true"]{border-color:#b9695e;box-shadow:0 0 0 2px #b9695e26}
.settings-workspace .settings-savebar{grid-column:2;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:5px 14px;min-width:0;min-height:30px;padding:11px 2px 0;margin-top:8px;border:0;border-radius:0;background:transparent;box-shadow:none;position:static}
.settings-workspace .settings-save-status{min-width:0;flex:0 1 auto;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.settings-workspace .settings-save-status>span{min-width:0}
.settings-workspace .settings-save-status[data-state=saving]{color:var(--settings-muted)}
.settings-workspace .settings-save-status[data-state=error]{color:#a3463d}
.settings-workspace .settings-save-status[data-state=error]>.settings-icon{color:inherit}
.settings-workspace .settings-retry{flex:0 0 auto;min-height:36px;padding:6px 9px;border:1px solid currentColor;border-radius:7px;background:transparent;color:#a3463d;font-size:12px;font-weight:600;line-height:1.5;text-align:center;white-space:normal}
.settings-workspace .settings-retry:hover{background:color-mix(in srgb,currentColor 7%,transparent)}
.settings-workspace .settings-retry:focus-visible{outline:3px solid #96b278;outline-offset:3px}
body.dark .settings-workspace .settings-retry,body.dark .settings-workspace .settings-save-status[data-state=error]{color:#eca89f}
@media(max-width:760px){.settings-workspace .settings-savebar{padding-top:9px;gap:5px 11px}.settings-workspace .settings-retry{min-height:44px}}
.settings-workspace .settings-payment-methods{margin-bottom:20px}.settings-workspace .settings-payment-methods h3{font-size:15px;margin:0 0 9px}.settings-workspace .settings-payment-methods .field{max-width:420px;margin:0}.settings-workspace .settings-payment-methods p{font-size:12px;line-height:1.7;color:var(--settings-muted);margin:10px 0 0}.settings-workspace .settings-plan-card .button:disabled{opacity:.5;cursor:not-allowed}
.settings-workspace .settings-payment-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;margin-top:18px}.settings-workspace .settings-payment-consent input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin-top:2px}.settings-workspace .settings-payment-consent[hidden]{display:none}.settings-workspace .settings-recurring{margin-bottom:20px}.settings-workspace .settings-recurring h3{font-size:15px;margin:0 0 10px}.settings-workspace .settings-recurring p{font-size:12px;line-height:1.7;color:var(--settings-muted);margin:8px 0}.settings-workspace .settings-recurring .settings-recurring-amount{font-weight:600;color:var(--ink)}.settings-workspace .settings-recurring .button{margin-top:9px}
