@font-face{font-family:system-fallback;src:local('Arial')}*{box-sizing:border-box} :root{--blue:#075ce5;--blue-dark:#0045b9;--ink:#132440;--muted:#6e7c91;--line:#e5eaf1;--bg:#f6f7fb;--green:#19b477;--radius:24px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",system-fallback,sans-serif;color-scheme:light}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #70aaff;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.12;letter-spacing:-1.35px;font-weight:720}h2{font-size:23px;letter-spacing:-.7px;font-weight:680}h3{font-size:17px;letter-spacing:-.2px}p{line-height:1.6}.muted{color:var(--muted)}.fine{font-size:12px;color:var(--muted);line-height:1.65}.label{font-size:11px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted)}.icon{width:22px;height:22px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand{display:inline-flex;align-items:center;gap:0;font-size:32px;letter-spacing:-1.8px;font-weight:750;line-height:1;color:var(--blue)}.brand span{font-weight:440}.brand i{width:7px;height:7px;border-radius:50%;background:var(--green);align-self:flex-start;margin:3px 0 0 4px}.brand.white{color:white}.brand.white i{background:#a9f4d2}.btn{border:0;border-radius:14px;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 22px;font-weight:650;font-size:14px;transition:background .16s,transform .16s}.btn:active{transform:scale(.98)}.btn.primary{color:white;background:var(--blue)}.btn.primary:hover{background:var(--blue-dark)}.btn.secondary{background:#edf3ff;color:var(--blue)}.btn.ghost{background:transparent;color:var(--muted)}.btn.danger{background:#fff0ef;color:#b53535}.btn.white{background:white;color:var(--blue)}.btn.small{min-height:38px;padding:9px 14px;font-size:12px;border-radius:11px}.btn.full{width:100%}.btn .icon{width:19px;height:19px}.icon-btn{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid var(--line);background:white;border-radius:50%;padding:0}.icon-btn.bare{background:transparent;border-color:transparent}.icon-btn .icon{width:20px;height:20px}.avatar{width:47px;height:47px;border-radius:16px;background:#e8efff;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;overflow:hidden;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:76px;height:76px;border-radius:24px;font-size:26px}.avatar.tiny{width:34px;height:34px;border-radius:11px;font-size:12px}.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;background:#e9f6ee;color:#20825b;font-size:10px;font-weight:650;letter-spacing:.1px}.badge .icon{width:12px;height:12px}.badge.private{background:#eff2f6;color:#68758a}.badge.blue{background:#eaf0ff;color:var(--blue)}.badge.warning{background:#fff2d8;color:#946b15}.status-dot{height:7px;width:7px;display:inline-block;background:var(--green);border-radius:50%}.row{display:flex;align-items:center;gap:14px}.row.between{justify-content:space-between}.grow{flex:1;min-width:0}.stack{display:flex;flex-direction:column;gap:16px}.space-top{margin-top:24px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}.text-btn{border:0;background:none;color:var(--blue);font-size:12px;font-weight:650;padding:5px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px}.page-heading p{margin-top:9px;color:var(--muted);font-size:14px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px}.panel.no-pad{padding:0}.divider{height:1px;background:var(--line);margin:22px 0}.empty{padding:28px;text-align:center;color:var(--muted)}.empty .icon{width:30px;height:30px;display:block;margin:0 auto 12px;color:#a9b6cc}.empty strong{color:var(--ink);display:block;margin-bottom:6px;font-size:14px}.empty p{font-size:12px;max-width:290px;margin:auto}.notice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:15px;background:#edf3ff;color:#345789;font-size:12px;line-height:1.6}.notice .icon{width:18px;height:18px;margin-top:2px}.notice.green{background:#eaf8f2;color:#237b59}.notice.warning{background:#fff7e6;color:#88651e}.notice.error{background:#fff0ed;color:#a73c36}.error-message{color:#b62d2d;background:#fff0ef;padding:12px 14px;border-radius:10px;font-size:13px;margin:14px 0}.error-message[hidden]{display:none}.loading-screen{height:100dvh;display:grid;place-content:center;gap:30px;text-align:center}.loading-dots{display:flex;gap:6px;justify-content:center}.loading-dots b{background:var(--blue);width:6px;height:6px;border-radius:50%;animation:pulse 1.2s infinite}.loading-dots b:nth-child(2){animation-delay:.15s}.loading-dots b:nth-child(3){animation-delay:.3s}@keyframes pulse{50%{opacity:.3;transform:translateY(-4px)}}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* App shell */
.app-shell{min-height:100dvh;display:grid;grid-template-columns:232px 1fr}.sidebar{position:fixed;top:0;bottom:0;width:232px;display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);padding:38px 24px 24px}.sidebar .brand{margin:0 14px 47px}.sidebar-subtitle{margin:0 14px 15px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;gap:13px;min-height:49px;border-radius:12px;text-align:left;padding:12px 15px;font-size:13px;font-weight:560}.nav button.active{color:var(--blue);background:#edf3ff;font-weight:700}.nav button:hover{background:#f5f7fb}.nav button.active:hover{background:#edf3ff}.nav .icon{width:19px;height:19px}.nav-bubble{margin-left:auto;font-size:10px;background:var(--blue);color:white;padding:3px 5px;border-radius:6px}.sidebar-foot{margin-top:auto}.sidebar-identity{border-top:1px solid var(--line);padding:22px 0 0;margin-top:22px}.sidebar-identity strong{display:block;font-size:12px;margin-bottom:4px}.sidebar-identity small{color:var(--muted);font-size:10px}.shell-main{grid-column:2}.topbar{height:88px;border-bottom:1px solid var(--line);background:#ffffffb0;display:flex;justify-content:space-between;align-items:center;padding:0 44px}.topbar .trail{font-size:12px;color:var(--muted)}.topbar .trail b{color:var(--ink);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:16px}.topbar .brand{display:none}.topbar .secure-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.topbar .secure-label .icon{width:14px;height:14px}.content{padding:42px 44px 45px;max-width:1270px;margin:auto;animation:enter .25s ease-out}.bottom-nav{display:none}.home-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.home-primary{display:flex;flex-direction:column;gap:27px}.hero-card{position:relative;overflow:hidden;color:white;background:var(--blue);border-radius:25px;padding:32px;min-height:232px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.hero-card .label{color:#a9c9ff}.hero-card h2{font-size:33px;line-height:1.13;font-weight:650;letter-spacing:-1px;margin:14px 0}.hero-card p{font-size:12px;color:#bfd7ff;max-width:230px}.hero-card .hero-bottom{display:flex;align-items:center;gap:7px;font-size:10px;color:#d6e5ff;margin-top:22px;position:relative;z-index:1}.hero-bottom .icon{width:14px;height:14px}.hero-art{position:absolute;right:27px;top:49px;width:145px;height:155px;transform:rotate(9deg)}.hero-art:before{content:"";position:absolute;inset:12px -10px -12px 10px;border:1px solid #8cb8ff70;border-radius:22px;transform:rotate(-20deg)}.hero-art-inner{height:100%;border:1px solid #fff5;background:#ffffff16;border-radius:22px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px)}.hero-art .icon{width:72px;height:72px;stroke-width:1}.hero-art .small-tick{position:absolute;bottom:-10px;right:-8px;width:46px;height:46px;border:6px solid var(--blue);border-radius:50%;background:#b6f5d7;color:#187249;display:grid;place-content:center}.hero-art .small-tick .icon{width:22px;height:22px;stroke-width:2.5}.request-row{display:flex;align-items:center;gap:16px;padding:20px;background:white;border:1px solid var(--line);border-radius:18px}.request-row.pending{border-color:#ccdfff;background:#fcfdff}.request-row h3{font-size:14px;margin-bottom:4px}.request-row p{font-size:11px;color:var(--muted)}.service-logo{width:47px;height:47px;background:#e8efff;border-radius:14px;color:var(--blue);display:grid;place-items:center;font-weight:800;flex:none;font-size:21px}.service-logo.loop{background:#efeaff;color:#7257d5}.service-logo.loop .icon{width:26px;height:26px}.request-row .icon-btn{width:34px;height:34px}.wallet-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wallet-tile{position:relative;text-align:left;border:0;overflow:hidden;color:white;border-radius:22px;min-height:215px;display:flex;flex-direction:column;justify-content:space-between;padding:23px;transition:transform .2s}.wallet-tile:hover{transform:translateY(-3px)}.wallet-tile.identity{background:#3984e8}.wallet-tile.age{background:#1db779}.wallet-tile:after{content:"";position:absolute;width:160px;height:160px;right:-35px;bottom:-20px;background:radial-gradient(circle,#ffffff35 1.5px,transparent 2.2px);background-size:10px 10px;transform:rotate(-20deg);border-radius:50%}.wallet-tile .wallet-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.wallet-tile h3{font-size:14px;color:white;font-weight:600}.wallet-tile .wallet-top .icon{width:19px;height:19px}.wallet-tile .tile-main{margin-top:25px;position:relative;z-index:1}.wallet-tile .age-number{font-size:42px;line-height:1;letter-spacing:-2px;font-weight:500;margin-bottom:6px}.wallet-tile .tile-name{font-size:19px;font-weight:580;letter-spacing:-.6px;margin:11px 0 5px}.wallet-tile small{font-size:9px;opacity:.8}.tile-foot{display:flex;justify-content:space-between;align-items:center;margin-top:22px;position:relative;z-index:1}.mini-qr{display:grid;place-items:center;background:white;width:27px;height:27px;border-radius:5px;color:#155444}.mini-qr .icon{width:20px;height:20px;stroke-width:2}.tile-foot .arrow-circle{display:grid;place-content:center;width:25px;height:25px;border:1px solid #fff6;border-radius:50%}.tile-foot .icon{width:15px;height:15px}.tile-foot span{font-size:9px}.activity-list{padding:3px 0}.activity-item{display:flex;gap:13px;align-items:flex-start;padding:17px 0;border-bottom:1px solid var(--line)}.activity-item:last-child{border:0}.event-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);flex:none}.event-icon .icon{width:16px;height:16px}.activity-item strong{font-size:11px;line-height:1.4;display:block;font-weight:600}.activity-item time{display:block;font-size:10px;color:var(--muted);margin-top:5px}.right-column{display:flex;flex-direction:column;gap:22px}.right-column .panel{padding:24px}.right-column h3{font-size:14px}.right-column .section-head{margin-bottom:10px}.quick-action{display:flex;width:100%;align-items:center;text-align:left;padding:16px 0;border:0;border-bottom:1px solid var(--line);background:white;gap:11px}.quick-action:last-child{border-bottom:0}.quick-action>.icon{color:var(--muted);width:18px;height:18px}.quick-action strong{display:block;font-size:12px;margin-bottom:3px}.quick-action small{font-size:10px;color:var(--muted)}.quick-action .chev{width:13px;height:13px}.private-note{display:flex;align-items:flex-start;gap:10px;padding:0 5px}.private-note .icon{width:16px;height:16px;color:#8fa0ba}.private-note p{font-size:10px;color:#8a97aa;line-height:1.65}.wallet-page{max-width:820px}.wallet-page .wallet-pair{gap:24px}.wallet-page .wallet-tile{min-height:300px;padding:28px}.wallet-page .wallet-tile h3{font-size:17px}.wallet-page .age-number{font-size:62px}.wallet-page .tile-name{font-size:25px}.wallet-page .tile-main .avatar{background:#ffffff30;color:white;width:57px;height:57px}.wallet-page .wallet-tile:after{width:240px;height:240px}.wallet-page .tile-foot{margin-top:30px}.wallet-page .notice{margin-top:25px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);gap:24px}.settings-card h2{font-size:19px;margin-bottom:22px}.profile-summary{display:flex;align-items:center;gap:18px;margin-bottom:26px}.profile-summary strong{font-size:18px;display:block;margin-bottom:6px}.profile-summary small{color:var(--muted)}.setting-item{display:flex;align-items:center;gap:14px;padding:19px 0;border-bottom:1px solid var(--line)}.setting-item:last-child{border:0}.setting-item .info strong{font-size:13px;display:block;margin-bottom:5px}.setting-item .info small{font-size:11px;color:var(--muted)}.setting-item>.icon{color:var(--muted);width:19px;height:19px}.setting-item .text-btn{font-size:11px}.device-name{font-size:13px}.device-detail{font-size:10px;color:var(--muted);margin-top:4px}.device-list .setting-item{padding:17px 0}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}.info-grid dt{font-size:10px;color:var(--muted);margin-bottom:6px}.info-grid dd{margin:0;font-size:12px;word-break:break-all}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.admin-client{border:1px solid var(--line);border-radius:15px;padding:20px;margin-bottom:13px;background:white}.admin-client .client-id{font-size:10px;color:var(--muted);margin-top:7px;word-break:break-all}.admin-client .callback-url{font-size:11px;margin-top:10px;word-break:break-all;color:#64758c}.client-actions{display:flex;gap:8px;margin-top:14px}.code-block{white-space:pre-wrap;word-break:break-all;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;background:#f1f4f9;border:1px solid var(--line);border-radius:12px;padding:16px;line-height:1.8;user-select:all}.admin-users{margin-top:24px}.client-secret{font-family:ui-monospace,monospace;word-break:break-all;padding:20px;border:1px dashed #abc6f5;background:#f2f7ff;border-radius:14px;color:var(--blue);font-size:13px;line-height:1.8}
/* Onboarding */
.welcome-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.welcome-left{background:var(--blue);padding:48px 10%;display:flex;flex-direction:column;min-height:100dvh;overflow:hidden;position:relative;color:white}.welcome-left>.brand{position:relative;z-index:1}.welcome-story{margin:auto 0;position:relative;z-index:1;padding:60px 0}.welcome-story .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#abcaff}.welcome-story h1{font-size:64px;font-weight:620;line-height:1.08;letter-spacing:-2.8px;margin:22px 0}.welcome-story p{font-size:15px;color:#c8ddff;max-width:330px}.welcome-art{position:relative;height:190px;margin:45px 0 10px;max-width:300px}.welcome-card{width:230px;height:138px;position:absolute;border-radius:19px;background:#65a0f4;transform:rotate(-10deg);left:4px;top:24px;box-shadow:0 20px 60px #02398733;padding:22px;color:white;display:flex;flex-direction:column;justify-content:space-between}.welcome-card.top{background:#1abd80;transform:rotate(11deg);left:70px;top:0}.welcome-card .icon{width:29px;height:29px}.welcome-card strong{font-size:18px;letter-spacing:-.5px}.welcome-card small{font-size:9px;opacity:.75}.welcome-footer{font-size:10px;color:#a2c5fc;position:relative;z-index:1}.welcome-right{display:flex;align-items:center;justify-content:center;padding:55px;min-height:100dvh;background:white}.auth-form{width:100%;max-width:375px}.auth-form h1{font-size:31px;margin:16px 0 12px}.auth-form>p{font-size:13px;color:var(--muted);margin-bottom:27px}.auth-form>.brand{display:none}.form-field{margin-bottom:17px;display:block}.form-field>span{display:block;font-size:11px;font-weight:650;margin-bottom:8px}.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{background:#fafbfd;border:1px solid #dce3ed;width:100%;min-height:50px;padding:13px 15px;border-radius:11px;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s}.form-field input:focus,.form-field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #075ce512;background:white}.form-field input::placeholder{color:#a3adbd}.form-field small{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.5}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:11px;color:var(--muted);margin:15px 0 24px}.checkbox input{accent-color:var(--blue);width:16px;height:16px;margin:1px 0 0;flex:none}.form-actions{display:flex;flex-direction:column;gap:10px}.form-actions .btn{width:100%}.form-foot{text-align:center;margin-top:23px;font-size:12px;color:var(--muted)}.form-foot button{border:0;background:none;color:var(--blue);font-weight:600;font-size:12px}.auth-form .back-link{font-size:12px;color:var(--muted);background:transparent;border:0;padding:0 0 15px;display:flex;align-items:center;gap:6px}.back-link .icon{width:16px;height:16px}.auth-form .notice{margin-bottom:20px}.small-brand-label{font-size:10px;color:#a0a9b7;text-align:center;margin-top:30px}.install-instructions{max-width:650px;padding:35px;background:white;border:1px solid var(--line);border-radius:24px;margin:10vh auto}.install-instructions h1{font-size:28px;margin:24px 0 12px}.install-instructions p{font-size:13px;color:var(--muted);margin:12px 0}.install-instructions code{font-size:12px;word-break:break-all}
/* PIN screen */
.pin-screen{min-height:100dvh;background:var(--blue);color:white;display:flex;flex-direction:column;align-items:center;position:relative;padding:35px 25px max(30px,env(safe-area-inset-bottom))}.pin-top{display:flex;align-items:center;justify-content:space-between;width:min(100%,390px);margin-bottom:auto}.pin-top .icon-btn{background:transparent;border-color:#ffffff35;color:white}.pin-top .brand{font-size:28px}.pin-content{text-align:center;padding:48px 0 20px;width:min(100%,350px)}.pin-avatar{height:66px;width:66px;border-radius:50%;border:1px solid #ffffff50;display:grid;place-content:center;margin:0 auto 25px;color:#c8dfff;font-size:22px}.pin-content h1{font-size:26px;letter-spacing:-.7px;margin-bottom:12px}.pin-content p{font-size:14px;color:#b7d3ff}.pin-dots{display:flex;gap:19px;justify-content:center;margin:36px 0 20px;min-height:15px}.pin-dots i{display:block;width:13px;height:13px;border-radius:50%;background:#0046b9;border:1px solid #0051cf}.pin-dots i.filled{background:white;border-color:white}.pin-message{height:44px;color:#ffd6cf;font-size:12px;line-height:1.5}.pin-help{background:none;border:0;color:#c3daff;text-decoration:underline;text-underline-offset:4px;font-size:12px;margin-top:12px}.numpad{width:min(100%,330px);display:grid;grid-template-columns:repeat(3,1fr);gap:5px 10px;margin-top:34px;margin-bottom:auto}.numpad button{background:none;border:0;color:white;font-size:27px;font-weight:400;border-radius:18px;min-height:64px;display:grid;place-content:center;transition:background .1s}.numpad button:hover{background:#ffffff15}.numpad button:active{background:#ffffff30}.numpad button.minor{font-size:12px}.numpad .icon{width:24px;height:24px}.pin-foot{font-size:10px;color:#95bbfa;display:flex;align-items:center;gap:6px;margin-top:35px}.pin-foot .icon{width:13px;height:13px}.pin-approval{padding:22px 0;background:var(--blue);border-radius:18px;color:white}.pin-approval .pin-content{padding:16px 20px 0;margin:auto}.pin-approval .pin-content h1{font-size:22px}.pin-approval .numpad{margin:0 auto}.pin-approval .pin-dots{margin:25px 0 12px}.pin-approval .numpad button{min-height:52px;font-size:23px}.pin-approval .pin-message{height:32px}.pin-approval .pin-avatar{display:none}
/* Auth approval and QR wallet */
.auth-center{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:#f2f5fa}.auth-box{background:white;width:100%;max-width:460px;border:1px solid #e0e6ef;box-shadow:0 16px 70px #203b6510;border-radius:24px;padding:30px;min-height:570px;display:flex;flex-direction:column}.auth-box-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:32px}.auth-box-top .brand{font-size:26px}.auth-box-top small{font-size:11px;color:var(--muted);max-width:215px}.auth-box h1{font-size:26px;letter-spacing:-.8px;line-height:1.2}.auth-box>p{font-size:13px;color:var(--muted);margin-top:12px}.auth-box .form-field{margin-top:28px}.auth-box-foot{margin-top:auto;padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-box-foot button{background:none;border:0;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:6px}.auth-box-foot .icon{width:14px;height:14px}.auth-number{font-size:50px;letter-spacing:3px;font-weight:650;color:var(--blue);margin:18px auto 5px;background:#f0f5ff;border-radius:16px;display:grid;place-content:center;width:95px;height:90px}.auth-wait{text-align:center}.auth-wait .auth-qr{width:156px;margin:15px auto 0}.auth-qr svg{display:block;width:100%}.auth-wait h1{margin:0 auto;font-size:24px}.auth-wait p{font-size:12px;margin-top:11px}.auth-wait .timer{color:#8191aa;font-size:10px;margin-top:8px}.auth-wait .btn{margin-top:20px;width:100%}.auth-service{display:flex;gap:15px;align-items:center;margin-bottom:22px}.auth-service h1{font-size:22px}.auth-service small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.scopes{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:23px 0}.scope-row{display:flex;align-items:flex-start;gap:12px;margin:13px 0}.scope-row .icon{width:18px;height:18px;color:var(--blue)}.scope-row strong{display:block;font-size:12px}.scope-row small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.number-choice{display:flex;justify-content:center;gap:14px;margin:17px 0 23px}.number-choice button{height:57px;width:66px;border-radius:12px;border:1px solid #d5e0f3;background:white;font-size:23px;color:var(--ink);font-weight:600}.number-choice button.selected{background:var(--blue);color:white;border-color:var(--blue)}.approval-description{font-size:12px;color:var(--muted);text-align:center}.swipe-approve{position:relative;height:56px;border-radius:40px;background:var(--blue);color:white;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-top:25px}.swipe-approve span{font-size:11px;font-weight:650;pointer-events:none;letter-spacing:.4px;margin-left:28px}.swipe-approve input{position:absolute;inset:0;appearance:none;background:transparent;margin:0;width:100%;cursor:ew-resize}.swipe-approve input::-webkit-slider-thumb{appearance:none;border-radius:50%;height:46px;width:46px;border:0;background:white;box-shadow:0 0 0 1px #e2eaff;margin:5px;cursor:grab;background-image:url('../assets/swipe-arrow.svg');background-size:20px;background-position:center;background-repeat:no-repeat}.swipe-approve input::-moz-range-thumb{border-radius:50%;height:46px;width:46px;border:0;background:white url('../assets/swipe-arrow.svg') center/20px no-repeat}.approval-fallback{text-align:center;margin-top:10px}.approval-fallback button{font-size:10px}.success-screen{text-align:center;padding:45px 15px}.success-mark{height:90px;width:90px;border-radius:30px;margin:0 auto 26px;background:#e7f7ef;color:var(--green);display:grid;place-items:center}.success-mark .icon{width:42px;height:42px;stroke-width:2.1}.success-screen h1{font-size:28px;margin-bottom:14px}.success-screen p{font-size:13px;color:var(--muted);margin-bottom:25px}.wallet-overlay{position:fixed;inset:0;z-index:30;background:#3984e8;color:white;display:flex;flex-direction:column;align-items:center;overflow:auto;padding:30px 22px max(25px,env(safe-area-inset-bottom))}.wallet-overlay.age{background:#1bb67a}.wallet-overlay-top{display:flex;align-items:center;justify-content:space-between;width:min(100%,405px);margin-bottom:20px}.wallet-overlay-top .icon-btn{color:white;background:#ffffff15;border:1px solid #fff3}.wallet-overlay-top h2{font-size:14px;font-weight:600;background:#0000000e;padding:8px 12px;border-radius:7px}.wallet-photo{width:69px;height:74px;border:3px solid #ffffff8c;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:#ffffff22;font-size:23px;font-weight:550}.wallet-photo img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}.wallet-live-bar{width:min(100%,350px);display:flex;justify-content:space-between;align-items:center;margin:15px 0;font-size:10px;color:#ffffffb0}.live-dot{width:6px;height:6px;display:inline-block;background:#d5ffe6;margin-right:4px;border-radius:50%;animation:pulse 2s infinite}.wallet-paper{width:min(100%,350px);background:white;color:var(--ink);border-radius:19px;padding:18px 25px 23px;text-align:center;box-shadow:0 12px 45px #00285415;position:relative}.wallet-paper>.qr{width:min(100%,255px);margin:0 auto 9px;min-height:210px;display:grid;place-items:center}.wallet-paper .qr svg{display:block;width:100%}.wallet-paper .qr .icon{width:48px;height:48px;color:#9dacc3}.qr-contains{font-size:9px;color:#8a99ad;display:inline-flex;align-items:center;gap:5px;background:#f3f5f8;border-radius:9px;padding:4px 8px;margin-bottom:14px}.qr-contains .icon{height:11px;width:11px}.wallet-claim-name{font-size:12px;color:var(--muted);margin-top:4px}.wallet-claim-value{font-size:23px;font-weight:650;letter-spacing:-.7px;margin-top:6px;line-height:1.25}.wallet-paper .fine{font-size:9px;margin-top:15px;color:#8d9aad}.wallet-paper progress{width:100%;height:3px;margin-top:18px;display:block;border:0;appearance:none;accent-color:var(--blue)}progress::-webkit-progress-bar{background:#edf1f6;border-radius:3px}progress::-webkit-progress-value{background:var(--blue);border-radius:3px}.wallet-overlay.age progress::-webkit-progress-value{background:#1ab77a}.wallet-overlay .share-button{background:white;color:#294654;min-height:44px;font-size:11px;border-radius:24px;margin-top:30px}.wallet-overlay .share-footer{font-size:9px;color:#ffffffb0;margin-top:12px;text-align:center;max-width:330px}.wallet-overlay .share-button .icon{width:16px;height:16px}.verification-screen{min-height:100dvh;padding:35px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center}.verification-card{background:white;border:1px solid var(--line);border-radius:25px;padding:30px;width:min(100%,420px);text-align:center}.verification-card .brand{font-size:26px}.verification-card .success-mark{margin:30px auto 22px}.verification-card h1{font-size:25px;margin-bottom:14px}.verification-card .claim{padding:20px;background:#f4f7fc;border-radius:14px;margin:20px 0}.verification-card .claim strong{font-size:28px;display:block;word-break:break-word}.verification-card .claim span{font-size:11px;color:var(--muted)}.verification-card .photo{height:80px;width:80px;object-fit:cover;border-radius:20px;margin:15px auto}.verification-card .notice{text-align:left;margin:20px 0}.scanner-box{position:relative;background:#10223f;border-radius:20px;overflow:hidden;margin:20px 0;aspect-ratio:1;display:grid;place-items:center;color:white}.scanner-box video{height:100%;width:100%;object-fit:cover}.scanner-frame{position:absolute;inset:22%;border:2px solid white;border-radius:20px;box-shadow:0 0 0 100px #07162e60;pointer-events:none}.scanner-hint{font-size:12px;color:var(--muted);text-align:center}.history-list .activity-item{padding:20px 0}.history-list .activity-item strong{font-size:13px}.history-list .activity-item time{font-size:11px}
/* Dialogs */
dialog{padding:0;border:0;width:calc(100% - 32px);max-width:470px;border-radius:23px;max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 30px 120px #081d3e40}dialog::backdrop{background:#12274380;backdrop-filter:blur(5px)}.modal-body{padding:28px}.modal-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.modal-top h2{font-size:22px}.modal-top .icon-btn{height:33px;width:33px}.modal-body>p{color:var(--muted);font-size:12px;margin-bottom:20px}.modal-body .notice{margin:18px 0}.modal-actions{display:flex;gap:10px;margin-top:22px;justify-content:flex-end}.recovery-code{font-family:ui-monospace,monospace;font-size:16px;font-weight:650;letter-spacing:.7px;line-height:1.8;word-break:break-all;padding:22px;background:#edf3ff;border:1px dashed #a6c4ff;border-radius:14px;margin:20px 0;color:var(--blue);user-select:all}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:#172b48;color:white;z-index:150;border-radius:13px;padding:13px 20px;font-size:12px;max-width:calc(100% - 30px);box-shadow:0 10px 35px #203c5c33;text-align:center;line-height:1.5}.toast[hidden]{display:none}.form-checks{display:flex;flex-direction:column;gap:1px;margin:18px 0}.form-checks .checkbox{margin:9px 0;font-size:12px}.file-label{display:inline-flex;gap:8px;align-items:center;color:var(--blue);font-size:12px;cursor:pointer}.file-label input{max-width:200px;font-size:10px}.offline-screen{max-width:440px;margin:15vh auto;padding:30px;text-align:center}.offline-screen h1{font-size:28px;margin:20px 0}.offline-screen p{font-size:13px;color:var(--muted);margin-bottom:24px}.offline-mark{font-size:50px;color:#8ea3c6;margin-top:50px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.content{padding-top:50px}.hero-card{min-height:252px}.wallet-tile{min-height:235px}.hero-art{right:60px}}
@media(max-width:1150px){.app-shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:35px 16px 20px}.content{padding:32px 28px}.topbar{padding:0 28px}.home-columns{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.right-column .panel{padding:20px}.hero-card{padding:27px}.hero-art{right:20px;width:113px;height:130px;top:58px}.hero-card h2{font-size:28px}.hero-card p{max-width:180px}.wallet-tile{padding:19px;min-height:208px}.wallet-tile h3{font-size:12px}.wallet-tile .tile-name{font-size:16px}.home-primary{gap:23px}.panel{padding:22px}.welcome-story h1{font-size:54px}.welcome-right{padding:35px}.admin-grid{grid-template-columns:1fr}.admin-grid .panel{max-width:600px}}
@media(max-width:960px){.home-columns{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.right-column .private-note{grid-column:1 / -1}.hero-art{right:55px;width:145px;height:150px;top:40px}.hero-card h2{font-size:33px}.hero-card p{max-width:260px}.settings-layout{grid-template-columns:1fr}.welcome-story h1{font-size:47px}.welcome-left{padding:38px 11%}.welcome-art{transform:scale(.9);transform-origin:left}.welcome-right{padding:28px}.auth-form h1{font-size:28px}.wallet-tile{min-height:240px;padding:25px}.wallet-tile h3{font-size:15px}.wallet-tile .tile-name{font-size:22px}}
@media(max-width:700px){body{font-size:14px}.app-shell{display:block}.sidebar{display:none}.topbar{height:82px;padding:18px 23px;background:var(--bg);border:0}.topbar .brand{display:inline-flex;font-size:28px}.topbar .trail,.topbar .secure-label{display:none}.topbar-actions{gap:8px}.topbar-actions>.avatar{display:none}.topbar .icon-btn{height:36px;width:36px;background:transparent;border:0}.content{padding:18px 22px calc(100px + env(safe-area-inset-bottom));max-width:580px}.bottom-nav{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;justify-content:space-around;background:#ffffffef;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:12px 10px calc(12px + env(safe-area-inset-bottom));height:calc(77px + env(safe-area-inset-bottom))}.bottom-nav button{background:none;border:0;color:#8a98ac;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;min-width:57px;font-weight:550;padding:0}.bottom-nav button .icon{width:22px;height:22px}.bottom-nav button.active{color:var(--blue)}h1{font-size:29px;letter-spacing:-1px}.page-heading{margin-bottom:25px;align-items:flex-start}.page-heading p{font-size:12px;margin-top:8px}.page-heading>.avatar{height:46px;width:46px;border-radius:16px;font-size:16px;margin-top:4px}.page-heading .label{font-size:9px;margin-bottom:8px}.page-heading h1{font-size:30px}.home-columns{gap:22px}.home-primary{gap:26px}.hero-card{border-radius:22px;min-height:211px;padding:25px}.hero-card h2{font-size:26px;max-width:215px;margin-top:12px}.hero-card p{font-size:11px;max-width:180px}.hero-card .label{font-size:9px}.hero-card .hero-bottom{margin-top:20px;font-size:9px}.hero-art{width:102px;height:122px;right:27px;top:53px}.hero-art .icon{width:55px;height:55px}.hero-art .small-tick{height:36px;width:36px;border-width:4px}.hero-art .small-tick .icon{width:18px;height:18px}.section-head h2{font-size:18px;letter-spacing:-.5px}.section-head{margin-bottom:15px}.text-btn{font-size:11px}.wallet-pair{gap:12px}.wallet-tile{min-height:211px;padding:19px;border-radius:19px}.wallet-tile h3{font-size:12px}.wallet-tile .wallet-top .icon{width:16px;height:16px}.wallet-tile .tile-main{margin-top:23px}.wallet-tile .tile-name{font-size:16px;line-height:1.25;letter-spacing:-.5px}.wallet-tile small{font-size:8px}.wallet-tile .tile-main .avatar{height:34px;width:34px;border-radius:10px;font-size:13px}.wallet-tile .age-number{font-size:35px;margin-top:6px}.tile-foot{margin-top:16px}.tile-foot span{font-size:8px}.tile-foot .arrow-circle{width:23px;height:23px}.mini-qr{height:23px;width:23px}.mini-qr .icon{height:17px;width:17px}.wallet-tile:after{height:120px;width:120px;right:-30px;bottom:5px}.right-column{display:flex;gap:20px}.right-column .panel{padding:22px;border-radius:20px}.right-column .panel.quick-panel{display:none}.right-column .private-note{padding:0 4px}.right-column .panel h3{font-size:15px}.activity-item strong{font-size:12px}.activity-item time{font-size:10px}.activity-item{padding:16px 0}.activity-list{padding:0}.request-row{padding:16px;gap:12px;border-radius:16px}.request-row h3{font-size:13px}.request-row p{font-size:10px}.service-logo{height:42px;width:42px;border-radius:13px;font-size:19px}.request-row .btn{padding:9px 11px;min-height:36px;font-size:11px;border-radius:10px}.panel{border-radius:20px;padding:22px}.notice{font-size:11px;padding:15px}.wallet-page .wallet-pair{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:0 0 12px}.wallet-page .wallet-tile{flex:0 0 80%;min-height:345px;padding:28px;scroll-snap-align:center}.wallet-page .wallet-tile h3{font-size:16px}.wallet-page .tile-name{font-size:25px}.wallet-page .age-number{font-size:63px}.wallet-page .tile-main .avatar{height:65px;width:65px;font-size:24px}.wallet-page .tile-foot span{font-size:10px}.wallet-page .tile-foot{margin-top:35px}.wallet-page .notice{margin-top:17px}.settings-card h2{font-size:18px}.settings-layout{gap:20px}.profile-summary{gap:15px}.profile-summary .avatar{height:60px;width:60px;border-radius:20px;font-size:21px}.profile-summary strong{font-size:17px}.setting-item .info small{font-size:10px}.setting-item .info strong{font-size:12px}.setting-item{gap:12px}.settings-card .btn{font-size:12px}.admin-grid{gap:20px}.info-grid{grid-template-columns:1fr}.welcome-shell{display:block;background:white}.welcome-left{display:none}.welcome-right{padding:34px 25px;min-height:100dvh;align-items:flex-start}.auth-form{max-width:400px;margin:12px auto}.auth-form>.brand{display:inline-flex;margin-bottom:45px;font-size:34px}.auth-form h1{font-size:31px}.auth-form>p{font-size:13px}.auth-form .label{font-size:10px}.auth-form .notice{font-size:11px}.small-brand-label{margin-top:30px}.pin-screen{padding-top:max(28px,env(safe-area-inset-top));padding-bottom:max(25px,env(safe-area-inset-bottom))}.pin-top{padding:0 3px}.pin-content{padding-top:65px}.numpad{gap:5px 13px;max-width:300px;margin-top:25px}.numpad button{min-height:65px;font-size:28px}.pin-content h1{font-size:24px}.pin-help{font-size:12px}.pin-foot{margin-top:40px}.auth-center{padding:0;background:white;align-items:stretch}.auth-box{border:0;box-shadow:none;border-radius:0;min-height:100dvh;padding:26px 25px max(28px,env(safe-area-inset-bottom));max-width:470px}.auth-box-top{padding-bottom:24px;margin-bottom:40px}.auth-box h1{font-size:26px}.auth-wait .auth-qr{width:170px;margin-top:18px}.auth-box-foot{padding-top:45px}.auth-service{margin-bottom:15px}.auth-service h1{font-size:23px}.auth-wait{padding-top:5px}.auth-wait .btn{margin-top:22px}.wallet-overlay{padding-top:max(25px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.wallet-overlay-top{margin-bottom:15px}.wallet-photo{height:77px;width:72px}.wallet-paper{border-radius:15px;padding:13px 22px 20px;max-width:350px}.wallet-paper>.qr{width:240px;min-height:210px}.wallet-claim-value{font-size:22px}.wallet-overlay .share-button{margin-top:25px}.wallet-live-bar{margin-top:14px}.toast{bottom:calc(93px + env(safe-area-inset-bottom));font-size:11px}.verification-screen{justify-content:flex-start;padding:25px 20px}.verification-card{padding:27px 23px}.install-instructions{margin:8vh 22px;padding:26px}.install-instructions h1{font-size:25px}dialog{max-height:92dvh}.modal-body{padding:24px}.modal-top h2{font-size:20px}.scanner-box{max-height:310px}.info-grid dd{font-size:11px}}
@media(max-width:365px){.content{padding-left:16px;padding-right:16px}.topbar{padding-left:18px;padding-right:18px}.hero-art{right:20px;width:90px;height:115px}.hero-card{padding:23px}.hero-card h2{font-size:27px}.hero-card p{max-width:157px}.wallet-tile{padding:16px;min-height:206px}.wallet-tile h3{font-size:11px}.wallet-tile .tile-name{font-size:15px}.auth-box{padding-left:22px;padding-right:22px}.pin-content{padding-top:40px}.numpad button{min-height:54px}.pin-dots{margin-top:26px}.pin-avatar{margin-bottom:18px}.pin-foot{margin-top:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

body.wallet-open{overflow:hidden}
/* Language selection on every entry path; native select remains keyboard accessible. */
.locale-control{display:inline-flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap;font-size:11px}.locale-control>.icon{width:15px;height:15px}.locale-control select{border:0;background:transparent;color:inherit;font:inherit;max-width:88px;padding:5px 2px;cursor:pointer}.locale-control select option{background:white;color:#132440}.auth-brand-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.auth-brand-row>.brand{font-size:28px}.pin-top>.locale-control{color:#e3efff}.pin-top>.locale-control .icon{display:none}.pin-top>.locale-control select{max-width:74px}.auth-box-foot>.locale-control{margin-right:auto}.verification-card .locale-control{font-size:10px}.verification-card .locale-control .icon{display:none}.sidebar .brand{margin-bottom:47px}
@media(max-width:700px){.auth-brand-row{margin:0 0 42px}.auth-brand-row>.brand{font-size:32px}.topbar-actions{gap:9px}.topbar-actions>.locale-control{font-size:10px}.topbar-actions>.locale-control .icon{display:none}.topbar-actions>.locale-control select{max-width:73px}.pin-top{gap:12px}.pin-top .brand{font-size:27px}.pin-top>.icon-btn:last-child{display:none}.auth-box-foot{flex-wrap:wrap}.auth-box-foot>.locale-control{width:100%;justify-content:center;order:2;margin-top:15px}.auth-box-foot>.locale-control select{max-width:90px}.verification-card .locale-control select{max-width:78px}}
