.settings-navigation{border-bottom:1px solid var(--theme-border,#dce3ef);flex-wrap:wrap;gap:6px;margin-bottom:24px;padding-bottom:14px;display:flex}.settings-navigation a{min-height:42px;color:var(--theme-muted,#56657d);border-radius:11px;align-items:center;padding:10px 14px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.settings-navigation a.active{background:var(--theme-blue-soft,#e8efff);color:var(--theme-blue,#285bbb)}.settings-tabs{flex-wrap:wrap;gap:6px;margin-bottom:22px;display:flex}.settings-tabs button,.settings-presets button{border:1px solid var(--theme-border,#dae2ef);min-height:42px;color:var(--theme-ink,#172033);background:var(--theme-surface,#fff);font:inherit;cursor:pointer;border-radius:11px;padding:10px 14px;font-size:13px}.settings-tabs button[aria-pressed=true]{border-color:var(--theme-blue,#356bcc);background:var(--theme-blue-soft,#edf3ff);color:var(--theme-blue,#285bbb);font-weight:750}.settings-stack{gap:18px;display:grid}.settings-stack[hidden],.settings-page [hidden],.family-settings-page [hidden],.reward-settings-page [hidden]{display:none!important}.settings-hint{color:var(--theme-muted,#697386);font-size:13px;line-height:1.6}.settings-preview{border:1px solid var(--theme-border,#dce3ef);background:var(--theme-surface-muted,#f4f7fd);overflow-wrap:anywhere;border-radius:12px;padding:13px 16px;font-size:13px;line-height:1.6}.settings-dialog-backdrop{z-index:1700;background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.settings-dialog{box-sizing:border-box;border:1px solid var(--theme-border,#dce3ef);background:var(--theme-surface,#fff);width:min(720px,100%);max-height:calc(100dvh - 36px);color:var(--theme-ink,#172033);border-radius:22px;padding:20px;overflow-y:auto;box-shadow:0 14px 34px #3241691f}.settings-dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.settings-dialog h2{overflow-wrap:anywhere;margin:0;font-size:22px}.settings-close{border:1px solid var(--theme-border,#dce3ef);background:var(--theme-surface,#fff);height:42px;color:inherit;cursor:pointer;border-radius:10px;flex:0 0 42px}.settings-switch{border:1px solid var(--theme-border,#dce3ef);cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:15px;padding:15px;display:flex}.settings-switch small{color:var(--theme-muted,#697386);margin-top:5px;line-height:1.5;display:block}.settings-switch input{flex-shrink:0;width:23px;height:23px}.section-access-options{border:0;min-width:0;margin:0;padding:0}.section-access-options>legend{margin-bottom:12px;font-size:15px;font-weight:700}.section-access-options:disabled{opacity:.55}.settings-presets{flex-wrap:wrap;gap:6px;margin:0 0 20px;display:flex}.section-access-group{border:0;border-top:1px solid var(--theme-border,#dce3ef);min-width:0;margin:0;padding:12px 0}.section-access-group legend{color:var(--theme-muted,#697386);padding:0 8px 0 0;font-size:12px;font-weight:750}.section-access-group>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.section-access-group label{background:var(--theme-surface-muted,#f4f7fd);cursor:pointer;border-radius:9px;align-items:center;gap:8px;min-height:44px;padding:6px 10px;font-size:14px;display:flex}.section-access-group input{width:18px;height:18px}.family-settings-page .family-member-row{flex-wrap:wrap;gap:14px}.family-settings-page .family-member-row__identity{flex:200px;min-width:0}.family-settings-page .family-member-row__controls{flex-wrap:wrap;gap:8px}.family-settings-page .family-member-row__lock{flex:none;justify-content:center;align-items:center;gap:7px;width:auto;min-width:42px;min-height:40px;padding:8px 12px;font-size:12px;display:inline-flex}.settings-navigation a:focus-visible,.settings-tabs button:focus-visible,.settings-dialog button:focus-visible{outline:3px solid var(--theme-blue,#356bcc);outline-offset:3px}.settings-layout-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}@media (width<=680px){.settings-navigation{gap:4px;margin-bottom:18px}.settings-navigation a{padding:8px 10px;font-size:12px}.settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.settings-tabs button{min-width:0;padding:10px 8px}.settings-dialog{max-height:calc(100dvh - 24px);padding:16px}.family-settings-page .family-member-row__controls{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.family-settings-page .family-member-row__role{width:100%;min-width:0}.family-settings-page input,.family-settings-page select,.settings-dialog input:not([type=checkbox]),.settings-dialog select{min-width:0;font-size:16px}}@media (width<=380px){.section-access-group>div{grid-template-columns:minmax(0,1fr)}}.settings-dialog .management-inline-row{flex-wrap:wrap}.settings-dialog .management-inline-row>*{min-width:0;max-width:100%}.settings-dialog .management-form{min-width:0}@media (width<=680px){.reward-edit-form select{width:100%!important;min-width:0!important}.settings-dialog input,.settings-dialog textarea,.settings-dialog select{font-size:16px}.settings-page,.family-settings-page,.permission-page,.reward-settings-page{padding:18px 12px}}.section-time-row{border-bottom:1px solid var(--border-color,#e2deeb);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.section-time-row>label{flex:1;min-width:160px}.section-time-row .section-time-toggle{flex:0 auto;font-size:12px}.section-time-config{border:1px solid var(--border-color,#d9d2e5);background:var(--surface,#fff);color:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}.section-time-sources{gap:10px;display:grid}.section-time-source{border:1px solid var(--border-color,#ddd6e9);border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.section-time-source span,.section-time-source small{display:block}.section-time-source small{opacity:.8;margin-top:4px;font-size:12px}.section-access-options--timed .section-access-group>div{grid-template-columns:1fr}
