.settings-page{min-height:100dvh;background:var(--bg)}.settings-top{position:-webkit-sticky;position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:saturate(160%) blur(12px);backdrop-filter:saturate(160%) blur(12px)}.settings-top-inner{max-width:1080px;margin:0 auto;height:64px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-brand{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16px;letter-spacing:-.01em}.settings-brand img{display:block;border-radius:7px}.settings-main{max-width:1080px;margin:0 auto;padding:16px 24px 96px}.settings-title{font-size:30px;letter-spacing:-.03em;margin:8px 0 28px}.settings-shell{display:grid;grid-template-columns:200px minmax(0,1fr);grid-gap:40px;gap:40px;align-items:start}.settings-nav{position:-webkit-sticky;position:sticky;top:80px;display:flex;flex-direction:column;gap:2px}.settings-nav a{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 14px;border-radius:var(--r-pill);color:var(--mute);font-size:15px;font-weight:500;transition:background-color .14s var(--ease),color .14s var(--ease)}.settings-nav a.active,.settings-nav a:hover{background:var(--surface);color:var(--fg)}.settings-nav a.active .settings-nav-icon{color:var(--acc)}.settings-nav-icon{display:inline-flex;color:var(--faint)}.settings-content{display:flex;flex-direction:column;gap:20px;min-width:0}@keyframes set-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.settings-card{display:flex;flex-direction:column;gap:18px;min-width:0;padding:28px;border-radius:var(--r-lg);background:var(--surface);animation:set-card-in .42s var(--ease) both}.settings-content>.settings-card:nth-child(2){animation-delay:50ms}.settings-content>.settings-card:nth-child(3){animation-delay:.1s}.settings-content>.settings-card:nth-child(4){animation-delay:.15s}.settings-card .checkbox-row,.settings-card .day-pill:not(.active),.settings-card .form-control{background:var(--bg)}.settings-card .form-control:hover{background:var(--bg);border-color:var(--line-2)}.settings-card .btn-ghost{background:var(--bg)}.settings-card .btn-ghost:hover:not(:disabled){background:var(--surface-2)}.settings-card-head{display:flex;flex-direction:column;gap:4px}.settings-card-head-row{flex-direction:row;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.settings-section-title{font-size:19px;font-weight:600;letter-spacing:-.02em}.set-help,.settings-hint{font-size:14px;line-height:1.55;color:var(--mute);max-width:65ch}.field-help a,.set-help a{color:var(--acc);text-decoration:underline;text-underline-offset:3px}.field-help{font-size:13px;line-height:1.5;color:var(--faint)}.field-help code,.set-help code,.set-notes code{font-family:var(--f-m);font-size:.88em;padding:1px 6px;border-radius:var(--r-xs);background:var(--surface-2);color:var(--fg)}.settings-form{display:flex;flex-direction:column;gap:18px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.settings-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid .span-2{grid-column:1/-1}.set-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.set-actions .set-help{flex:1 1 220px}.set-notes{display:grid;grid-gap:8px;gap:8px;padding-top:18px;border-top:1px solid var(--line);font-size:13.5px;line-height:1.55;color:var(--mute)}.set-more a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--acc)}.set-more a:hover{color:var(--acc-hover)}.settings-divider{height:1px;background:var(--line)}.confirm-box{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:var(--r);background:var(--bg);font-size:14px;color:var(--mute)}.confirm-box strong{color:var(--fg);font-weight:600}.confirm-box-danger{box-shadow:inset 0 0 0 1px var(--down)}.confirm-box-danger strong{color:var(--down)}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:var(--r);background:var(--bg);cursor:pointer}.switch-text{display:flex;flex-direction:column;gap:2px;min-width:0}.switch-title{font-size:15px;font-weight:500;color:var(--fg)}.switch-sub{font-size:13px;color:var(--mute)}input.switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:none;width:44px;height:26px;margin:0;border-radius:var(--r-pill);background:radial-gradient(circle at 13px 50%,var(--bg) 0 9px,transparent 9.5px),var(--line-2);cursor:pointer;transition:background-color .16s var(--ease)}input.switch:checked{background:radial-gradient(circle at calc(100% - 13px) 50%,var(--on-acc) 0 9px,transparent 9.5px),var(--acc)}input.switch:disabled{opacity:.5;cursor:wait}input.switch:focus-visible{outline:2px solid var(--acc);outline-offset:3px}html[data-a11y-contrast=on] input.switch{box-shadow:inset 0 0 0 1px var(--fg)}.account-upgrade-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.plan-now{font-size:22px;font-weight:600;letter-spacing:-.02em;margin-bottom:2px}.schedule-custom{display:flex;flex-direction:column;gap:16px;padding:4px 2px 0}.schedule-time{max-width:240px}.cfg-status{--dot:var(--warn);display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--r);background:var(--bg);flex-wrap:wrap}.cfg-status.is-ok{--dot:var(--up)}.cfg-status.is-bad{--dot:var(--down)}.cfg-status-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 4px color-mix(in srgb,var(--dot) 18%,transparent)}.cfg-status-text{flex:1 1 200px;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:15px}.cfg-status-text strong{font-weight:600}.cfg-status-sub{color:var(--mute)}.cfg-error,.cfg-status-sub{font-family:var(--f-m);font-size:13px}.cfg-error{padding:10px 14px;border-radius:var(--r-sm);background:var(--down-soft);color:var(--down);overflow-wrap:anywhere}.cfg-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin:0}.cfg-facts>div{min-width:0;padding:12px 14px;border-radius:var(--r);background:var(--bg)}.cfg-facts dt{font-size:13px;color:var(--mute)}.cfg-facts dd{margin:2px 0 0;font-size:14px;font-weight:500;overflow-wrap:anywhere}.cfg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cfg-subtitle{font-size:15px;font-weight:600;margin-top:6px}.send-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.send-log li{display:grid;grid-template-columns:92px 150px 1fr auto;align-items:center;grid-gap:12px;gap:12px;padding:10px 14px;border-radius:var(--r-sm);background:var(--bg);font-size:14px}.send-when{font-family:var(--f-m);font-size:13px;color:var(--mute)}.send-kind{color:var(--fg)}.send-count{color:var(--mute);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:end}.send-failed{color:var(--down)}.gen-status,.send-chip{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 9px;border-radius:var(--r-pill);font-size:12px;font-weight:600;text-transform:capitalize;background:var(--surface-2);color:var(--mute);white-space:nowrap}.gen-status-ok,.send-ok{background:var(--up-soft);color:var(--up)}.gen-status-partial,.send-partial{background:var(--warn-soft);color:var(--warn)}.gen-status-failed,.send-failed.send-chip{background:var(--down-soft);color:var(--down)}.gen-status-running,.send-running{background:var(--acc-soft);color:var(--acc)}.admin-table-wrap{position:relative;overflow-x:auto;border-radius:var(--r);background:var(--bg)}.admin-table-wrap:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.admin-table{width:100%;min-width:680px;border-collapse:collapse;font-size:14px}.admin-table th{text-align:start;font-size:13px;font-weight:500;color:var(--mute);white-space:nowrap}.admin-table td,.admin-table th{padding:12px 14px;border-bottom:1px solid var(--line)}.admin-table td{vertical-align:middle}.admin-table tbody tr:last-child td{border-bottom:0}.admin-table tbody tr:hover td{background:color-mix(in srgb,var(--surface) 55%,transparent)}.admin-id{color:var(--faint);font-size:13px}.admin-email{font-weight:500;overflow-wrap:anywhere}.admin-plan{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-date{color:var(--mute);white-space:nowrap}.admin-actions{text-align:end}.admin-locked{font-size:13px;color:var(--faint)}.role-pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--r-pill);font-size:12px;font-weight:600;background:var(--surface-2);color:var(--mute);white-space:nowrap}.role-admin{background:var(--fg);color:var(--bg)}.role-premium{background:var(--acc);color:var(--on-acc)}.role-pro{background:var(--acc-soft);color:var(--acc)}.role-toggle-btn{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--acc);font:500 13px var(--f);cursor:pointer;white-space:nowrap}.role-toggle-btn:hover:not(:disabled){background:var(--acc-soft)}.role-toggle-btn:disabled{opacity:.6;cursor:wait}.admin-stocks{display:inline-flex;align-items:baseline;gap:8px}.admin-stocks-list{font-size:13px;color:var(--faint)}@keyframes gen-pulse{0%,to{opacity:1}50%{opacity:.35}}.gen-active{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:var(--r);background:var(--bg);box-shadow:inset 0 0 0 1px var(--acc-line)}.gen-active-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gen-dot{width:9px;height:9px;border-radius:50%;background:var(--acc);animation:gen-pulse 1.4s ease-in-out infinite}.gen-elapsed{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--acc);font-weight:500}.gen-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.gen-row{border-radius:var(--r);background:var(--bg);overflow:hidden}.gen-row-head{display:grid;grid-template-columns:96px 96px 172px 64px minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;width:100%;min-height:48px;padding:10px 16px;border:0;background:transparent;color:var(--fg);font:400 14px var(--f);text-align:start;cursor:pointer}.gen-row-head:hover{background:color-mix(in srgb,var(--surface) 60%,transparent)}.gen-row-head:focus-visible{outline:2px solid var(--acc);outline-offset:-2px;border-radius:var(--r)}.gen-kind{font-weight:500}.gen-counts,.gen-dur,.gen-when{font-size:13px;color:var(--mute)}.gen-counts{text-align:end;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.gen-detail-wrap{overflow:hidden}.gen-detail{display:flex;flex-direction:column;gap:10px;padding:4px 16px 18px}.gen-active .gen-detail{padding:0}.gen-stages{display:flex;flex-wrap:wrap;gap:8px;margin:0}.gen-stages>div{padding:8px 12px;border-radius:var(--r-sm);background:var(--surface)}.gen-stages dt{font-size:12px;color:var(--mute);text-transform:capitalize}.gen-stages dd{margin:0;font-size:14px;font-weight:500}.gen-sub{font-size:14px;font-weight:600;margin-top:6px}.gen-rcpts,.gen-syms{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.gen-rcpts li,.gen-syms li{display:grid;grid-template-columns:minmax(80px,160px) 72px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:baseline;padding:6px 10px;border-radius:var(--r-xs);font-size:13px}.gen-rcpts li{grid-template-columns:minmax(120px,220px) minmax(0,1fr)}.gen-rcpts li:nth-child(odd),.gen-syms li:nth-child(odd){background:var(--surface)}.gen-sym{font-weight:500;overflow-wrap:anywhere}.gen-sym-ms,.gen-sym-note{color:var(--mute)}.gen-sym-note{overflow-wrap:anywhere}.gen-sym-bad .gen-sym,.gen-sym-bad .gen-sym-note{color:var(--down)}.auth-wrap{min-height:100dvh;display:flex;flex-direction:column;align-items:center;gap:28px;padding:32px 16px 64px;background:var(--bg)}.auth-brand{align-self:stretch;max-width:1080px;width:100%;margin:0 auto;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16px;letter-spacing:-.01em}.auth-brand img{display:block;border-radius:7px}.auth-card{width:100%;max-width:420px;margin-top:clamp(8px,6vh,64px);padding:36px 32px 28px;border-radius:var(--r-xl);background:var(--surface);display:flex;flex-direction:column;gap:22px}.auth-card .form-control{background:var(--bg)}.auth-card .form-control:hover{background:var(--bg);border-color:var(--line-2)}.auth-card .btn-ghost{background:var(--bg)}.auth-card .btn-ghost:hover:not(:disabled){background:var(--surface-2)}.auth-header{display:flex;flex-direction:column;gap:6px}.auth-header h1{font-size:28px;letter-spacing:-.03em}.auth-subtitle{font-size:15px;color:var(--mute)}.auth-badge{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:6px;border-radius:50%;background:var(--acc-soft);color:var(--acc)}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.auth-forgot{font-size:13px;text-decoration:none}.auth-forgot:hover{text-decoration:underline}.auth-submit{width:100%;margin-top:4px}.auth-switch{color:var(--mute);text-align:center}.auth-switch,.auth-switch .link-btn{font-size:14px}.pending-field{display:flex;flex-direction:column;gap:2px;margin:0;padding:14px 16px;border-radius:var(--r);background:var(--bg)}.pending-field dt{font-size:13px;color:var(--mute)}.pending-field dd{margin:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-hint{font-size:13px;color:var(--faint)}.paypal-cta{display:flex;flex-direction:column;gap:8px;width:100%;min-height:44px;color-scheme:light}.paypal-cta-switch{padding:8px 12px;border-radius:var(--r-sm);background:var(--warn-soft);color:var(--warn);font-size:13px;font-weight:500}.paypal-cta-loading{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--mute)}.paypal-cta-error{font-size:13px}.legal-wrap{min-height:100dvh;max-width:820px;margin:0 auto;padding:24px 24px 64px;display:flex;flex-direction:column;gap:24px}.legal-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px}.legal-back,.legal-locale{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:var(--r-pill);background:var(--surface);font-size:14px;font-weight:500;color:var(--fg);transition:background-color .14s var(--ease)}.legal-back:hover,.legal-locale:hover{background:var(--surface-2)}.legal-card{padding:clamp(28px,5vw,56px);border-radius:var(--r-xl);background:var(--surface)}.legal-title{font-size:clamp(30px,4.4vw,42px);letter-spacing:-.035em;line-height:1.1}.legal-updated{margin-top:10px;font-size:14px;color:var(--mute)}.legal-body{margin-top:36px;max-width:70ch;font-size:16px;line-height:1.7;color:var(--fg)}.legal-body section+section{margin-top:32px}.legal-body h2{font-size:20px;letter-spacing:-.02em;margin-bottom:10px;scroll-margin-top:24px}.legal-body p,.legal-body ul{margin:0 0 12px;color:var(--mute)}.legal-body strong{color:var(--fg);font-weight:600}.legal-body ul{-webkit-padding-start:22px;padding-inline-start:22px}.legal-body li+li{margin-top:6px}.legal-body li::marker{color:var(--faint)}.legal-body a{color:var(--acc);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.legal-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;font-size:14px}.legal-footer a{color:var(--mute)}.legal-footer a:hover{color:var(--fg);text-decoration:underline;text-underline-offset:3px}.legal-wrap[dir=rtl] .legal-body h2,.legal-wrap[dir=rtl] .legal-title{letter-spacing:0}@media (max-width:860px){.settings-shell{grid-template-columns:minmax(0,1fr);gap:20px}.settings-nav{position:static;flex-direction:row;overflow-x:auto;gap:6px;margin:0 -24px;padding:0 24px 4px;scrollbar-width:none}.settings-nav::-webkit-scrollbar{display:none}.settings-nav a{flex:none;background:var(--surface)}.settings-nav a.active{background:var(--fg);color:var(--bg)}.settings-nav a.active .settings-nav-icon{color:inherit}.cfg-facts,.settings-grid-3{grid-template-columns:minmax(0,1fr)}.gen-row-head{grid-template-columns:auto minmax(0,1fr) auto;row-gap:4px}.gen-when{grid-column:1/3}.gen-counts{grid-column:1/-1;text-align:start}}@media (max-width:600px){.settings-main,.settings-top-inner{padding-left:16px;padding-right:16px}.settings-nav{margin:0 -16px;padding:0 16px 4px}.settings-title{font-size:26px;margin-bottom:20px}.settings-card{padding:20px;border-radius:var(--r)}.settings-grid{grid-template-columns:minmax(0,1fr)}.switch-row{padding:12px 14px}.send-log li{grid-template-columns:auto minmax(0,1fr);row-gap:2px}.send-count{grid-column:1/-1;text-align:start}.gen-syms li{grid-template-columns:minmax(0,1fr) auto}.gen-syms .gen-sym-note{grid-column:1/-1}.gen-rcpts li{grid-template-columns:minmax(0,1fr);gap:2px}.auth-card{padding:28px 20px 22px;border-radius:var(--r-lg)}.legal-wrap{padding:16px 16px 48px}.legal-card{border-radius:var(--r-lg)}.legal-body{font-size:15.5px}}