/* R9.7.28.13 — scoped settings only; no CRUD, API or database changes */
body[data-route="account"] #view,body[data-route="identity"] #view,body[data-route="periods"] #view,body[data-route="backup"] #view,body[data-route="restoreadmin"] #view,body[data-route="archive"] #view {--r813-bg:#f4f8fc;--r813-surface:#fff;--r813-border:#d9e6f2;--r813-text:#21495e;background:var(--r813-bg);border-radius:20px;padding:14px}
body:is([data-route="account"],[data-route="identity"],[data-route="periods"],[data-route="backup"],[data-route="restoreadmin"],[data-route="archive"]) #view>.card,
body:is([data-route="account"],[data-route="identity"],[data-route="periods"],[data-route="backup"],[data-route="restoreadmin"],[data-route="archive"]) #view .card{background:#fff;border-color:#d9e6f2;box-shadow:0 8px 24px #2547660a}
body:is([data-route="account"],[data-route="identity"],[data-route="periods"],[data-route="backup"],[data-route="restoreadmin"],[data-route="archive"]) #view :is(.input,.select,.textarea){background:#fbfdff;border-color:#cbddea}
#r972813PersistentSettingsTabs{margin:0 0 15px}
.r972813-settingtabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px;background:linear-gradient(120deg,#dceafa,#edf6ff);border:1px solid #d2e4f6;border-radius:20px;box-shadow:0 8px 24px #2b567512}
.r972813-return{border:1px solid #cedfec;background:white;color:#24536b;min-height:50px;border-radius:14px;font-weight:800;padding:0 15px;white-space:nowrap;cursor:pointer}
.r972813-tabstrip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;flex:1;min-width:0}
.r972813-tab{display:flex;gap:8px;align-items:center;justify-content:center;min-height:52px;padding:9px 12px;border:1px solid #d3e3ee;background:#fff;color:#264e60;border-radius:15px;font-weight:800;cursor:pointer;min-width:0;transition:transform .15s,background .15s}
.r972813-tab span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r972813-icon{font-size:17px;flex-shrink:0}
.r972813-tab.is-active{background:linear-gradient(120deg,#267f59,#43a77b);border-color:#2b875d;color:white;box-shadow:0 9px 20px #20794d30}
.r972813-tab:focus-visible,.r972813-return:focus-visible{outline:3px solid #5c9ac4;outline-offset:2px}
.r972813-adminlink{min-height:42px}
@media(max-width:1050px){.r972813-tabstrip{grid-template-columns:repeat(2,minmax(0,1fr))}.r972813-return{width:100%}}
@media(max-width:600px){.r972813-settingtabs{padding:9px}.r972813-tabstrip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.r972813-tab{font-size:12px;padding:9px 6px;min-height:50px}.r972813-icon{font-size:15px}}
@media(max-width:350px){.r972813-tabstrip{grid-template-columns:1fr}}
@media print{.r972813-settingtabs,#r972813PersistentSettingsTabs{display:none!important}}

body[data-route="account"] #r972811PersistentTabs,body[data-route="identity"] #r972811PersistentTabs,body[data-route="periods"] #r972811PersistentTabs,body[data-route="backup"] #r972811PersistentTabs,body[data-route="restoreadmin"] #r972811PersistentTabs,body[data-route="archive"] #r972813PersistentSettingsTabs{display:block!important}
