
/* Financial center — reuses SMARTLIO route system, no duplicate wallet/ledger. */
.route-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 auto 18px;max-width:1180px;padding:0 24px}.route-tabs a{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--line,#d9e0ea);border-radius:999px;text-decoration:none;color:inherit;background:var(--surface,#fff)}.route-tabs a:hover{border-color:#6b7cff}.financial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.financial-grid .wide{grid-column:1/-1}.financial-number{font-size:32px;display:block;margin-top:8px}.financial-kpis{display:flex;flex-wrap:wrap;gap:12px}.financial-kpis span{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--line,#d9e0ea);border-radius:12px}.financial-kpis b{font-size:18px}.financial-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#e5e9f0)}.financial-row:last-child{border-bottom:0}.financial-row>div{display:flex;flex-direction:column;gap:3px}.financial-row small{opacity:.72}.financial-actions{display:flex;gap:6px;flex-wrap:wrap}.financial-grid pre{white-space:pre-wrap;word-break:break-word;font-size:11px;opacity:.7;max-height:110px;overflow:auto}.financial-grid .empty-state{padding:14px}.financial-grid .biz-form.compact{display:grid;gap:10px}.financial-grid .biz-form.compact input,.financial-grid .biz-form.compact select{min-width:0}@media(max-width:800px){.financial-grid{grid-template-columns:1fr}.financial-grid .wide{grid-column:auto}.route-tabs{padding:0 16px;overflow:auto;flex-wrap:nowrap}.financial-row{align-items:flex-start;flex-direction:column}.financial-actions{width:100%}}

/* Business-style benchmark layer for independent SMARTLIO modules */
.module-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 24px);background:var(--bg,#07111f)}
.module-side{position:sticky;top:0;height:100vh;padding:22px 14px;background:linear-gradient(180deg,#071a2d,#081321);border-right:1px solid rgba(74,210,230,.16);overflow:auto}
.module-brand{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:18px;color:#fff;text-decoration:none}.module-brand>span{color:#27d9e7;font-size:25px}.module-brand b{font-size:20px;letter-spacing:.4px}.module-brand b span{color:#d7ad45}.module-brand small{display:block;margin-left:auto;color:#9db0c7;font-size:10px;text-transform:uppercase;letter-spacing:1px}
.module-side nav{display:grid;gap:5px}.module-side nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:#b9c7d8;text-decoration:none;font-size:13px}.module-side nav a span{width:20px;text-align:center;color:#4ed8e5}.module-side nav a:hover,.module-side nav a.active{background:rgba(48,210,224,.10);color:#fff}.module-side-card{margin-top:18px;padding:13px;border:1px solid rgba(215,173,69,.22);border-radius:12px;background:rgba(215,173,69,.05)}.module-side-card b,.module-side-card small{display:block}.module-side-card small{color:#93a7bc;margin:5px 0 10px}.module-side-card a{color:#55dce7;font-size:12px;text-decoration:none}.module-main{min-width:0}.offer-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.offer-filter{border:1px solid rgba(120,160,190,.22);background:rgba(255,255,255,.03);color:#b8c6d6;border-radius:999px;padding:9px 14px;cursor:pointer}.offer-filter.active{background:rgba(45,211,225,.13);border-color:rgba(45,211,225,.45);color:#fff}.offer-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.offer-smart-card{padding:18px;border:1px solid rgba(120,160,190,.18);border-radius:15px;background:rgba(255,255,255,.025);box-shadow:0 12px 28px rgba(0,0,0,.14)}.offer-smart-top,.offer-smart-meta{display:flex;justify-content:space-between;gap:10px;align-items:center}.offer-smart-card h3{margin:14px 0 8px}.offer-smart-card p{color:#9fb0c2;min-height:44px}.offer-smart-meta{margin:14px 0;color:#7890a7;font-size:11px}.offer-smart-card .btn{margin-top:4px}
@media(max-width:900px){.module-layout{grid-template-columns:1fr}.module-side{position:relative;height:auto;border-right:0;border-bottom:1px solid rgba(74,210,230,.16);padding:12px}.module-brand{margin-bottom:8px}.module-side nav{display:flex;overflow:auto}.module-side nav a{white-space:nowrap}.module-side-card{display:none}.offer-card-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.offer-card-grid{grid-template-columns:1fr}.module-side nav a{padding:9px 10px;font-size:12px}}

/* Human Safety Wallet — Business-style visual system */
.sw-layout .module-side{background:linear-gradient(180deg,#06182a,#07111f)}
.sw-side .module-brand>span,.sw-side .module-brand>span svg{width:26px;height:26px;stroke:#4ed8e5;fill:none;stroke-width:1.8}
.sw-side nav a{font-weight:600}.sw-nav-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#4ed8e5}.sw-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sw-hero{max-width:1240px;margin:0 auto;padding:28px 28px 22px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:stretch;background:linear-gradient(135deg,#071a2d,#0b2236);border-bottom:1px solid rgba(78,216,229,.14)}
.sw-hero>div{padding:22px 8px}.sw-hero .eyebrow,.sw-kicker{font-size:10px;letter-spacing:1.6px;color:#54dce8;font-weight:800}.sw-hero h1{font-size:clamp(30px,4vw,48px);margin:10px 0 10px;color:#fff}.sw-hero p{max-width:680px;color:#9eb1c6;font-size:15px;line-height:1.7}.sw-hero img{width:100%;height:245px;object-fit:cover;border-radius:18px;border:1px solid rgba(78,216,229,.18);box-shadow:0 18px 50px rgba(0,0,0,.28)}
.sw-hero-actions,.sw-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.sw-hero-actions .btn,.sw-bottom-actions .btn{display:inline-flex;align-items:center;gap:7px}.sw-hero-actions svg,.sw-bottom-actions svg,.sw-upload svg,.sw-record-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sw-shell{max-width:1240px}.sw-metrics{margin-bottom:20px}.sw-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:10px 0 28px}.sw-feature-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:145px;padding:18px;border:1px solid rgba(120,160,190,.17);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#fff;text-decoration:none;cursor:pointer;transition:.18s ease}.sw-feature-card:hover{transform:translateY(-2px);border-color:rgba(78,216,229,.45);box-shadow:0 14px 35px rgba(0,0,0,.18)}.sw-feature-card>span{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(78,216,229,.09);color:#54dce8;margin-bottom:13px}.sw-feature-card svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sw-feature-card b{font-size:15px}.sw-feature-card small{color:#91a6bb;margin-top:6px;line-height:1.5}
.sw-section{scroll-margin-top:20px;margin:20px 0;padding:22px;border:1px solid rgba(120,160,190,.16);border-radius:18px;background:rgba(255,255,255,.025)}.sw-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.sw-section-head h2{margin:5px 0 6px;color:#fff}.sw-section-head p{margin:0;color:#8fa5ba;line-height:1.6}.sw-media-legend{display:flex;gap:12px;flex-wrap:wrap;color:#9fb2c4;font-size:11px}.sw-media-legend span{display:inline-flex;align-items:center;gap:5px}.sw-media-legend svg{width:16px;height:16px;fill:none;stroke:#54dce8;stroke-width:1.6}
.sw-upload{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:16px;align-items:center;padding:17px;border:1px dashed rgba(78,216,229,.3);border-radius:15px;background:rgba(78,216,229,.035)}.sw-upload-icon{width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(78,216,229,.1);color:#54dce8}.sw-upload-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}.sw-upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sw-upload label{color:#a9b9ca;font-size:12px}.sw-upload input[type=text],.sw-upload input[type=file],.sw-upload input:not([type]){display:block;width:100%;margin-top:6px}.sw-upload .check{grid-column:1/-1;display:flex;align-items:center;gap:7px}.sw-upload .check input{width:auto}
.sw-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sw-record-card{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(120,160,190,.14);border-radius:14px;background:rgba(255,255,255,.02)}.sw-record-icon{width:44px;height:44px;border-radius:12px;background:rgba(215,173,69,.08);display:flex;align-items:center;justify-content:center;color:#d7ad45}.sw-record-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sw-record-type{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#58dce7}.sw-record-body h3{margin:3px 0 5px;color:#fff;font-size:14px}.sw-record-body small{color:#8499ad}.sw-record-actions{display:flex;gap:6px;flex-wrap:wrap}.sw-record-actions .btn{display:inline-flex;align-items:center;gap:4px}.sw-empty{padding:30px;text-align:center;border:1px dashed rgba(120,160,190,.18);border-radius:14px;color:#91a6bb}.sw-empty>span{display:block;margin-bottom:10px;color:#54dce8}.sw-empty svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}.sw-empty b,.sw-empty small{display:block}.sw-empty b{color:#dbe6f0;margin-bottom:5px}.sw-empty.compact{padding:20px}
.sw-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sw-device-card{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(120,160,190,.14);border-radius:14px;background:rgba(255,255,255,.02)}.sw-device-icon{width:44px;height:44px;border-radius:12px;background:rgba(78,216,229,.08);display:flex;align-items:center;justify-content:center;color:#54dce8}.sw-device-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}.sw-device-card b,.sw-device-card small{display:block}.sw-device-card b{color:#fff}.sw-device-card small{color:#8499ad;margin-top:4px}.sw-status{font-size:10px;font-weight:800;letter-spacing:.8px}.sw-status.danger{color:#ff8f8f}.sw-share-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:14px;background:linear-gradient(90deg,rgba(78,216,229,.07),rgba(215,173,69,.05));border:1px solid rgba(78,216,229,.14)}.sw-share-card>span{width:46px;height:46px;border-radius:13px;background:rgba(78,216,229,.1);color:#54dce8;display:flex;align-items:center;justify-content:center}.sw-share-card svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}.sw-share-card b,.sw-share-card small{display:block}.sw-share-card small{color:#91a6bb;margin-top:4px}.sw-recovery-flow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:20px;border-radius:14px;background:rgba(255,255,255,.02);color:#c6d3df}.sw-recovery-flow span{padding:9px 12px;border-radius:999px;border:1px solid rgba(120,160,190,.18);font-size:12px}.sw-recovery-flow i{color:#54dce8}.sw-bottom-actions{justify-content:flex-end;padding-top:8px}
@media(max-width:950px){.sw-hero{grid-template-columns:1fr}.sw-hero img{height:210px}.sw-feature-grid{grid-template-columns:1fr 1fr}.sw-upload{grid-template-columns:52px 1fr}.sw-upload>.btn{grid-column:2}.sw-record-grid,.sw-device-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sw-hero{padding:18px 16px}.sw-hero img{height:170px}.sw-feature-grid{grid-template-columns:1fr}.sw-section{padding:16px}.sw-section-head{flex-direction:column}.sw-upload{grid-template-columns:1fr}.sw-upload-icon{width:48px}.sw-upload-fields{grid-template-columns:1fr}.sw-upload>.btn{grid-column:auto;width:100%}.sw-record-card{grid-template-columns:42px 1fr}.sw-record-actions{grid-column:1/-1}.sw-record-actions .btn{flex:1}.sw-bottom-actions .btn{flex:1;justify-content:center}}

.sw-recovery-card{max-width:720px;margin:24px auto;padding:28px;border:1px solid rgba(78,216,229,.2);border-radius:20px;background:linear-gradient(145deg,rgba(7,26,45,.96),rgba(9,22,35,.96));box-shadow:0 20px 55px rgba(0,0,0,.2)}.sw-recovery-icon{width:58px;height:58px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(78,216,229,.1);color:#54dce8;margin-bottom:16px}.sw-recovery-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sw-recovery-card h2{color:#fff;margin:0 0 8px}.sw-recovery-card p{color:#91a6bb;line-height:1.6}.sw-recovery-card label{display:block;color:#b6c5d4;font-size:12px;margin:14px 0}.sw-recovery-card input{display:block;width:100%;margin-top:7px}.sw-recovery-card .btn{margin-right:8px;margin-top:8px}

/* Human Safety Wallet A→Z completion layer — Business benchmark, Safety identity preserved. */
.sw-main{background:#f4f7fb;color:#172033;min-width:0}.sw-side{width:250px}.sw-side-label{padding:14px 12px 5px;color:#73869b;font-size:9px;font-weight:800;letter-spacing:1.3px}.sw-hero{max-width:none;margin:0;padding:28px 32px;grid-template-columns:minmax(0,1fr) 430px;background:#142536;border-radius:0 0 22px 22px;box-shadow:0 12px 30px rgba(13,28,45,.12)}.sw-hero-copy{padding:12px 12px 12px 10px!important}.sw-hero-copy h1{font-size:clamp(34px,4vw,52px);line-height:1.02}.sw-hero-copy p{color:#c5d3e0;max-width:680px}.sw-hero-media{position:relative;min-height:250px}.sw-hero-media img{height:100%;min-height:250px;border-radius:20px;object-fit:cover}.sw-hero-caption{position:absolute;left:18px;right:18px;bottom:16px;padding:12px 14px;border-radius:12px;background:rgba(4,16,28,.72);backdrop-filter:blur(10px);color:#fff}.sw-hero-caption span,.sw-hero-caption b{display:block}.sw-hero-caption span{font-size:9px;letter-spacing:1.4px;color:#54dce8;font-weight:800}.sw-hero-caption b{font-size:15px;margin-top:3px}.sw-shell{max-width:1240px;padding-bottom:40px}.sw-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.sw-metrics .metric-panel{background:#fff;border:1px solid #e6ebf1;border-radius:13px;padding:15px;box-shadow:0 6px 20px rgba(20,34,50,.04)}.sw-metrics .metric-panel small{color:#718096}.sw-metrics .metric-panel strong{display:block;color:#172033;font-size:20px;margin-top:5px}.sw-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 22px}.sw-feature-card{background:#fff;color:#172033;border:1px solid #e6ebf1;box-shadow:0 6px 20px rgba(20,34,50,.04)}.sw-feature-card b{font-size:14px}.sw-feature-card small{color:#718096}.sw-section{background:#fff;border:1px solid #e6ebf1;box-shadow:0 6px 20px rgba(20,34,50,.04);scroll-margin-top:24px}.sw-section-head h2{color:#172033}.sw-section-head p{color:#718096}.sw-kicker{color:#1265d8}.sw-upload{border-color:#b9dff0;background:#f7fbfd}.sw-upload label{color:#526176}.sw-upload input,.sw-upload select{border:1px solid #dce3eb;border-radius:9px;padding:10px;background:#fff;color:#172033}.sw-upload input[type=file]{padding:8px}.sw-list-toolbar{display:grid;gap:12px;margin:16px 0}.sw-search{display:flex;align-items:center;gap:8px;border:1px solid #dce3eb;border-radius:11px;padding:5px 7px;background:#fff}.sw-search>span{color:#1265d8;width:22px;display:grid;place-items:center}.sw-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.sw-search input{border:0;outline:0;min-width:0;flex:1;padding:9px}.sw-filter-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:2px}.sw-filter-tabs button{white-space:nowrap;border:1px solid #dce3eb;background:#fff;color:#526176;border-radius:999px;padding:8px 12px;cursor:pointer;font-size:11px;font-weight:700}.sw-filter-tabs button.active,.sw-filter-tabs button:hover{background:#1265d8;color:#fff;border-color:#1265d8}.sw-record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sw-record-card{background:#fff;border-color:#e3e9f0;box-shadow:0 4px 16px rgba(20,34,50,.04);align-items:start}.sw-record-body h3{color:#172033}.sw-record-body small{color:#718096}.sw-record-type{color:#1265d8}.sw-record-icon{background:#f2f7fd;color:#1265d8}.sw-record-actions .btn{padding:7px 9px;font-size:10px}.sw-record-actions .btn.ghost{background:#fff;border:1px solid #dce3eb;color:#334155}.sw-device-card{background:#fff;border-color:#e3e9f0;color:#172033}.sw-device-card b{color:#172033}.sw-device-card small{color:#718096}.sw-device-icon{background:#eef8fb;color:#1265d8}.sw-share-card{background:linear-gradient(90deg,#f4fbfd,#fff9ed);border-color:#d8e9ee}.sw-share-card small{color:#718096}.sw-recovery-flow{background:#f7f9fc;color:#526176}.sw-recovery-flow span{border-color:#dce3eb;background:#fff}.sw-bottom-actions{justify-content:flex-start}.sw-anchor-section{height:1px;scroll-margin-top:24px}.sw-preview img,.sw-preview video{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:14px;background:#07111f}.sw-detail-grid{display:grid;grid-template-columns:130px 1fr;gap:8px;padding:16px 0}.sw-detail-grid span{color:#718096}.sw-detail-grid b{color:#172033}.sw-side .module-brand>span{width:26px;height:26px}.sw-side .module-brand>span svg{width:26px;height:26px}.sw-side nav a{color:#d8e2ee}.sw-side nav a.active,.sw-side nav a:hover{background:rgba(255,202,61,.13);color:#fff}.sw-side nav a.active .sw-nav-icon,.sw-side nav a:hover .sw-nav-icon{color:#ffd44d}.sw-side .module-side-card{border-color:rgba(255,202,61,.22);background:linear-gradient(145deg,#142d47,#0b2036)}
@media(max-width:1100px){.sw-side{width:78px}.sw-side .module-brand b,.sw-side .module-brand small,.sw-side .module-side-card,.sw-side-label{display:none}.sw-side nav a{justify-content:center}.sw-side nav a:not(.active){font-size:0}.sw-side nav a .sw-nav-icon{font-size:18px}.sw-hero{grid-template-columns:1fr}.sw-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.sw-main{width:100%}.sw-hero{padding:20px 16px;border-radius:0}.sw-hero-copy{padding:6px 0!important}.sw-hero h1{font-size:34px}.sw-hero-media{min-height:190px}.sw-hero-media img{min-height:190px}.sw-shell{padding-left:16px;padding-right:16px}.sw-quick-grid,.sw-record-grid{grid-template-columns:1fr}.sw-section{padding:16px}.sw-upload{grid-template-columns:1fr}.sw-upload>.btn{grid-column:auto}.sw-metrics{grid-template-columns:1fr 1fr}.sw-record-card{grid-template-columns:42px 1fr}.sw-record-actions{grid-column:1/-1}.sw-record-actions .btn{flex:1;min-width:90px}.sw-detail-grid{grid-template-columns:105px 1fr}}
@media(max-width:430px){.sw-metrics{grid-template-columns:1fr}.sw-side{width:64px;padding:12px 7px}.sw-side nav a{padding:9px 7px}.sw-filter-tabs{margin-right:-2px}}
.sw-device-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.sw-settings-page{padding-top:28px;padding-bottom:50px}.sw-settings-hero{padding:26px;border-radius:20px;background:#142536;color:#fff;box-shadow:0 14px 35px rgba(13,28,45,.12)}.sw-settings-hero h1{font-size:clamp(30px,4vw,44px);margin:7px 0}.sw-settings-hero p{color:#c5d3e0;max-width:720px}.sw-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.sw-settings-card{background:#fff;border:1px solid #e6ebf1;border-radius:18px;padding:20px;box-shadow:0 6px 20px rgba(20,34,50,.04);display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}.sw-settings-card h2{margin:4px 0}.sw-settings-card p{color:#718096;line-height:1.6}.sw-settings-card label,.sw-settings-card select{grid-column:1/-1}.sw-settings-card label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#526176}.sw-settings-card select{border:1px solid #dce3eb;border-radius:9px;padding:11px;background:#fff}.sw-settings-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eef8fb;color:#1265d8}.sw-settings-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.sw-settings-card .btn{justify-self:start}.sw-settings-card .form-status{grid-column:1/-1}@media(max-width:720px){.sw-settings-grid{grid-template-columns:1fr}.sw-device-actions{grid-column:1/-1;justify-content:flex-start}.sw-settings-card{grid-template-columns:42px 1fr}.sw-settings-card .btn{grid-column:1/-1;width:100%}}

.sw-record-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sw-record-actions .btn{min-height:34px}.sw-action-context{padding:4px 0 12px}.sw-action-context h3{margin:5px 0;color:#172033;font-size:20px}.sw-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 18px}.sw-action-tile{display:grid;grid-template-columns:36px 1fr;gap:2px 10px;align-items:center;text-align:left;padding:13px;border:1px solid #dce3eb;border-radius:13px;background:#fff;color:#172033;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.sw-action-tile:hover{transform:translateY(-1px);border-color:#9bc8e5;box-shadow:0 7px 18px rgba(20,34,50,.08)}.sw-action-tile svg{grid-row:1/3;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.sw-action-tile b{font-size:12px}.sw-action-tile small{font-size:10px;color:#718096;line-height:1.35}.sw-action-tile.danger{color:#b42318}.sw-form-stack{display:grid;gap:13px}.sw-form-stack label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#526176}.sw-form-stack input,.sw-form-stack select{border:1px solid #dce3eb;border-radius:9px;padding:11px;background:#fff;color:#172033}.sw-side nav a{cursor:pointer}
@media(max-width:600px){.sw-action-grid{grid-template-columns:1fr}.sw-record-actions .btn{flex:1;min-width:0}}

/* Human Safety Wallet — deep icon/action polish */
.sw-quick-actions{margin-top:0}
.sw-quick-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sw-action-shortcut{display:grid;grid-template-columns:44px 1fr;gap:2px 10px;align-items:center;text-align:left;padding:14px;border:1px solid #e3e9f0;border-radius:14px;background:#fff;color:#172033;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.sw-action-shortcut:hover{transform:translateY(-2px);border-color:#9bc8e5;box-shadow:0 10px 24px rgba(20,34,50,.08)}
.sw-action-shortcut svg{grid-row:1/3;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#1265d8}
.sw-action-shortcut b{font-size:12px}.sw-action-shortcut small{font-size:10px;color:#718096;line-height:1.35}
.sw-filter-tabs #swSavedOnly{border-color:#d7ad45;color:#8b6511;background:#fff9e8}.sw-filter-tabs #swSavedOnly.active{background:#d7ad45;color:#fff;border-color:#d7ad45}
.sw-form-stack textarea{border:1px solid #dce3eb;border-radius:9px;padding:11px;background:#fff;color:#172033;resize:vertical;min-height:150px;font:inherit}
.sw-form-stack .check{display:flex;align-items:center;gap:8px}.sw-form-stack .check input{width:auto}
.sw-record-actions .btn{min-height:36px}
.sw-record-actions .btn svg,.sw-action-shortcut svg,.sw-action-tile svg{stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1000px){.sw-quick-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sw-quick-action-grid{grid-template-columns:1fr}.sw-action-shortcut{grid-template-columns:42px 1fr}}
@media(max-width:560px){
  #routeView,.sw-layout,.sw-main{max-width:100%;overflow-x:hidden}
  .sw-filter-tabs{max-width:100%;overflow-x:auto;overflow-y:hidden}
}

/* Human Safety Wallet — layered/deep icon system */
.sw-deep-icon{position:relative;width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px}
.sw-deep-icon-main{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#edf8ff,#dceeff);border:1px solid #cfe4f7;color:#1265d8;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 7px 18px rgba(18,101,216,.10)}
.sw-deep-icon-main svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sw-deep-icon-badge{position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:7px;display:grid;place-items:center;background:#fff;border:2px solid #fff;box-shadow:0 3px 9px rgba(20,34,50,.18);color:#10a77a}
.sw-deep-icon-badge svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sw-feature-card>span{display:block;margin-bottom:8px}
.sw-feature-card .sw-deep-icon{margin-bottom:2px}
.sw-side .sw-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sw-side .sw-nav-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
@media(max-width:1100px){.sw-deep-icon{width:40px;height:40px;flex-basis:40px}.sw-deep-icon-main{width:38px;height:38px}.sw-deep-icon-main svg{width:22px;height:22px}}
/* Personal Human Safety Dashboard */
.sw-personal-dashboard{margin:8px 0 28px;padding:22px;border:1px solid #e3e9f0;border-radius:20px;background:linear-gradient(180deg,#ffffff,#f8fbfd);box-shadow:0 10px 28px rgba(20,34,50,.05)}
.sw-personal-head,.sw-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sw-personal-head h2{margin:4px 0 5px;color:#142536}.sw-personal-head p{margin:0;color:#718096;line-height:1.55}.sw-personal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.sw-personal-kpi{display:flex;align-items:center;gap:11px;text-align:left;padding:14px;border:1px solid #e3e9f0;border-radius:15px;background:#fff;cursor:pointer;transition:.18s ease}.sw-personal-kpi:hover{transform:translateY(-1px);border-color:#75dce5;box-shadow:0 8px 20px rgba(20,34,50,.07)}.sw-personal-kpi>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eefbfd;color:#159aaa}.sw-personal-kpi small,.sw-personal-kpi strong{display:block}.sw-personal-kpi small{color:#718096;font-size:11px}.sw-personal-kpi strong{color:#142536;font-size:22px;margin-top:2px}.sw-personal-grid{display:grid;grid-template-columns:1.15fr .9fr .9fr;gap:12px}.sw-personal-panel{min-width:0;padding:17px;border:1px solid #e5eaf0;border-radius:16px;background:#fff}.sw-panel-head{margin-bottom:12px}.sw-panel-head h3{margin:4px 0 0;color:#172033;font-size:16px}.sw-mini-list{display:flex;flex-direction:column;gap:7px}.sw-mini-row{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border:1px solid #edf0f4;border-radius:11px;background:#fbfcfd;color:#172033;cursor:pointer}.sw-mini-row:hover{border-color:#b8e9ed}.sw-mini-row>span:first-child{width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:#159aaa}.sw-mini-row>span:last-child{margin-left:auto;color:#94a3b8}.sw-mini-row b,.sw-mini-row small{display:block}.sw-mini-row b{font-size:12px}.sw-mini-row small{margin-top:2px;color:#7b8797;font-size:10px}.sw-attention-list{display:flex;flex-direction:column;gap:8px}.sw-attention-row{display:flex;gap:9px;padding:10px;border-radius:11px;background:#fff8ed;border:1px solid #f2dfbc}.sw-attention-row>span{color:#b17b13}.sw-attention-row b,.sw-attention-row small{display:block}.sw-attention-row b{font-size:12px;color:#5b4520}.sw-attention-row small{font-size:10px;color:#8a6f42;margin-top:2px}.sw-clear-state{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b}.sw-clear-state>span{color:#159aaa;margin-bottom:6px}.sw-clear-state b{color:#27364a;font-size:12px}.sw-clear-state small{margin-top:4px;font-size:10px}.sw-deep-icon{position:relative;display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center}.sw-deep-icon-main{display:flex;width:30px;height:30px;align-items:center;justify-content:center}.sw-deep-icon-main svg{width:24px;height:24px}.sw-deep-icon-badge{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:1px solid currentColor}.sw-deep-icon-badge svg{width:9px;height:9px}.sw-mini-row.static{cursor:default}.sw-mini-row.static:hover{border-color:#edf0f4}
@media(max-width:1050px){.sw-personal-grid{grid-template-columns:1fr 1fr}.sw-personal-panel:first-child{grid-column:1/-1}}
@media(max-width:700px){.sw-personal-dashboard{padding:16px}.sw-personal-head{flex-direction:column}.sw-personal-head .btn{width:100%}.sw-personal-kpis{grid-template-columns:1fr 1fr}.sw-personal-grid{grid-template-columns:1fr}.sw-personal-panel:first-child{grid-column:auto}.sw-personal-kpi strong{font-size:19px}}

/* V36 · Safety Wallet final interaction polish */
.sw-access-safety-strip{display:flex;align-items:center;gap:12px;margin:-4px 0 14px;padding:12px 14px;border:1px solid #d9e6ef;border-radius:13px;background:linear-gradient(90deg,#f5fbfe,#f8f9ff)}
.sw-access-safety-strip>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e9f7fb;color:#1265d8}.sw-access-safety-strip svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.sw-access-safety-strip div{min-width:0;flex:1}.sw-access-safety-strip b,.sw-access-safety-strip small{display:block}.sw-access-safety-strip small{margin-top:3px;color:#718096;line-height:1.45}.sw-access-safety-strip strong{font-size:9px;letter-spacing:1px;color:#1265d8;white-space:nowrap}
.sw-access-card{grid-template-columns:44px minmax(0,1fr) auto}.sw-access-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sw-access-role{font-size:9px;font-weight:800;letter-spacing:.4px;padding:4px 7px;border-radius:999px;background:#eef3f8;color:#526176;text-transform:uppercase}.sw-access-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:10px;color:#718096}.sw-access-state{font-weight:900;letter-spacing:.6px}.state-pending{color:#a66a00}.state-active{color:#14804a}.state-revoked,.state-expired,.state-denied{color:#b42318}.sw-access-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.sw-receipt-list{display:grid;gap:8px}.sw-receipt-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e3e9f0;border-radius:12px;background:#fff}.sw-receipt-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f1f7fc;color:#1265d8}.sw-receipt-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.sw-receipt-row b,.sw-receipt-row small{display:block}.sw-receipt-row small{margin-top:3px;color:#718096}.sw-receipt-hash{font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace;color:#718096;background:#f5f7fa;padding:5px 7px;border-radius:7px}.sw-once-warning{display:flex;align-items:flex-start;gap:9px;padding:11px;border-radius:10px;background:#fff8e8;border:1px solid #f1d99b;color:#7a5b00}.sw-once-warning svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}.sw-once-warning b,.sw-once-warning small{display:block}.sw-once-warning small{margin-top:2px;line-height:1.4}.sw-workflow-timeline{display:flex;align-items:center;gap:7px;overflow:auto;padding:10px 2px 14px}.sw-workflow-timeline>i{color:#9aa8b7;font-style:normal}.sw-workflow-node{min-width:88px;padding:10px;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.sw-workflow-node.done{border-color:#b8e1ce;background:#f2fbf5}.sw-workflow-node.current{border-color:#9bc8e5;background:#f2f9fd}.sw-workflow-node b,.sw-workflow-node small{display:block}.sw-workflow-node small{margin-top:3px;color:#718096}.sw-workflow-summary{display:grid;gap:5px;padding:12px;border-radius:10px;background:#f7f9fc;color:#526176}.sw-workflow-summary b{color:#172033}.sw-workflow-summary span{font-size:11px}
@media(max-width:720px){.sw-access-card{grid-template-columns:42px 1fr}.sw-access-actions{grid-column:1/-1;justify-content:flex-start}.sw-access-safety-strip{align-items:flex-start}.sw-access-safety-strip>strong{display:none}.sw-receipt-row{grid-template-columns:32px minmax(0,1fr)}.sw-receipt-hash{grid-column:2;justify-self:start}.sw-workflow-timeline{justify-content:flex-start}.sw-workflow-node{min-width:82px}}


/* V54 detail polish: consistent desktop navigation icons and keyboard focus */
.nav-icon-svg svg{width:14px;height:14px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-icon-svg{flex:0 0 18px}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #61e7c7;outline-offset:3px}
.header-icon{min-width:40px;min-height:40px}
.nav-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
