:root{color-scheme:dark;--bg:#0d1014;--panel:#1e2228;--silver:#d9dee6;--sub:#a9afb9;--stroke:#666b74;--red:#fa252d;--red-dark:#8c030a;--radius:18px;--shine:linear-gradient(160deg,rgba(255,255,255,.21),rgba(255,255,255,.04) 39%,rgba(0,0,0,.13) 70%,rgba(255,255,255,.12));font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:radial-gradient(ellipse at 52% 20%,#353a41 0%,#13171c 52%,#050709 100%);color:#f1f3f6}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}a{color:inherit;text-decoration:none}.stage{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:26px;gap:36px;background:radial-gradient(ellipse at 35% 10%,#44494e5c,transparent 52%)}.poster{width:300px;max-width:28vw;min-height:700px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;border-radius:20px;overflow:hidden;background:#111}.poster:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b0e11 5%,#0b0e1190 43%,transparent 70%),url('/assets/collision.jpg') center top/auto 88% no-repeat;opacity:.98}.poster>*{position:relative;z-index:1}.poster .brand{position:absolute;top:22px;left:22px}.poster h2{font-size:29px;font-weight:900;line-height:1.05;text-shadow:0 3px 12px black;margin:0 0 12px}.poster h2 em,.splash-title em{background:linear-gradient(#ff4752,#c60012);padding:1px 7px;border-radius:5px;font-style:italic}.poster p{line-height:1.38;color:#e1e2e4;margin:0 0 20px}.poster-pills{display:grid;gap:10px}.poster-pills div{border:1px solid #999c9c66;border-radius:18px;background:linear-gradient(120deg,#373b3fbb,#101419bb);padding:11px 14px;font-size:13px}.poster .signature{font-size:13px;margin:15px 0 0;letter-spacing:1px}.device{width:390px;max-width:100%;height:min(844px,calc(100vh - 44px));min-height:560px;border-radius:37px;padding:6px;background:linear-gradient(135deg,#e3e6e8,#474c50 16%,#080a0d 24%,#7f8488 50%,#15181b 75%,#c7ccce);box-shadow:0 0 0 2px #b4bbc188,0 20px 80px #000b,0 0 45px #ffffff1b;position:relative}.device:before{content:"";position:absolute;width:115px;height:18px;left:50%;top:7px;transform:translateX(-50%);border-radius:0 0 14px 14px;background:#050609;z-index:11}.app{height:100%;width:100%;background:linear-gradient(154deg,#14191e 0%,#0b1014 55%,#191d22 100%);border:2px solid #040506;border-radius:32px;overflow:hidden;display:flex;flex-direction:column;position:relative}.status-bar{height:33px;flex-shrink:0;display:flex;justify-content:space-between;padding:10px 20px 1px;font-size:11px;letter-spacing:.3px;font-weight:bold;z-index:4;color:#f0f2f4}.view{flex:1;overflow:auto;scrollbar-width:none;overscroll-behavior:contain;padding-bottom:14px;position:relative}.view::-webkit-scrollbar{display:none}.app-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-height:49px;padding:8px 16px;background:linear-gradient(180deg,#25292ed9,#1d2227ed);border-bottom:1px solid #777a7e55;box-shadow:0 6px 18px #0004}.app-header h1{font-size:16px;line-height:1.15;margin:0;flex:1;text-align:center}.app-header strong{font-size:16px;letter-spacing:-1px}.app-header strong i{color:#ff2d36;font-style:italic}.back{background:none;border:0;color:white;font-size:28px;width:32px;line-height:1}.bell{background:linear-gradient(#42474c,#1c2025);color:#fff;border:1px solid #5c6065;border-radius:12px;width:36px;height:33px}.brand{display:flex;align-items:center;gap:9px;font-weight:900}.brand-mark{font-size:34px;line-height:1;letter-spacing:-7px;padding:0 12px 0 0;font-weight:1000;font-style:italic;text-shadow:1px 2px 0 #61666b,0 0 11px #fff8;position:relative}.brand-mark:after{content:"";position:absolute;width:47px;height:24px;border-top:4px solid #ee222c;border-right:3px solid #ee222c;border-radius:50%;right:2px;top:-6px;transform:rotate(-17deg)}.brand-label{font-size:17px;line-height:.98;letter-spacing:-.7px;color:#e1e3e7}.logo-small .brand-mark{font-size:26px}.logo-small .brand-mark:after{width:37px;height:18px}.logo-small .brand-label{font-size:13px}.bottom-nav{height:61px;flex-shrink:0;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:4px 9px 1px;background:linear-gradient(#24282c,#101419);border-top:1px solid #65696e80;box-shadow:0 -12px 18px #0005}.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#d9dfe2;font-size:10px;border:0;background:transparent;border-radius:16px;transition:.2s}.tab .emoji{font-size:23px;filter:grayscale(1)}.tab.active{background:radial-gradient(ellipse at 50% 20%,#ff6262,#ec1021 45%,#60030b 95%);border:1px solid #ff9092;box-shadow:0 0 17px #eb1b2a77, inset 0 3px 8px #ffffff5c;font-weight:bold}.tab.active .emoji{filter:none}.home-indicator{height:17px;flex-shrink:0;display:flex;justify-content:center;align-items:center;background:#0b1014}.home-indicator:before{content:"";height:4px;width:104px;border-radius:6px;background:#f5f5f5}.splash{min-height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 18px 24px;position:relative;isolation:isolate}.splash:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#090d0dd8 0%,#11182048 26%,#05080a00 49%,#05080ac0 68%,#0d1217 92%),url('/assets/collision.jpg') center 22%/100% auto no-repeat;z-index:-1}.splash .brand{flex-direction:column;gap:8px}.splash .brand-mark{font-size:45px}.splash .brand-label{font-size:15px;letter-spacing:0}.splash-grow{flex:1;min-height:190px}.splash-title{font-size:31px;line-height:1.04;font-weight:1000;text-transform:uppercase;text-shadow:0 3px 9px #000;margin:0 0 10px}.splash p{font-size:15px;line-height:1.4;margin:0 0 17px;text-shadow:0 2px 8px #000}.splash-dots{display:flex;gap:8px;justify-content:center;margin:17px 0 0}.splash-dots span{height:9px;width:9px;background:#797d82;border-radius:50%}.splash-dots .on{background:#ff1824;box-shadow:0 0 9px #f12429}.red-btn{width:100%;min-height:49px;padding:10px 17px;border-radius:35px;color:white;font-size:16px;font-weight:800;background:linear-gradient(180deg,#ffb2b4 0%,#ff4653 11%,#f01221 46%,#b1000b 79%,#ec101e 100%);border:1px solid #ff606c;text-shadow:0 2px 2px #610008;box-shadow:inset 0 3px 5px #ffffff77,inset 0 -3px 5px #650007,0 5px 13px #0008,0 0 20px #ea14244b;transition:.18s}.red-btn:active{transform:translateY(2px);box-shadow:inset 0 4px 9px #4c0009}.red-btn.big{min-height:88px;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:19px}.red-btn.big small{font-size:12px;font-weight:normal;display:block;margin-top:5px}.primary-action{margin-top:auto}.glass{background:var(--shine),linear-gradient(145deg,#393d43 0%,#20252b 49%,#30353c 100%);border:1px solid #9298a16f;border-top-color:#e3e8ec85;border-radius:18px;box-shadow:inset 0 1px 8px #ffffff18,0 8px 13px #0006}.glass-btn{width:100%;color:#f8f9fb;display:flex;align-items:center;gap:13px;padding:12px 13px;text-align:left;border:1px solid #9298a16f;border-top-color:#e3e8ec85;border-radius:17px;background:var(--shine),linear-gradient(135deg,#32373d,#171c21);box-shadow:inset 0 1px 7px #fff2,0 6px 11px #0007}.glass-btn:active,.glass-btn.active{background:linear-gradient(135deg,#50555b,#272b31)}.glass-btn .gicon{font-size:25px;flex-shrink:0;filter:grayscale(1) brightness(1.6)}.glass-btn .bt{font-weight:bold;font-size:13px;line-height:1.2}.glass-btn .bs{font-size:10px;line-height:1.3;color:#d4d7dc;margin-top:4px}.page{padding:13px 14px 22px}.muted{color:#b4bac4}.small{font-size:12px}.tiny{font-size:10px}.welcome-line{display:flex;gap:12px;align-items:center;margin:7px 5px 15px}.avatar{width:52px;height:52px;border-radius:50%;border:2px solid #b0b3b5;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#4a4e53,#1c1f24);font-size:29px;flex-shrink:0}.home-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}.tile{min-height:100px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;padding:11px 5px;color:white;background:var(--shine),linear-gradient(145deg,#343940,#191d22);border:1px solid #757b83;border-radius:19px;box-shadow:0 6px 16px #0008,inset 0 2px 7px #fff2}.tile:active{transform:scale(.97)}.tile span{font-size:33px;filter:grayscale(1) brightness(1.5)}.tile b{font-size:11px;line-height:1.25}.section-title{font-size:16px;font-weight:bold;margin:17px 0 9px}.safety-step{display:flex;gap:12px;align-items:center;min-height:66px;position:relative;margin-bottom:10px}.safety-step .num{background:linear-gradient(#ff8285,#d10013,#8d0010);border:1px solid #ff9da0;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-weight:bold;margin-left:-9px;box-shadow:0 0 11px #db1a2580;flex-shrink:0}.safety-step .step-content{flex:1;padding:11px 9px;display:flex;align-items:center;gap:9px}.safety-step .step-icon{font-size:27px;filter:grayscale(1) brightness(1.8)}.safety-step .step-title{font-size:12px;font-weight:bold}.safety-step .step-desc{font-size:10px;line-height:1.3;color:#dadee3;margin-top:3px}.step-content button{background:none;color:white;border:0;text-align:left;width:100%;display:flex;align-items:center;gap:9px;padding:0}.steps-footer{margin-top:24px}.error,.notice,.success{border:1px solid #8b4f53;background:#521e2380;padding:12px;border-radius:13px;font-size:12px;line-height:1.45}.success{border-color:#538665;background:#18392980}.notice{border-color:#747c88;background:#2f343e7d}.error strong,.notice strong,.success strong{display:block;margin-bottom:4px}.warn-card{padding:14px;margin:9px 0}.warn-card h3{font-size:16px;margin:0 0 9px}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.secondary-btn{background:var(--shine),linear-gradient(175deg,#757b81,#30353b);border:1px solid #c7ccd1aa;border-radius:26px;min-height:43px;padding:9px 13px;font-weight:bold;color:#fff;box-shadow:inset 0 2px 8px #fff4,0 5px 9px #0007}.form{display:grid;gap:11px}.field{display:grid;gap:6px;font-size:12px;font-weight:bold;color:#dce0e6}.field input,.field textarea,.field select,.chat-input{width:100%;background:linear-gradient(#30353a,#171b20);color:#fff;border:1px solid #777e87;border-radius:13px;min-height:42px;padding:11px;outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field textarea:focus,.chat-input:focus{border-color:#ff545c;box-shadow:0 0 0 2px #ff545c28}.link{color:#ff8d92;text-decoration:underline;cursor:pointer}.gap8{height:8px}.gap16{height:16px}.preview{width:100%;height:180px;border-radius:15px;object-fit:cover;border:2px solid #949ba5}.photo-placeholder{border:2px dashed #b4bbc4;border-radius:16px;height:184px;display:grid;place-items:center;text-align:center;background:linear-gradient(#22292f,#11151a);color:#bec4cd;overflow:hidden}.photo-placeholder img{height:100%;width:100%;object-fit:cover}.file-picker{display:block;position:relative}.file-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.file-picker span{display:block;text-align:center;padding:12px}.chat-thread{display:flex;flex-direction:column;gap:11px;min-height:230px;margin:12px 0}.chat-bubble{max-width:91%;padding:11px 12px;background:var(--shine),linear-gradient(155deg,#444951,#22262c);border:1px solid #737a84;border-radius:15px;font-size:12px;line-height:1.5;align-self:flex-start;white-space:pre-wrap}.chat-bubble.user{align-self:flex-end;background:linear-gradient(155deg,#6b252d,#361a20);border-color:#a8434b}.quick{display:grid;gap:7px;margin-bottom:12px}.quick button{min-height:32px;text-align:left;padding:8px 11px;color:white;font-size:11px;background:var(--shine),linear-gradient(155deg,#343941,#1d2228);border:1px solid #6c7178;border-radius:18px}.quick button:before{content:'❯';color:#ff323c;margin-right:8px}.chat-controls{display:flex;gap:7px}.chat-controls input{flex:1;min-width:0;border-radius:30px}.send{border-radius:50%;width:44px;flex-shrink:0;border:1px solid #ff8b8e;background:linear-gradient(#ff7a80,#d10c1d,#97000b);color:#fff;font-size:23px}.premium-tag{display:inline-block;color:#ffc2c4;background:#7c162268;border:1px solid #bf4b53;padding:4px 9px;border-radius:20px;font-size:10px}.pill-row{display:flex;gap:8px;align-items:center;justify-content:space-between}.progress{height:8px;border-radius:10px;background:#343b42;overflow:hidden}.progress div{height:100%;background:linear-gradient(90deg,#d31020,#fc7079)}.list{display:grid;gap:9px}.list .glass-btn{min-height:65px}.empty{color:#c9cbd1;text-align:center;font-size:13px;padding:24px 8px}.line{height:1px;background:#757c8255;margin:12px 0}.badge{display:inline-block;padding:4px 10px;background:#a11625;border:1px solid #d34755;border-radius:15px;font-size:10px}.card-pad{padding:15px}.plan{padding:13px;margin:0 0 11px}.plan-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold}.plan-header .price{font-size:20px}.plan p{font-size:12px;color:#c3c9ce;line-height:1.4}.plan .red-btn{min-height:42px}.figure-note{margin:9px 0;font-size:10px;color:#bac1c9}.banner-image{border-radius:15px;display:block;width:100%;height:160px;object-fit:cover;opacity:.9}.toast{position:absolute;z-index:20;left:16px;right:16px;bottom:80px;padding:13px;border-radius:12px;background:#343a41;border:1px solid #94989d;box-shadow:0 10px 33px #000c;font-size:12px}.footer-legal{font-size:10px;color:#8a929e;text-align:center;margin:14px 0}.spinner{width:18px;height:18px;border-radius:50%;border:3px solid #fff5;border-top-color:white;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{position:absolute;top:46%;left:46%;font-size:40px;font-weight:bold}.boot span{display:block;font-size:12px}.focused{background:#45232a;border-color:#d43c4c!important}.invisible{display:none!important}
@media(max-width:800px){.stage{padding:0;gap:0;display:block}.poster{display:none}.device{width:100%;max-width:none;height:100dvh;min-height:520px;border-radius:0;border:0;padding:0;box-shadow:none}.device:before{display:none}.app{border:0;border-radius:0}.status-bar{height:25px;padding:7px 16px 0}.home-indicator{height:20px;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav{height:calc(59px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.view{padding-bottom:5px}}
@media(min-width:801px) and (max-height:690px){.device{height:calc(100vh - 22px)}.poster{min-height:0;height:calc(100vh - 22px)}}

.lawyer-avatar{padding:0;overflow:hidden;border:2px solid #a8adb4;background:#15171b}.lawyer-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}

/* v0.3 VISUAL ALIGNMENT — Luxury Graphite / Silver / Red */
:root{--red:#ee1423;--dark-glass:#1b2027;--silver-stroke:#a4a9b0}
body{background:radial-gradient(ellipse at 50% 10%,#3e444a 0%,#15191d 56%,#060709 100%)}
.stage{gap:24px}
.poster{border:1px solid #6b737a;box-shadow:inset 0 2px 20px #fff2,0 18px 50px #000a;min-height:715px}
.poster:before{background:linear-gradient(0deg,#0a0e13 0%,#0a0e1394 39%,#0a0e1322 67%,#0a0e1355 100%),url('/assets/collision.jpg') center top/cover no-repeat}
.poster-pills div{border-top:1px solid #dedfe099;background:linear-gradient(165deg,#5a6069a8,#151a21c4 65%,#41474dab);box-shadow:inset 0 1px 6px #fff2,0 5px 8px #0008;backdrop-filter:blur(9px)}
.device{box-shadow:0 0 0 2px #aeb7bc98,0 15px 75px #000e,0 0 40px #e8edf120}
.app{background:radial-gradient(circle at 50% 0,#30363d 0%,#14191f 40%,#0c1015 90%)}
.app-header{min-height:57px;background:linear-gradient(180deg,#292e33f2,#1b2026ed);border-bottom:1px solid #8e959d55}
.app-header h1{font-weight:760;letter-spacing:-.25px}
.main-head{justify-content:space-between}
.head-brand{background:transparent;border:0;color:white;display:flex;align-items:center;gap:15px;padding:0}
.head-brand .brand-mark{font-size:30px}
.head-brand .head-name{font-size:18px;font-weight:800}
.head-name em{font-style:italic;color:#ff3f4b}
.ng-icon{flex-shrink:0;stroke:#f3f5f7;filter:drop-shadow(0 1px 1px #0009)}
.splash{min-height:100%;padding:18px 17px 25px;background:#0b0f14}
.splash:before{background:linear-gradient(180deg,#04080ad0 0%,#12171a58 16%,#080e120b 36%,#080d1194 62%,#0b1015 85%),url('/assets/collision.jpg') center 21% / 100% auto no-repeat}
.splash .splash-brand{margin-top:8px}
.splash-brand .brand{display:flex;flex-direction:column;gap:6px}
.splash-brand .brand-mark{font-size:46px;text-shadow:0 3px 10px #000,0 0 14px #ffffff40}
.splash-brand .brand-label{font-size:17px;text-align:center;line-height:1.04;font-weight:900;letter-spacing:-.35px;text-shadow:0 2px 10px #0009}
.splash-grow{flex:1;min-height:235px}
.splash-text{width:100%;margin-top:auto;padding:8px 10px 2px;background:linear-gradient(180deg,transparent 0%,rgba(7,10,13,.12) 8%,rgba(7,10,13,.48) 36%,rgba(8,11,15,.72) 100%);backdrop-filter:blur(2px)}
.splash-title{font-size:clamp(29px,8.8vw,36px);letter-spacing:-1px;line-height:.98;font-weight:1000;text-transform:uppercase;margin:0 0 14px;color:#f7f9fb;text-shadow:0 2px 0 #5e6166,0 7px 20px #000f,0 0 18px rgba(255,255,255,.08)}
.splash-text p{font-size:16px;line-height:1.42;color:#f0f2f5;font-weight:700;letter-spacing:-.2px;text-shadow:0 2px 10px #000d;max-width:290px;margin:0 auto 19px}
.splash-start{max-width:340px;min-height:54px;font-size:17px;letter-spacing:-.25px;box-shadow:inset 0 3px 7px #ffffff8f,inset 0 -4px 7px #650007,0 10px 24px #000a,0 0 24px #ea14245c}
.splash-dots button{height:11px;width:11px;border:1px solid #b5bcc633;background:linear-gradient(180deg,#7e858d,#5f666d);border-radius:50%;padding:0;box-shadow:inset 0 1px 2px #ffffff26}
.splash-dots button.on{background:linear-gradient(180deg,#ff7f89,#ff2031 42%,#b70014 100%);box-shadow:0 0 11px #fa263e,inset 0 1px 2px #fff7}
.splash-title em{display:inline-block;padding:3px 10px 4px;border-radius:11px;background:linear-gradient(180deg,#ff6872 0%,#f31f2f 48%,#a10012 100%);border:1px solid #ff8f97;color:#fff;font-style:italic;box-shadow:inset 0 1px 3px #fff8,0 4px 12px #0008;vertical-align:middle;margin-left:3px}
.splash-title .title-main{display:inline-block;background:linear-gradient(180deg,#ffffff 0%,#edf1f6 52%,#cad1da 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 #5d6268) drop-shadow(0 8px 14px rgba(0,0,0,.85))}
.splash-title .title-sub{display:inline-block;background:linear-gradient(180deg,#ffffff 0%,#eef2f7 55%,#cfd6dd 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 #5d6268) drop-shadow(0 8px 14px rgba(0,0,0,.85))}
.splash-slide-1:before{background:linear-gradient(180deg,#06080bde 0%,#05080c62 20%,#070b0d45 42%,#0b1014 85%),url('/assets/damage.jpg') center 33%/auto 61% no-repeat}
.splash-slide-2:before{background:linear-gradient(180deg,#05070ad9 0%,#0b0d118f 34%,#0b1014f2 85%),url('/assets/nightcar.jpg') center 30%/auto 62% no-repeat}
.red-btn{border-top:1px solid #ffc5c7; background:linear-gradient(180deg,#ffadb0 0%,#ff444d 11%,#ef091b 45%,#b8000b 80%,#e80d1c 100%);box-shadow:inset 0 2px 4px #fff8,inset 0 -4px 4px #6f000a,0 5px 12px #000a,0 0 19px #df18245e;letter-spacing:-.12px}
.red-btn:hover:not(:disabled){filter:brightness(1.07)}
.red-btn:focus-visible,.secondary-btn:focus-visible,.glass-btn:focus-visible,.tile:focus-visible,.tab:focus-visible{outline:2px solid #ff8589;outline-offset:3px}
.glass,.glass-btn,.tile{border-top-color:#bfc5c9c0;background:linear-gradient(155deg,#5a5f6569,#242930 37%,#171b21 72%,#44495161),linear-gradient(130deg,#293038,#15191f);box-shadow:inset 0 2px 9px #fff2,0 7px 15px #0008}
.home-page{padding-top:13px}
.home-page .welcome-line{margin:4px 5px 15px;font-size:15px}
.home-page .avatar{width:49px;height:49px;background:linear-gradient(140deg,#878b8e,#3e4249,#14191e);border:2px solid #b7bdc1}
.accident-cta{display:flex;gap:13px;align-items:center;justify-content:center;min-height:94px!important;border-radius:28px!important}
.accident-cta span{font-size:19px}
.accident-cta small{font-size:11px!important}
.home-tiles{gap:9px}
.tile{border-radius:18px;min-height:109px;gap:10px}
.tile b{font-size:10.5px;line-height:1.25}
.bottom-nav{height:62px;background:linear-gradient(#262a30,#11171c);border-top:1px solid #7d828b80}
.tab{font-size:10px}.tab svg{width:23px;height:23px}
.tab.active{background:radial-gradient(ellipse at 50% 20%,#ff9da1 0%,#f4202e 35%,#8e000b 89%)}
.home-help{margin-top:3px}.home-help .secondary-btn{display:flex;align-items:center;justify-content:center;gap:8px}
.back-to-splash{width:100%;border:0;background:transparent;color:#c5cbd4;text-decoration:underline;font-size:11px;margin:14px auto 4px}
.photo-page{padding:13px 15px 24px}
.photo-stage{position:relative;width:100%;height:235px;border-radius:17px;overflow:hidden;border:1px solid #b6b9bba8;background:linear-gradient(160deg,#323940,#090e14);box-shadow:inset 0 0 20px #0009,0 8px 16px #0008}
.photo-stage>img{width:100%;height:100%;object-fit:cover;display:block}
.photo-stage.photo-demo>img{object-position:center 45%}
.photo-stage .corner{position:absolute;display:block;width:33px;height:33px;border-color:#fff;border-style:solid;border-width:0;filter:drop-shadow(0 1px 2px #000)}
.photo-stage .corner.tl{top:12px;left:12px;border-top-width:4px;border-left-width:4px;border-radius:9px 0 0 0}
.photo-stage .corner.tr{top:12px;right:12px;border-top-width:4px;border-right-width:4px;border-radius:0 9px 0 0}
.photo-stage .corner.bl{bottom:12px;left:12px;border-bottom-width:4px;border-left-width:4px;border-radius:0 0 0 9px}
.photo-stage .corner.br{bottom:12px;right:12px;border-bottom-width:4px;border-right-width:4px;border-radius:0 0 9px 0}
.sample-stamp{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);font-size:9px;background:#090c10d8;padding:4px 8px;border:1px solid #ff737a8a;border-radius:12px;white-space:nowrap;color:#ffd5d7}
.photo-file-label{font-size:11px;text-align:center;min-height:27px;padding-top:9px;color:#d5dce2;overflow-wrap:anywhere}
.photo-check{background:#e70c1e;border-radius:5px;padding:1px 4px;font-weight:900}
.photo-pickers{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0 12px}
.picker-control{display:flex;justify-content:center;align-items:center;gap:10px;position:relative;min-height:43px;font-size:13px;cursor:pointer;overflow:hidden}
.picker-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.photo-options{margin-bottom:12px}
.photo-options .premium-tag{font-size:9px}
.photo-options .field{margin:12px 0}
.photo-options .field select{font-size:12px}
.consent-line{display:flex;align-items:start;gap:9px;font-size:11px;line-height:1.38;color:#dbe0e5;margin:11px 0 13px}
.consent-line input{margin:1px 0 0;width:17px;height:17px;accent-color:#dc1b27;flex-shrink:0}
.analyze-btn{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px}
.save-case-btn{margin-top:9px;width:100%;font-size:12px;display:flex;gap:9px;justify-content:center;align-items:center}
.photo-results{margin:0 0 12px}
.photo-results h3{display:flex;align-items:center;gap:9px;margin:0 0 10px;font-size:15px}
.report-demo-line{display:flex;gap:8px;align-items:start;margin:8px 0;font-size:11px;line-height:1.4}
.circle-red{background:linear-gradient(#ff7579,#a90010);border-radius:50%;font-size:10px;width:18px;height:18px;display:grid;place-items:center;flex-shrink:0}
.report-status{color:#b9e8cb;font-size:10px;font-weight:700;margin-bottom:9px}
.report-heading{font-size:12px;color:#fff}
.photo-results ul{font-size:11px;line-height:1.5;padding-left:20px;margin:5px 0 13px}
.report-recs{width:100%;min-height:40px;margin-top:11px}
.photo-advice{padding:10px;color:#c3c9d0;font-size:11px;line-height:1.5;border:1px solid #63697055;border-radius:12px;background:#19202799}
.photo-advice b{color:white}.photo-advice p{margin:5px 0 0}

@media(max-width:800px){.stage{padding:0}.photo-stage{height:clamp(190px,54vw,258px)}.splash-grow{min-height:205px}.splash:before{background-size:100% auto}.splash-title{font-size:clamp(28px,8.9vw,37px)}.splash-text p{font-size:15px}}
@media(max-height:675px) and (max-width:800px){.splash-grow{min-height:135px}.splash-title{font-size:26px}.splash-text p{font-size:13px;margin-bottom:10px}.splash{padding-bottom:12px}.splash .splash-brand{margin-top:0}.splash-brand .brand-mark{font-size:36px}.splash-dots{margin-top:10px}.photo-stage{height:180px}}


/* v0.4: approved luxury 3D glass system; interactive DOM elements, not image overlays */
:root{--glass-chrome:#bdc6d0;--glass-shine:rgba(255,255,255,.40);--glow-red:#ff2939}
.device:before{display:none!important}
.status-bar,.home-indicator{display:none!important}
.app{background:radial-gradient(ellipse at 55% 5%,#343943 0,#181c23 30%,#0c0e13 75%)}
.app-header{min-height:70px;padding:11px 17px;background:linear-gradient(154deg,#525b64bb 0%,#1e222adf 27%,#0b0d14 66%,#383d47bb 100%);border-bottom:1px solid #bac0cb88;box-shadow:inset 0 1px #eef2f57a,inset 0 -3px 5px #0008,0 10px 22px #000a;isolation:isolate}
.main-head .head-brand{gap:16px;min-width:0}
.head-brand .brand-mark{font-size:35px;text-shadow:0 -1px 3px #fff8,0 4px 5px #000}
.head-brand .head-name{font-size:clamp(17px,5vw,21px);white-space:nowrap;letter-spacing:-.5px}
.bell{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:47px;height:47px;border-radius:15px;color:#f6f8fd;border:1px solid #d5dbe2a9;background:linear-gradient(155deg,#6c737b,#1c2028 31%,#090c12 65%,#591c27);box-shadow:inset 0 2px 4px #ffffff82,inset 0 -3px 5px #000,0 4px 12px #000b,0 0 11px #ff35434c;transition:transform .17s ease}
.bell:active{transform:translateY(2px)}
.notify-glow{position:absolute;top:5px;right:5px;width:9px;height:9px;border-radius:50%;background:#fa2534;box-shadow:0 0 7px #fa2534,0 0 2px #fff;pointer-events:none}
.home-page .welcome-line{padding:8px 1px 2px;margin-bottom:18px;font-size:16px}
.home-page .avatar,.profile-card .avatar{color:#eef1f6;background:radial-gradient(circle at 25% 15%,#b1bbc85c,#414652 40%,#10141b 77%);border:2px solid #e3e7f0;box-shadow:inset 0 3px 6px #fff5,0 5px 10px #000c,0 0 9px #df1e2e44}
.red-btn,.secondary-btn,.glass-btn,.tile,.bell,.tab{touch-action:manipulation}
.red-btn{position:relative;isolation:isolate;overflow:hidden;border:2px solid #ff9ca6;background:linear-gradient(171deg,#ff969c 0%,#ff283c 13%,#fa031d 43%,#a60011 76%,#e80b26 96%);box-shadow:inset 0 4px 5px #fff9,inset 0 -7px 8px #4b000c,0 3px 0 #4b030d,0 12px 21px #000b,0 0 19px #f0152777;text-shadow:0 2px 2px #57020c;transition:transform .16s,filter .16s,box-shadow .16s}
.red-btn::before{content:'';pointer-events:none;position:absolute;z-index:-1;top:4px;left:5px;right:5px;height:39%;border-radius:70% 70% 24% 24%;background:linear-gradient(180deg,#ffffff83,#ffffff0b)}
.red-btn:active{transform:translateY(3px) scale(.992);box-shadow:inset 0 2px 13px #4f010d,0 0 13px #f4152796}
.accident-cta{min-height:109px!important;border-radius:35px!important;gap:13px;padding:14px 13px}
.accident-cta .ng-icon{height:49px;width:49px;flex-shrink:0}
.accident-cta span{font-size:clamp(17px,4.3vw,20px);line-height:1.2;max-width:245px;text-align:left}
.accident-cta small{font-size:11px!important;line-height:1.34;margin-top:5px}
.glass,.glass-btn,.tile{position:relative;isolation:isolate;overflow:hidden;border:1px solid #a8b1bc;background:linear-gradient(148deg,#6d77812e 0%,#242c35c2 30%,#121820ee 68%,#3a424bc4),linear-gradient(#2e3640,#11161d);box-shadow:inset 0 3px 4px #ffffff56,inset 0 -3px 6px #0009,0 0 0 1px #272e38,0 9px 16px #000a;backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}
.glass::before,.glass-btn::before,.tile::before{content:'';position:absolute;inset:2px 3px auto 3px;height:40%;pointer-events:none;background:linear-gradient(160deg,#ffffff6b,#ffffff08 60%,transparent);border-radius:inherit;opacity:.6;z-index:-1}
.glass-btn:active,.tile:active{transform:translateY(2px) scale(.98)}
.home-tiles{gap:10px;margin:19px 0}
.tile{border-radius:22px;min-height:125px;padding:13px 5px;gap:11px;transition:transform .17s,box-shadow .17s,border-color .17s}
.home-tiles .tile svg{filter:drop-shadow(0 3px 2px #000c);height:39px;width:39px}
.tile b{font-size:clamp(10px,2.7vw,12px);line-height:1.23;letter-spacing:-.15px;overflow-wrap:normal}
.tile:hover{border-color:#e1e6f0;box-shadow:inset 0 3px 6px #fff6,0 11px 19px #000c,0 0 12px #f4182d33}
.secondary-btn{border:1px solid #dde3e9bb;background:linear-gradient(168deg,#969fa78a,#434c56 33%,#1b222c 75%,#6c75806e);box-shadow:inset 0 3px 5px #fff6,inset 0 -3px 5px #000b,0 7px 12px #0007}
.bottom-nav{min-height:75px;height:75px;padding:7px 8px 5px;background:linear-gradient(171deg,#434c55,#171d26 40%,#0c1017 100%);border-top:1px solid #a6afb9c9;box-shadow:inset 0 3px 4px #fff2,0 -10px 25px #000c}
.tab{font-size:11px;gap:4px;border:1px solid transparent;border-radius:20px}
.tab .ng-icon{width:26px;height:26px}
.tab.active{border:1px solid #ffb2b9;background:linear-gradient(158deg,#ff9fa9 0%,#ef102a 20%,#bd0016 76%,#770112);box-shadow:inset 0 3px 5px #fff9,inset 0 -4px 6px #4b000e,0 3px 11px #ff173160}
.profile-tiles{grid-template-columns:repeat(3,1fr)!important}
.profile-tiles .tile{min-height:106px}
.profile-tiles .tile svg{width:30px;height:30px}
.support-panel{margin:17px 0;padding:10px;border:1px solid #e1e5edaa;border-radius:23px;box-shadow:inset 0 3px 5px #fff5,0 0 20px #f51a2930,0 10px 20px #000a}
.support-illustration{display:block;width:100%;height:auto;aspect-ratio:3.04;object-fit:cover;border-radius:14px;border:1px solid #858d96;filter:brightness(.95)}
.support-content{padding:8px 5px 4px}
.support-content h2{font-size:16px;display:flex;align-items:center;gap:9px;margin:5px 0 7px;color:white}
.support-content h2 .ng-icon{stroke:#ffd9df;filter:drop-shadow(0 0 5px #f12636)}
.support-content p{line-height:1.4;margin:8px 0 13px}
.support-write,.support-history{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;width:100%}
.support-history{margin-top:9px;min-height:42px}
#ticket-form{margin-top:12px}
@media(max-width:800px){
 .device{height:100dvh;min-height:0}
 .app{padding-top:env(safe-area-inset-top,0px)}
 .bottom-nav{height:calc(75px + env(safe-area-inset-bottom,0px));padding-bottom:max(5px,env(safe-area-inset-bottom,0px))}
 .view{padding-bottom:0}
 
}
@media(max-width:370px){.head-brand .head-name{font-size:16px}.tile{min-height:111px}.accident-cta .ng-icon{width:41px}.accident-cta span{font-size:16px}}
@media(prefers-reduced-motion:reduce){.red-btn,.tile,.bell,.tab{transition:none}}

/* v0.5: production-clean home UI — no visual debug badges or placeholder chrome. */
/* The bottom navigation stays visible; main content stays scrollable elsewhere. */
.bottom-nav{
 min-height:60px;height:60px;gap:2px;padding:4px 7px 3px;
}
.tab{font-size:10px;gap:2px;border-radius:16px;line-height:1.15}
.tab .ng-icon{width:23px;height:23px}
.app-header{min-height:58px;padding:7px 15px}
.main-head .head-brand{gap:13px}
.head-brand .brand-mark{font-size:32px}
.head-brand .head-name{font-size:clamp(16px,4.8vw,20px)}
.bell{height:42px;width:42px;border-radius:13px}
/* Compact the entire home card grid without sacrificing the tactile 3D glass. */
.home-page{padding:8px 13px 11px}
.home-page .welcome-line{padding:3px 1px;margin:2px 1px 11px;font-size:15px}
.home-page .avatar{width:45px;height:45px;flex-shrink:0}
.accident-cta{min-height:89px!important;padding:9px 12px;border-radius:30px!important;gap:11px}
.accident-cta .ng-icon{width:43px;height:43px}
.accident-cta span{font-size:clamp(16px,4.2vw,19px)}
.accident-cta small{font-size:11px!important;line-height:1.2;margin-top:3px}
.home-page .home-tiles{margin:13px 0 6px;gap:9px}
.home-page .home-tiles .tile{
 height:clamp(109px,16dvh,134px);
 min-height:0;padding:7px 4px;gap:7px;border-radius:18px;
}
.home-page .home-tiles .tile svg{height:clamp(30px,4.4dvh,37px);width:clamp(30px,4.4dvh,37px)}
.home-page .home-tiles .tile b{font-size:clamp(10.5px,2.9vw,12px);line-height:1.19}
@media(max-width:800px){
 .bottom-nav{height:calc(60px + env(safe-area-inset-bottom,0px));padding-bottom:max(3px,env(safe-area-inset-bottom,0px))}
 .view{min-height:0;overflow-y:auto;overscroll-behavior-y:contain}
}
/* Very short embedded-browser viewports: preserve every home tile on the first screen. */
@media(max-width:800px) and (max-height:620px){
 .app-header{min-height:52px;padding:5px 14px}
 .bell{height:38px;width:38px}
 .head-brand .brand-mark{font-size:29px}
 .home-page{padding:5px 11px 8px}
 .home-page .welcome-line{margin:0 0 7px;padding:0;font-size:14px}
 .home-page .avatar{width:40px;height:40px}
 .accident-cta{min-height:78px!important;padding:7px 10px;border-radius:27px!important}
 .accident-cta .ng-icon{height:35px;width:35px}
 .accident-cta span{font-size:16px}
 .accident-cta small{font-size:10px!important}
 .home-page .home-tiles{margin:9px 0 6px;gap:7px}
 .home-page .home-tiles .tile{height:clamp(101px,18dvh,113px);padding:6px 3px;gap:6px;border-radius:16px}
 .home-page .home-tiles .tile svg{height:30px;width:30px}
 .home-page .home-tiles .tile b{font-size:10.5px;line-height:1.2}
 .bottom-nav{min-height:54px;height:calc(54px + env(safe-area-inset-bottom,0px));padding:3px 6px max(2px,env(safe-area-inset-bottom,0px))}
 .tab .ng-icon{width:21px;height:21px}
 .tab{font-size:10px;gap:1px}
}
/* Taller phone screens: use more of the free space without clipping the second row. */
@media(max-width:800px) and (min-height:700px){
 .home-page .home-tiles{margin:14px 0 4px;gap:12px}
 .home-page .home-tiles .tile{height:clamp(138px,22dvh,188px)}
}
@media(max-width:370px){
 .home-page .home-tiles{gap:6px}
 .home-page .home-tiles .tile b{font-size:9.6px}
 .home-page .home-tiles .tile{padding-inline:2px}
}

/* v0.6: use free vertical space on home without hiding tiles under the bottom nav. */
.home-page .home-tiles{min-height:0}
@media (max-width:800px) and (min-height:621px){
 .home-page .home-tiles{padding-bottom:2px}
}

/* v0.7: administrative controls use the approved graphite 3D glass language. */
.admin-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.admin-metrics>div{display:flex;flex-direction:column;gap:3px;padding:12px;border:1px solid #858f9c83;border-radius:14px;background:linear-gradient(150deg,#51596588,#151a21);box-shadow:inset 0 2px 4px #fff3}
.admin-metrics b{font-size:18px;color:#fff}
.admin-metrics small{font-size:11px;color:#bdc5cf}
.admin-plan-form,.admin-user-form{margin-bottom:11px}
.admin-plan-form .secondary-btn,.admin-user-form .secondary-btn{width:100%}

/* v0.8 layout and avatar refinements */
.avatar{position:relative;overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.home-page{display:flex;flex-direction:column;min-height:calc(100% - 6px)}
.home-page .welcome-line{margin:4px 1px 16px;padding:2px 1px 0;font-size:15px;align-items:center}
.home-page .home-avatar{width:58px;height:58px;border-width:2px}
.home-page .accident-cta{margin-bottom:16px}
.home-page .home-tiles{margin:14px 0 0;gap:10px;align-content:start}
.home-page .home-tiles .tile{min-height:118px;height:clamp(118px,18.4dvh,148px)}
.bottom-nav{min-height:58px;height:calc(58px + env(safe-area-inset-bottom,0px));padding:4px 7px max(2px,env(safe-area-inset-bottom,0px))}
.tab{gap:2px}
.tab .ng-icon{width:22px;height:22px}
.profile-avatar,.avatar-editor-preview{width:66px;height:66px}
.avatar-editor{display:grid;gap:12px}
.avatar-preview-wrap{display:flex;justify-content:center}
.avatar-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.avatar-upload-btn{display:flex;align-items:center;justify-content:center;position:relative;text-align:center;padding:10px 12px}
.avatar-upload-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}
@media (min-height:680px){
  .home-page .welcome-line{margin-bottom:18px}
  .home-page .home-avatar{width:64px;height:64px}
  .home-page .home-tiles{margin-top:16px;gap:11px}
  .home-page .home-tiles .tile{height:clamp(126px,19.2dvh,158px)}
}
@media (max-width:430px){
  .home-page .home-avatar{width:54px;height:54px}
  .home-page .home-tiles .tile{min-height:112px;height:clamp(112px,18dvh,138px)}
  .avatar-editor-actions{grid-template-columns:1fr}
}

/* v0.9: responsive vertical distribution; no blank band beneath the second row. */
@media (max-width:800px){
 .view:has(.home-page){display:flex;flex-direction:column;overflow-y:auto}
 .view:has(.home-page)>.app-header{flex:0 0 auto}
 .home-page{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-between}
 .home-page .welcome-line{flex:0 0 auto}
 .home-page .accident-cta{flex:0 0 auto}
 .home-page .home-tiles{flex:0 0 auto;margin-top:auto;margin-bottom:0;align-content:start}
 .home-page .home-avatar{width:60px;height:60px}
}
@media (max-width:800px) and (max-height:630px){
 .home-page .home-avatar{width:46px;height:46px}
 .home-page .welcome-line{margin:0 0 5px}
 .home-page .accident-cta{margin-bottom:6px}
 .home-page .home-tiles{gap:7px;margin-top:6px}
 .home-page .home-tiles .tile{height:clamp(96px,17.5dvh,112px);min-height:96px}
 .home-page{justify-content:flex-start;padding-bottom:6px}
}
@media (max-width:800px) and (min-height:631px){
 .home-page .home-tiles{margin-top:auto;margin-bottom:2px}
 .home-page .home-tiles .tile{height:clamp(136px,19dvh,182px);min-height:136px}
}
@media (max-width:800px) and (min-height:860px){
 .home-page .home-tiles .tile{height:clamp(165px,19.6dvh,202px)}
}

/* v0.9 final spacing: no giant empty stripe above or below the tiles. */
@media (max-width:800px){
 .home-page{justify-content:space-evenly}
 .home-page .welcome-line{margin-top:0;margin-bottom:0}
 .home-page .accident-cta{margin-bottom:0}
 .home-page .home-tiles{margin-top:0;margin-bottom:0;flex:0 0 auto}
}
@media (max-width:800px) and (max-height:630px){
 .home-page{justify-content:space-between}
 .home-page .home-tiles{margin-top:0;margin-bottom:0}
}


/* v0.11 premium splash title override */
.splash-text{padding:10px 12px 4px;background:linear-gradient(180deg,rgba(5,8,10,0) 0%,rgba(5,8,10,.18) 12%,rgba(5,8,10,.56) 42%,rgba(6,9,12,.86) 100%);backdrop-filter:blur(3px)}
.splash-title{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 0 14px;line-height:1;text-transform:none;color:#fff;text-shadow:none}
.splash-line-group{display:inline-flex;align-items:center;gap:10px;justify-content:center;flex-wrap:nowrap;white-space:nowrap}
.splash-line{display:inline-block;padding:0 4px;font-weight:1000;letter-spacing:-1.1px;text-transform:uppercase;color:#fff;-webkit-text-stroke:1px rgba(10,12,16,.25);text-shadow:0 1px 0 rgba(255,255,255,.55),0 3px 0 rgba(88,93,100,.55),0 9px 20px rgba(0,0,0,.92),0 0 20px rgba(255,255,255,.08)}
.splash-line-main{font-size:clamp(33px,10vw,42px);background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 18%,#e8edf2 52%,#c3cbd4 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(73,79,88,.85)) drop-shadow(0 10px 16px rgba(0,0,0,.72))}
.splash-line-sub{font-size:clamp(26px,8.2vw,33px);background:linear-gradient(180deg,#ffffff 0%,#f5f8fb 20%,#dfe5eb 58%,#bcc5cf 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(73,79,88,.82)) drop-shadow(0 10px 16px rgba(0,0,0,.72))}
.splash-pro{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:3px 14px 5px;border-radius:15px;font-size:clamp(22px,7vw,28px);font-weight:1000;font-style:italic;letter-spacing:-1px;color:#fff;background:linear-gradient(180deg,#ffa2aa 0%,#ff5663 18%,#ec1326 54%,#a00012 100%);border:1px solid #ffb8bf;box-shadow:inset 0 2px 6px rgba(255,255,255,.75),inset 0 -3px 6px rgba(99,0,8,.72),0 7px 16px rgba(0,0,0,.55),0 0 22px rgba(255,30,50,.35);text-shadow:0 1px 0 rgba(255,255,255,.28),0 2px 2px rgba(103,0,10,.9)}
.splash-text p{font-size:17px;line-height:1.38;color:#f7f8fa;font-weight:800;letter-spacing:-.25px;max-width:300px;margin:4px auto 18px;text-shadow:0 3px 12px rgba(0,0,0,.95)}
.splash-start{max-width:344px;min-height:56px;font-size:18px;font-weight:900;letter-spacing:-.35px}
@media(max-width:800px){
  .splash-line-main{font-size:clamp(31px,10vw,42px)}
  .splash-line-sub{font-size:clamp(26px,8.7vw,35px)}
  .splash-pro{min-height:40px;padding:3px 14px 5px}
  .splash-text p{font-size:16px}
}
@media(max-height:675px) and (max-width:800px){
  .splash-title{gap:5px}
  .splash-line-main{font-size:30px}
  .splash-line-sub{font-size:23px}
  .splash-pro{font-size:20px;min-height:32px;border-radius:13px}
  .splash-text p{font-size:14px;margin-bottom:12px}
}


/* v0.12 — approved chrome/italic title as accessible real text, not a screenshot. */
.splash{padding-bottom:clamp(27px,4.5dvh,42px)}
.splash .splash-text{padding:7px 8px 2px;background:linear-gradient(180deg,transparent 0%,rgba(6,8,12,.13) 17%,rgba(7,10,14,.62) 52%,rgba(6,9,13,.84) 100%);backdrop-filter:blur(1.6px)}
.splash .splash-title{width:100%;max-width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin:0 auto 11px;overflow:visible;text-transform:none}
.splash-chrome-word{display:inline-block;white-space:nowrap;line-height:1.07;font-family:Impact,'Arial Black','Liberation Sans',Arial,sans-serif;font-weight:1000;font-style:italic;letter-spacing:-1.5px;text-transform:uppercase;color:#e9eff6;background:linear-gradient(177deg,#fff 2%,#fff 20%,#bac2ce 45%,#fff 52%,#9ca3b0 83%,#fff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.3px #ffffff80;transform:skew(-6deg);filter:drop-shadow(0 1px 0 #ffffffb5) drop-shadow(2px 3px 0 #525b64) drop-shadow(4px 5px 1px #0d0f14) drop-shadow(0 8px 13px #050609);}
.splash-chrome-primary{font-size:clamp(29px,9.0vw,45px);letter-spacing:-1.85px}
.splash-chrome-row{display:flex;justify-content:center;align-items:center;white-space:nowrap;gap:9px;max-width:100%}
.splash-chrome-secondary{font-size:clamp(28px,8.25vw,39px);letter-spacing:-1.45px}
.splash-chrome-pro{font-family:Impact,'Arial Black','Liberation Sans',Arial,sans-serif;font-size:clamp(24px,7.5vw,36px);line-height:1;display:inline-block;font-weight:1000;font-style:italic;letter-spacing:-.6px;color:#fff;padding:6px 13px 9px;margin:0 0 1px;position:relative;isolation:isolate;border-radius:13px;border:1px solid #ffd1d3;background:linear-gradient(178deg,#ff9fa9 0%,#ff3445 16%,#ff021b 42%,#aa0011 83%,#f42732 100%);text-shadow:1px 1px 0 #fff4,0 3px 1px #5b020b,0 5px 7px #050000c9;box-shadow:inset 0 3px 4px #ffffffba,inset 0 -4px 5px #50000f,0 3px 0 #5a1520,0 9px 15px #000e,0 0 15px #f22036ab;transform:skew(-7deg)}
.splash-chrome-pro::before{content:'';position:absolute;z-index:-1;inset:3px 4px auto;height:35%;border-radius:70% 70% 20% 20%;background:linear-gradient(180deg,#ffffff82,transparent)}
.splash-chrome-flare{display:block;width:min(92%,344px);height:3px;margin:1px auto -3px;background:radial-gradient(ellipse at 50% 50%,#ffffff 0%,#ffd1c4 7%,#ff5c5f 18%,#dc182b 40%,transparent 80%);filter:drop-shadow(0 0 5px #ed203c) drop-shadow(0 0 10px #f42d43);position:relative}
.splash-chrome-flare::before{content:'';position:absolute;left:25%;right:24%;top:-4px;height:10px;background:radial-gradient(ellipse,#ffffffb8,transparent 55%);pointer-events:none}
.splash .splash-text p{font-family:'Liberation Sans',Arial,sans-serif;font-style:italic;font-weight:600;letter-spacing:.05px;font-size:clamp(14px,4.3vw,17px);line-height:1.27;color:#edf1f5;max-width:345px;margin:20px auto 18px;text-shadow:0 2px 4px #000,0 5px 11px #000e}
.splash .splash-start{min-height:56px;font-size:17px}
@media(max-width:380px){
  .splash-chrome-primary{font-size:clamp(27px,8.6vw,33px)}
  .splash-chrome-secondary{font-size:clamp(26px,8vw,31px)}
  .splash-chrome-pro{font-size:clamp(22px,7vw,27px);padding:5px 11px 8px}
  .splash .splash-title{gap:4px}
}
@media(max-height:680px) and (max-width:800px){
 .splash{padding-bottom:12px}
 .splash .splash-title{gap:3px}
 .splash .splash-text p{margin:12px auto 12px;font-size:13px}
 .splash-chrome-primary{font-size:clamp(26px,8vw,32px)}
 .splash-chrome-secondary{font-size:clamp(24px,7.5vw,30px)}
 .splash-chrome-pro{font-size:clamp(21px,6.5vw,26px);padding:4px 10px 6px}
 .splash .splash-start{min-height:47px}
}
/* Larger premium chrome lettering per approved mockup. */
@media(min-height:681px){
 .splash-chrome-primary{font-size:clamp(35px,10.8vw,48px)}
 .splash-chrome-secondary{font-size:clamp(30px,9.45vw,43px)}
 .splash-chrome-pro{font-size:clamp(26px,8.0vw,37px)}
}
.splash-chrome-primary{position:relative}
.splash-chrome-primary::after{content:'';position:absolute;left:5%;right:4%;bottom:-1px;height:2px;background:radial-gradient(ellipse,#fff4c5 0%,#ff4c5a 21%,#ce0825 53%,transparent 84%);box-shadow:0 0 7px #f21a34;pointer-events:none}


/* v0.13 — consistent premium editorial language across real screens.
 * No screenshot text overlays, no external font dependency, no extra UI badges. */
.inner-head{gap:9px}
.inner-head .back{flex:0 0 34px;min-height:40px;border:1px solid #b2bdcc69;border-radius:13px;background:linear-gradient(150deg,#58606a8c,#141923 70%);box-shadow:inset 0 2px 4px #fff4,0 4px 9px #0008;color:#eef1f6;font-size:24px;line-height:1}
.inner-head .metal-page-title{display:block;min-width:0;flex:1;text-align:center;margin:0;font-family:'Segoe UI','Arial Narrow','Liberation Sans',Arial,sans-serif;font-weight:900;font-size:clamp(14px,4vw,18px);letter-spacing:-.35px;line-height:1.15;color:#f3f6fa;background:linear-gradient(180deg,#fff,#e3e9f0 55%,#adb7c3);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 3px 12px #0008;overflow-wrap:anywhere}
.inner-head:after{content:'';height:1px;position:absolute;left:28%;right:28%;bottom:0;background:linear-gradient(90deg,transparent,#ff5a62bb 50%,transparent);pointer-events:none}
.main-head .head-name{font-weight:900;letter-spacing:-.35px;background:linear-gradient(#fff,#e8edf2 58%,#c7cbd1);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 4px 11px #0008}
.main-head .head-name em{-webkit-text-fill-color:#ff4b5b;color:#ff4b5b;font-style:italic;text-shadow:0 1px 0 #ffb9c0,0 3px 10px #ff193464}
.home-page .welcome-line{font-family:'Segoe UI','Arial Narrow',Arial,sans-serif;letter-spacing:-.2px;color:#e3e9f0}
.home-page .welcome-line b{font-size:1.12em;font-weight:900;letter-spacing:-.45px;color:#fff;text-shadow:0 2px 7px #000c}
.home-page .accident-cta span{font-family:'Segoe UI',Arial,sans-serif;font-weight:900;letter-spacing:-.3px;text-shadow:0 2px 4px #53000e,0 1px 0 #ff8b92}
.home-page .accident-cta small{font-weight:500;letter-spacing:0;text-shadow:0 2px 4px #40000a}
.home-page .home-tiles .tile b,.profile-tiles .tile b{font-family:'Segoe UI','Arial Narrow',Arial,sans-serif;font-weight:850;letter-spacing:-.28px;color:#f5f7fa;text-shadow:0 2px 4px #000e}
.page .section-title,.page .glass h3,.support-content h2{font-family:'Segoe UI',Arial,sans-serif;font-weight:850;letter-spacing:-.35px;color:#f7f9fc;text-shadow:0 2px 5px #0009}
.page .section-title{font-size:clamp(15px,4.3vw,18px);border-left:3px solid #ff3d50;padding:4px 0 5px 10px;margin:17px 0 12px;background:linear-gradient(90deg,#ed25332e,transparent 80%);border-radius:2px 0 0 2px}
.page .glass-btn .bt{font-family:'Segoe UI',Arial,sans-serif;font-size:13px;font-weight:800;color:#f8fafd;letter-spacing:-.25px;line-height:1.17;text-shadow:0 2px 4px #000a}
.page .glass-btn .bs{font-size:11px;color:#c7d0da;line-height:1.3;letter-spacing:0}
.page .glass-btn .gicon{width:35px;flex:0 0 35px;display:grid;place-items:center;color:#f3f7fb;filter:drop-shadow(0 3px 3px #000c)}
.page .glass-btn .gicon svg{width:27px;height:27px}
.glass-chevron{font-size:23px;color:#ecf0f4b8;padding:0 1px 1px 3px}
.page .glass-btn:focus-visible,.tile:focus-visible,.red-btn:focus-visible,.tab:focus-visible,.back:focus-visible{outline:2px solid #ffb4bc;outline-offset:2px}
.steps-page .step-title{font-family:'Segoe UI',Arial,sans-serif;font-size:12.4px;font-weight:850;letter-spacing:-.15px;color:#fff;text-shadow:0 2px 4px #000d}
.steps-page .step-desc{font-size:10.5px;line-height:1.4;color:#cfd7e1}
.steps-page .num{font-family:'Segoe UI',Arial,sans-serif;font-size:14px;font-weight:850;text-shadow:0 2px 2px #78000d}
.photo-page .photo-results h3{display:flex;align-items:center;gap:10px;font-size:16px;margin:0 0 10px}
.photo-page .photo-file-label{font-family:'Segoe UI',Arial,sans-serif;font-weight:650;color:#e0e6ed}
.lawyer-page .premium-name,.profile-page .premium-name{font-family:'Segoe UI',Arial,sans-serif;font-size:16px;font-weight:900;letter-spacing:-.35px;text-shadow:0 2px 6px #000c;color:#fff}
.lawyer-page .chat-bubble{font-family:'Segoe UI',Arial,sans-serif;font-size:12.4px;line-height:1.53;color:#edf1f7}
.lawyer-page .quick button{font-family:'Segoe UI',Arial,sans-serif;font-size:11.6px;line-height:1.25;font-weight:630;min-height:37px;padding:9px 12px;transition:border-color .15s ease}
.lawyer-page .quick button:focus-visible{outline:2px solid #ff7c8a;outline-offset:1px}
.docs-page .glass-btn{min-height:67px;padding:12px 14px;gap:11px}
.docs-page .glass-btn .gicon{background:linear-gradient(155deg,#f1f5f51c,#242d385d);border:1px solid #d4dce366;border-radius:13px;height:42px;flex-basis:42px;width:42px;box-shadow:inset 0 1px 4px #fff3,0 3px 8px #0008}
.docs-page .glass-btn .bt{font-size:13px}
.docs-page .glass-btn .bs{font-size:10.5px}
.docs-page .red-btn{font-family:'Segoe UI',Arial,sans-serif;letter-spacing:-.25px}
.profile-page .profile-card .welcome-line{gap:13px}
.profile-page .profile-card .premium-tag{font-weight:800;letter-spacing:.2px}
.profile-page .support-content h2{font-size:16px;letter-spacing:-.3px}
@media(max-width:370px){
 .inner-head .metal-page-title{font-size:13.5px;letter-spacing:-.3px}
 .inner-head .back{flex-basis:30px;min-height:36px}
 .docs-page .glass-btn .bt{font-size:12px}
 .page .glass-btn .bs{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.lawyer-page .quick button{transition:none}}

/* v0.14: full-width premium top brand with PRO pill */
.main-head{gap:12px}
.main-head .head-brand{flex:1;min-width:0;justify-content:flex-start;gap:12px;padding-right:4px}
.head-titlebar{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.head-name-wide{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;height:40px;padding:0 18px;border-radius:18px;border:1px solid #c8d1db9d;background:linear-gradient(165deg,#78828d6e 0%,#29313abf 34%,#121821 74%,#5a616c66 100%);box-shadow:inset 0 2px 4px #ffffff7f,inset 0 -4px 6px #000a,0 6px 12px #0008;color:#f2f5f8;font-size:clamp(17px,4.8vw,22px);font-weight:1000;letter-spacing:-.45px;line-height:1;white-space:nowrap;text-shadow:0 1px 0 #fff4,0 2px 5px #000}
.head-pro-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:72px;height:40px;padding:0 16px;border-radius:16px;border:1px solid #ffb2b9;background:linear-gradient(180deg,#ff9ca5 0%,#f71c2e 22%,#c10017 76%,#860110 100%);box-shadow:inset 0 2px 4px #fff9,inset 0 -4px 6px #5c000e,0 5px 10px #0009,0 0 12px #fa20384d;color:#fff;font-size:clamp(18px,4.6vw,22px);font-weight:1000;font-style:italic;letter-spacing:-.25px;text-shadow:0 1px 0 #fff4,0 2px 5px #62010d}
.head-brand .head-name{display:none}
@media(max-width:800px){
  .head-name-wide{height:38px;padding:0 15px}
  .head-pro-btn{min-width:66px;height:38px;padding:0 14px}
}
@media(max-width:370px){
  .main-head .head-brand{gap:10px}
  .head-titlebar{gap:8px}
  .head-name-wide{height:36px;padding:0 13px;font-size:16px}
  .head-pro-btn{min-width:60px;height:36px;font-size:17px}
}
@media(max-width:800px) and (max-height:620px){
  .head-name-wide{height:34px;padding:0 12px;font-size:15px}
  .head-pro-btn{min-width:56px;height:34px;padding:0 12px;font-size:16px}
}

/* v0.15 — premium inner screens. Every component remains genuine HTML / interactive. */
.inner-head{padding-inline:11px;min-height:62px;gap:9px;align-items:center}
.inner-head .back{flex:0 0 38px;min-height:42px;border-radius:14px;border-color:#d3dce8aa;background:linear-gradient(160deg,#808a9570,#1b232e 62%,#414b5880);box-shadow:inset 0 2px 4px #ffffff65,0 5px 10px #0009}
.inner-head .metal-page-title{
  -webkit-text-fill-color:initial; color:#f6f8fb; background:
     linear-gradient(155deg,rgba(179,194,210,.43),rgba(50,59,72,.73) 29%,rgba(17,23,32,.9) 75%,rgba(120,132,148,.36));
  border:1px solid #c6d0de93;border-radius:15px;box-shadow:inset 0 2px 5px #ffffff52,inset 0 -3px 5px #0008,0 6px 15px #0008;
  font-size:clamp(12px,3.7vw,17px);line-height:1.14;font-weight:900;
  padding:11px 5px;min-height:43px;letter-spacing:-.42px;text-shadow:0 1px 1px #fff4,0 3px 6px #000;
  word-break:normal;overflow-wrap:normal;
}
.inner-head:after{left:27%;right:27%;height:2px;background:linear-gradient(90deg,transparent,#ff424cbb,transparent)}
.inner-head .bell{width:42px;height:43px;flex:0 0 42px}

.lawyer-page{display:flex;flex-direction:column;gap:12px}
.lawyer-hero{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:20px;min-height:90px}
.lawyer-hero .lawyer-avatar{width:63px;height:63px;flex-shrink:0;overflow:hidden;background:linear-gradient(140deg,#5a6069,#111820);border:2px solid #d9e1eb;box-shadow:inset 0 2px 4px #fff5,0 7px 15px #000a,0 0 0 2px #b5152659}
.lawyer-hero .lawyer-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.lawyer-intro{display:flex;flex-direction:column;gap:7px;min-width:0}
.lawyer-intro .premium-name{font-size:17px;line-height:1.05}
.lawyer-caption{font-size:11px;line-height:1.35;color:#c4ced9}
.lawyer-page .chat-thread{margin:0;min-height:166px;max-height:35dvh;overflow-y:auto;border-radius:19px;border:1px solid #a6b0bd4c;padding:12px;gap:9px;background:linear-gradient(155deg,#333d479c,#151b23d9 62%,#272e38ba);box-shadow:inset 0 2px 7px #ffffff1a,inset 0 -4px 9px #0006,0 7px 12px #0006}
.lawyer-page .chat-bubble{border-radius:17px;padding:12px;font-size:12px;line-height:1.48}
.lawyer-page .chat-bubble.user{border-color:#eb546eab}
.chat-empty{margin:auto;text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px;max-width:260px;color:#e9edf3}
.chat-empty-mark{width:51px;height:51px;border:1px solid #d3dce37a;border-radius:15px;display:grid;place-items:center;background:linear-gradient(150deg,#808f9b4d,#1f2832);box-shadow:inset 0 2px 4px #ffffff52,0 5px 9px #0007}
.chat-empty strong{font-size:14px;font-weight:850}
.chat-empty p{margin:0;font-size:11px;line-height:1.4;color:#c5cdd7}
.chat-quick-heading{font-size:13px;font-weight:850;color:#f2f5fa;text-shadow:0 2px 4px #000b}
.lawyer-page .quick{margin:0;gap:7px}
.lawyer-page .quick button{font-size:11.4px;min-height:35px;border:1px solid #b3c0cd76;background:linear-gradient(155deg,#6c78854d,#26323fc7 30%,#151d27 85%);box-shadow:inset 0 2px 3px #ffffff43,0 3px 7px #0007;color:#f0f4f8;border-radius:18px}
.lawyer-page .chat-controls{align-items:center}
.lawyer-page .chat-input{background:linear-gradient(160deg,#5965749c,#1b222c 35%,#0f151d);border:1px solid #b4bfcd9c;box-shadow:inset 0 2px 4px #ffffff32;color:#fff;min-height:46px}
.lawyer-page .send{width:47px;height:47px;border:1px solid #ff929a;box-shadow:inset 0 2px 6px #fff8,0 5px 11px #000a,0 0 15px #ed233b5c}
.voice-entry{min-height:47px;padding:9px 13px;justify-content:flex-start;gap:10px;text-align:left}
.voice-entry>span:nth-child(2){flex:1;font-size:12px;font-weight:750}
.text-link-emergency{color:#ecf1f7;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;font-size:11px;text-decoration:underline;text-underline-offset:4px;padding:5px 6px 0}
.text-link-emergency svg{color:#ff6b76}

.steps-page .step-icon{display:grid;place-items:center;color:#f1f5fb;min-width:33px;height:33px;background:linear-gradient(150deg,#89929e3d,#1e2933);border-radius:10px;border:1px solid #a9b5c16b;box-shadow:inset 0 2px 4px #fff4,0 3px 6px #0008}
.steps-page .step-icon svg{width:23px;height:23px}
.steps-page .safety-step .step-title{font-size:12.5px}
.steps-page .safety-step .step-content{border-radius:16px;min-height:65px}

.docs-page .glass-btn{border-radius:20px}
.docs-page .glass-btn .gicon{border-radius:14px;color:#eef3f9}
.docs-page .glass-btn .gicon svg{filter:drop-shadow(0 2px 3px #000b)}
.docs-page .red-btn{margin-top:1px}
.docs-page .figure-note{line-height:1.5;color:#d1d9e3}

.profile-page .profile-card{padding:14px;border-radius:21px}
.profile-page .profile-avatar{width:67px;height:67px;border-radius:50%;box-shadow:inset 0 2px 4px #fff5,0 8px 15px #000b}
.profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 13px}
.profile-summary>div{min-height:70px;border-radius:16px;border:1px solid #c2ccd78c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(155deg,#78859265 0%,#262f3bcf 35%,#111822e8);box-shadow:inset 0 2px 5px #fff4,0 7px 12px #0007}
.profile-summary strong{font-size:21px;font-weight:900;color:#fff;text-shadow:0 2px 5px #000c}
.profile-summary span{font-size:10px;color:#d0d8e3;text-align:center}

.photo-page .photo-stage{border:1px solid #d9e0e9a8;box-shadow:inset 0 2px 6px #fff4,0 12px 22px #0009;}
.photo-page .photo-options,.photo-page .photo-results{border-radius:20px}
.photo-page .photo-options .pill-row>b{font-size:14px;font-weight:850;color:#f5f8fd;text-shadow:0 2px 4px #0009}
.photo-page .photo-pickers .picker-control{border-radius:19px}
.photo-page .report-status{font-size:12px;font-weight:850}

@media(max-width:370px){
  .inner-head{gap:7px;padding-inline:8px}
  .inner-head .back{flex-basis:32px;min-height:38px}
  .inner-head .metal-page-title{font-size:12px;min-height:40px;padding:7px 4px}
  .inner-head .bell{flex-basis:37px;width:37px;height:39px}
  .lawyer-hero{padding:8px 10px;gap:10px}
  .lawyer-hero .lawyer-avatar{width:56px;height:56px}
  .lawyer-caption{font-size:10px}
}
@media(max-width:800px) and (max-height:620px){
  .inner-head{min-height:52px}
  .inner-head .metal-page-title{min-height:37px;padding:8px 4px}
  .lawyer-page .chat-thread{min-height:110px;max-height:28dvh}
}
@media(prefers-reduced-motion:reduce){.lawyer-page .quick button{transition:none}}

/* Photo reset action — Graphite & Red */
.photo-clear-row{display:flex;justify-content:flex-end;margin:8px 0 2px}
.photo-clear-btn{width:auto;min-height:42px;padding:9px 18px;font-size:14px;font-weight:750}
.photo-clear-btn:disabled{opacity:.55}


/* v0.19 mobile viewport + navigation QA fix.
   Lock only the outer mobile viewport; scroll the content pane so the title/back
   stays pinned and the bottom navigation never floats above an empty band. */
@media (max-width: 800px) {
  html, body { height: 100%; min-height: 0; width: 100%; overflow: hidden; overscroll-behavior: none; }
  #root { position: fixed; inset: 0; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
  .stage { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; padding: 0; overflow: hidden; }
  .device { width: 100%; height: 100%; min-height: 0; max-height: 100%; padding: 0; overflow: hidden; }
  .app { width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .view { flex: 1 1 0; height: auto; min-height: 0; max-height: 100%; padding-bottom: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scroll-padding-top: 65px; }
  .app-header { position: sticky; top: 0; z-index: 12; flex: 0 0 auto; }
  .bottom-nav { position: relative; z-index: 11; flex: 0 0 auto; }
  .page { padding-bottom: max(25px, env(safe-area-inset-bottom, 0px)); }
  .inner-head .back { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; min-width: 38px; touch-action: manipulation; }
}


/* v0.19 photo evidence QA fix — inline image viewing and explicit removal. */
.evidence-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:12px;margin-top:12px}
.evidence-card{min-width:0;border:1px solid #8793a5a8;border-radius:17px;padding:9px;background:linear-gradient(150deg,#343b43,#10151c);box-shadow:inset 0 2px 4px #ffffff23,0 8px 16px #0007}
.evidence-open{display:flex;flex-direction:column;gap:7px;width:100%;padding:0;background:none;border:0;color:#f7f8fa;text-align:left}
.evidence-thumb{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#141a22;border-radius:11px;border:1px solid #929faf}
.evidence-name{display:block;max-width:100%;font-size:12px;font-weight:700;word-break:break-word;overflow-wrap:anywhere}
.evidence-hint{font-size:11px;color:#b7c5d5}
.evidence-delete{width:100%;margin-top:10px;font-size:12px;min-height:42px;border-color:#df6b74}
.evidence-lightbox{position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;padding:12px;overscroll-behavior:contain}
.evidence-lightbox-panel{width:100%;max-width:780px;max-height:calc(100dvh - 24px);min-height:0;display:flex;flex-direction:column;gap:10px;align-items:center;overflow:auto;padding:8px}
.evidence-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 135px);object-fit:contain;border-radius:10px}
.evidence-lightbox p{margin:0;color:#dce3ed;font-size:12px;text-align:center;overflow-wrap:anywhere}
.evidence-close{align-self:flex-end;min-width:120px;min-height:44px}
@media(max-width:420px){.evidence-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}

.evidence-preview-error:not([hidden]){color:#ffbdc1;border:1px solid #bf6671;border-radius:12px;padding:12px;background:#381c22;font-size:13px;text-align:center}

/* v0.19 — Paperwork V5: touch-friendly personal draft editor. */
.document-card{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.document-card p{margin:0 0 4px;overflow-wrap:anywhere}
.document-card .red-btn{min-height:46px}
.document-card .pill-row,.document-download-panel .pill-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.document-card .pill-row button,.document-download-panel .pill-row button{min-height:43px;min-width:0}
.document-edit-page .doc-editor-text{display:block;width:100%;min-height:45dvh;max-height:none;resize:vertical;white-space:pre-wrap;overflow-wrap:break-word;line-height:1.5;box-sizing:border-box;font-family:inherit;font-size:15px;padding:14px;background:#0b1017;color:#f1f4f9;border:1px solid #8995a5;border-radius:13px}
.document-edit-page .doc-editor-text:focus{outline:2px solid #ff7c85;outline-offset:2px}
.document-download-panel{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.document-download-panel p{margin:0 0 5px}
.case-preparation{display:flex;flex-direction:column;gap:8px}
.case-preparation .pill-row{align-items:center;justify-content:space-between}
.case-preparation p{margin:1px 0 5px}
.prep-row{display:flex;align-items:center;gap:10px;font-size:13px;padding:8px 11px;background:#121922c7;border:1px solid #62718466;border-radius:10px}
.prep-row span{font-size:17px;color:#f26c73}
@media(max-width:420px){.document-edit-page .doc-editor-text{min-height:48dvh}}


/* DTP V6: premium microphone recorder, mobile touch targets, visible active state. */
.audio-page .audio-warning{padding:12px;border-left:3px solid #d54b50;border-radius:10px;background:#281d24;color:#f7d4d8;line-height:1.45;font-size:13px}
.audio-page .audio-confirm{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.4;margin:12px 0}
.audio-page .audio-confirm input{width:19px;height:19px;accent-color:#d9434b;flex:0 0 19px}
.audio-recorder-status{display:flex;align-items:center;gap:11px;border:1px solid #7e8998;border-radius:12px;padding:12px;margin:14px 0;color:#e4eaf1}
.audio-recorder-status #audio-clock{margin-left:auto;font-weight:800;font-size:18px;font-variant-numeric:tabular-nums}
.audio-led{width:12px;height:12px;border-radius:50%;background:#727b89;box-shadow:0 0 0 4px #adb2bc20}
.audio-led.active{background:#f13c49;box-shadow:0 0 0 4px #f13c4930,0 0 15px #f13c49;animation:audio-pulse 1.4s infinite}
@keyframes audio-pulse{50%{opacity:.42}}
.audio-page audio{display:block;width:100%;margin:12px 0;min-height:42px}
.audio-page .audio-download{display:flex;text-align:center;align-items:center;justify-content:center;text-decoration:none;margin:9px 0;min-height:48px}
.audio-page .red-btn,.audio-page button{min-height:48px}
.audio-page .audio-draft,.audio-page .audio-saved{margin:10px 0}
.audio-page details{font-size:13px;overflow-wrap:anywhere}
.audio-page code{word-break:break-all;font-size:11px}

/* V7 agreement: tactile dark-glass mobile forms without fake signatures */
.agreement-page .agreement-hero{border:1px solid rgba(242,166,170,.32);box-shadow:inset 0 1px rgba(255,255,255,.07)}
.agreement-page .agreement-hero h3{margin:12px 0 8px;font-size:19px;line-height:1.25}
.agreement-form{display:flex;flex-direction:column;gap:11px}
.agreement-attachments{display:flex;flex-direction:column;gap:9px}
.agreement-check{display:flex;align-items:center;gap:12px;padding:12px 9px;border-radius:12px;border:1px solid rgba(255,255,255,.09);font-size:13px;overflow-wrap:anywhere}
.agreement-check input{width:19px;height:19px;flex:0 0 auto;accent-color:#d93f4b}
.agreement-consent{align-items:flex-start;line-height:1.5}
.agreement-page textarea{min-height:110px}
@media(max-width:430px){.agreement-page .agreement-hero h3{font-size:17px}.agreement-attachments{padding:12px}}

/* ДТП PRO V8: mobile-first touch schematic. Same UI in PWA and TWA/WebView. */
.diagram-page{display:flex;flex-direction:column;gap:12px;padding-bottom:24px;overflow-x:hidden}
.diagram-page .diagram-top{border:1px solid rgba(237,65,78,.38);box-shadow:inset 0 1px rgba(255,255,255,.09),0 12px 28px rgba(0,0,0,.23)}
.diagram-page .diagram-top h3{margin:9px 0;font-size:19px;color:#eef1f5}
.diagram-page .diagram-top p{margin:5px 0;line-height:1.4}
.diagram-road-label{margin:0}
.diagram-road-label select{min-height:48px;background:#141a22;color:#edf0f4;border:1px solid #8d96a5;border-radius:12px;font-size:15px}
.diagram-board-wrap{padding:7px!important;border-radius:15px;overflow:hidden;border:1px solid rgba(240,78,94,.49);background:#10151d;box-shadow:0 0 25px #d5405019, inset 0 1px 2px #ffffff18}
#diagram-board{display:block;width:100%;height:auto;aspect-ratio:10/7;touch-action:none;border-radius:9px;cursor:grab;background:#1a242f}
#diagram-board:active{cursor:grabbing}
.diagram-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:3px 0}
.diagram-tools>button{min-height:48px;min-width:0;padding:10px 8px!important;font-size:13px;line-height:1.25;border:1px solid #7f8998;border-radius:11px;white-space:normal}
.diagram-tools>button:disabled{opacity:.45}
.diagram-selected{display:flex;flex-direction:column;gap:8px}
.diagram-selected .field{margin:0}
.diagram-selected p{margin:0}
.diagram-save-panel{display:flex;flex-direction:column;gap:10px}
.diagram-save-panel .red-btn{min-height:55px;font-weight:800;box-shadow:0 5px 18px #d33d4c35}
.diagram-save-panel p{margin:0;overflow-wrap:anywhere}
.diagram-save-panel code{font-size:10px;overflow-wrap:anywhere;color:#c7d0db}
.diagram-page #diagram-notes{min-height:98px;max-height:210px;resize:vertical}
@media(min-width:650px){.diagram-page{max-width:780px;margin:auto}.diagram-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V9: deliberate destructive controls and private dossier export. */
.danger-btn{border:1px solid rgba(228,91,91,.65)!important;color:#ffb5ae!important;background:rgba(112,26,32,.18)!important;min-height:44px}
.danger-btn:focus-visible{outline:2px solid #f06161;outline-offset:3px}
.case-list-entry,.document-case-entry{margin-bottom:12px}
.case-list-entry>.danger-btn,.document-case-entry>.danger-btn{margin-top:6px;width:100%}
.dossier-panel{border:1px solid rgba(210,220,230,.22)}
.dossier-panel>.red-btn{width:100%;min-height:48px}
@media(max-width:390px){.document-card .pill-row{gap:8px;flex-wrap:wrap}.document-card .pill-row button{flex:1 1 46%}}

/* V10: free incident guidance and per-case server-saved checklist */
.assist-page{padding-bottom:24px}
.assist-page .card-pad{margin:10px 0;padding:15px;border-radius:20px}
.assist-urgent{border:1px solid #e64b57!important;box-shadow:inset 0 2px 5px #ffffff24,0 0 20px #ce173b38!important}
.assist-urgent strong{font-size:16px;line-height:1.35;display:block}
.assist-call,.assist-save,.assist-official{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;text-decoration:none;white-space:normal;text-align:center}
.assist-step{display:flex;align-items:flex-start;gap:12px;padding:12px 2px;border-top:1px solid #a6b0bc3d;cursor:pointer}
.assist-step input{margin-top:4px;accent-color:#e9233c;width:22px;height:22px;flex-shrink:0}
.assist-step span{display:flex;flex-direction:column;gap:4px;min-width:0}
.assist-step b{font-size:13px;color:#fff}
.assist-step small{font-size:11px;line-height:1.45;color:#cbd4df}
.assist-page .field{display:block;margin:13px 0}
.assist-page select,.assist-page textarea{width:100%;max-width:100%;box-sizing:border-box}
.assist-advice{margin:15px 0;padding:13px;border-radius:15px;border:1px solid #ff9d455e;background:#342923;color:#fff}
.assist-advice.emergency{border-color:#e94754;background:#44202b}
.assist-advice.police{border-color:#f0ac62;background:#413329}
.assist-advice b{font-size:15px}
.assist-advice p{font-size:12px;line-height:1.5}
.assist-page a:focus-visible,.assist-page button:focus-visible,.assist-page select:focus-visible{outline:2px solid #f66;outline-offset:3px}

/* V11 legal briefing and question display */
.legal-v11 .glass{margin-bottom:12px}.legal-v11 .pill-row{gap:8px;flex-wrap:wrap}
.legal-v11 .pill-row>button{flex:1;min-width:130px}
.legal-v11 .legal-brief-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow-y:auto;background:#141820;border:1px solid #49515c;border-radius:12px;color:#f1f3f5;padding:12px;font:13px/1.55 system-ui,sans-serif}
.legal-v11 .chat-bubble{overflow-wrap:anywhere}.legal-v11 .chat-meta{display:block;margin-top:8px;font-size:10px;opacity:.72}
.legal-v11 .field select{width:100%;min-width:0}.legal-v11 .chat-thread{max-height:44vh;overflow-y:auto}
@media(max-width:390px){.legal-v11 .pill-row{flex-direction:column}.legal-v11 .pill-row>button{width:100%}}
/* V12 SUPER ADMIN PRO — existing graphite/silver/red design, fluid Android grid */
.admin-v12{padding-bottom:32px}.admin-v12 .glass.card-pad{margin-bottom:14px;overflow:hidden}
.admin-master{background:linear-gradient(140deg,#454d56 0%,#232a33 52%,#0d131a 100%);border:1px solid #bbc2ca80;box-shadow:inset 0 1px 12px #ffffff28,0 14px 28px #0009}
.admin-eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#f2b3b7}
.admin-master h2{font-size:20px;letter-spacing:1px;margin:6px 0}.admin-v12 h3{font-size:17px;margin:8px 0 12px}
.admin-live-dot{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;font-size:10px;font-weight:800;letter-spacing:1px;color:#d9f9e8;background:#1a4332;border:1px solid #578a73;border-radius:30px;padding:7px 10px}
.admin-live-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:#5fe6a4;box-shadow:0 0 8px #5fe6a4}
.admin-refresh,.admin-more{width:100%;margin:8px 0 16px}.admin-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:11px 0 18px}
.admin-kpi{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:82px;padding:12px 10px;border:1px solid #a7b3bf64;border-top-color:#dee6ec9e;background:linear-gradient(160deg,#66717c4f,#172029a6 65%,#0f1822c7);border-radius:16px;box-shadow:inset 0 2px 5px #ffffff27,0 4px 12px #0007;min-width:0}
.admin-kpi b{font-size:25px;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.5px;overflow-wrap:anywhere}.admin-kpi span{color:#e1e6eb;font-size:12px}.admin-kpi small{color:#b6c0cc;font-size:10px}
.admin-chart{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));height:128px;align-items:end;gap:3px;background:linear-gradient(#ffffff0b 1px,transparent 1px) 0 0/100% 28px;border:1px solid #aeb8c53b;border-radius:13px;padding:10px 5px 5px}
.admin-chart-day{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;min-width:0}.admin-chart-count{font-size:9px;color:#e0e4e7}.admin-chart-fill{width:100%;max-width:24px;min-height:2px;border-radius:5px 5px 0 0;background:linear-gradient(160deg,#ff8994,#ed1b2d 45%,#820715);border:1px solid #ffb9bf50;box-shadow:0 0 8px #ef233b44}
.admin-chart-label{font-size:9px;color:#c8d0d9;padding-top:4px}.admin-finance{background:linear-gradient(150deg,#37414a,#1b2129 70%)}
.admin-state{font-size:9px;letter-spacing:.5px;font-weight:800;color:#ffdfe0;background:#642d32;border:1px solid #a3535f;border-radius:20px;padding:7px 9px;white-space:nowrap}
.admin-state.on{background:#215744;color:#c1ffe2;border-color:#5cb794}.admin-finance-total{font-size:34px;line-height:1.15;font-weight:900;padding:12px 0;border-bottom:1px solid #9fa9b956}.admin-finance-total span{display:block;font-size:12px;font-weight:500;color:#d3dce4;margin-top:8px}
.admin-checkline{display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid #d1d8e221;padding:10px 0;font-size:12px}.admin-checkline b{text-align:right;font-size:12px;color:#eaf1fa}
.admin-search-form{padding:14px;margin-bottom:12px}.admin-search-form .field{width:100%;min-width:0}.admin-search-form .admin-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-search-form input,.admin-search-form select{max-width:100%}
.admin-user-verified{border:1px solid #ac6366;border-radius:14px;color:#ffe0e0;background:#623032aa;padding:5px 8px;font-size:10px;white-space:nowrap}.admin-user-verified.ok{border-color:#5c9578;background:#17432b9e;color:#e2fff0}
.admin-ai-connect .secondary-btn{width:100%;margin:6px 0 0}.admin-v12 .admin-user-form .pill-row{align-items:flex-start}
.legal-v11 .chat-thread{max-height:42vh;min-height:60px;overflow-y:auto}.legal-v11 .chat-thread:empty{min-height:60px}.legal-v11 #legal-chat-input{width:100%;min-height:95px}
@media(min-width:760px){.admin-v12{max-width:780px;margin:0 auto}.admin-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:370px){.admin-kpi b{font-size:22px}.admin-kpi{padding:9px 8px}.admin-chart-label{font-size:8px}}

/* V12.1: restore original lawyer persona and make owner entry discoverable */
.lawyer-restored-v121{margin-bottom:12px;align-items:center;border:1px solid #c7d3df8e;background:linear-gradient(130deg,#4e5765,#222936 60%,#131923);box-shadow:inset 0 2px 5px #ffffff38,0 8px 22px #0008}
.lawyer-restored-v121 .lawyer-avatar{border-radius:50%;box-shadow:0 0 0 2px #ffffff35,0 5px 13px #000a}
.lawyer-restored-v121 .lawyer-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.lawyer-restored-v121 .lawyer-caption{overflow-wrap:anywhere}
.lawyer-live-status{font-size:10px;color:#f4dbdf}
.owner-entry-v121,.owner-home-entry-v121{display:block;width:100%;margin:12px 0 16px}
.owner-access-notice{margin:12px 0 16px;border:1px solid #b3bbc560;padding:13px}
.owner-access-notice p{margin:8px 0 0}
.account-access-role{font-size:11px;line-height:1.45}
@media(max-width:390px){.lawyer-restored-v121{gap:10px}.lawyer-restored-v121 .lawyer-avatar{width:58px;height:58px}.lawyer-restored-v121 .premium-name{font-size:16px}}

/* V12.2: original lawyer portrait belongs INSIDE the conversation, never as a separate top banner */
.lawyer-chat-v122{display:flex;align-items:center;gap:13px;padding:0 0 13px;margin-bottom:13px;border-bottom:1px solid #aab6c54f;background:none;box-shadow:none}
.lawyer-chat-v122 .lawyer-avatar{width:70px;height:70px;min-width:70px;flex-shrink:0;border:2px solid #d9e1eb;border-radius:50%;box-shadow:0 4px 13px #000a,0 0 0 2px #b515264a;overflow:hidden}
.lawyer-chat-v122 .lawyer-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.lawyer-chat-v122 .lawyer-intro{gap:5px}
.legal-chat-card{padding:15px;border-radius:23px}
.legal-chat-card .chat-thread{min-height:90px;max-height:39vh;margin-bottom:12px}
.legal-chat-card .voice-entry-v122{width:100%;display:flex;justify-content:center;text-align:center;border:1px solid #d4dbe5a3;border-radius:24px;min-height:52px;margin:13px 0;box-shadow:inset 0 2px 6px #ffffff36,0 4px 10px #0007;font-size:16px;font-weight:800;color:#fff}
.legal-chat-card .voice-entry-v122:focus-visible{outline:2px solid #ff8190;outline-offset:3px}
.legal-chat-card .legal-chat-hint{margin:10px 0 0;line-height:1.5}
.lawyer-case-picker{padding:12px 15px}
@media(max-width:390px){.lawyer-chat-v122 .lawyer-avatar{width:60px;height:60px;min-width:60px}.legal-chat-card .voice-entry-v122{font-size:15px}}
/* Avoid an obsolete V12.1 rectangular frame inside the new chat header */
.legal-chat-card .lawyer-chat-v122{border:0;border-radius:0;border-bottom:1px solid #aab6c54f;padding:0 0 13px;box-shadow:none;background:transparent}


/* ДТП PRO V12.3 — Premium Soft 3D: unified rounded interactive controls.
   No owner entry on Home; exactly one discreet, role-gated entry in Profile.
   No changes to backend/authorization or document/evidence workflows. */
:root{--ng-chrome-edge:#c4ccd8;--ng-round-btn:25px;--ng-round-tile:29px}
.red-btn:not(.danger-btn),
.secondary-btn:not(.danger-btn),
.glass-btn:not(.danger-btn),
.tile, .tab, .bell, .back,
.quick button, .diagram-tools>button {
  touch-action:manipulation;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,border-color .16s ease;
}
.red-btn:not(.danger-btn){
  border-radius:var(--ng-round-btn);
  border-color:#ffb0ba;
  background:linear-gradient(174deg,#ffaab0 0%,#ff4656 11%,#ed1229 38%,#ad0014 82%,#e71b31 100%);
  box-shadow:inset 0 3px 3px #ffffffb8,inset 0 7px 10px #ffffff32,inset 0 -7px 7px #580009,
    0 3px 0 #65010c,0 10px 19px #000b,0 0 14px #e51b3754;
}
.secondary-btn:not(.danger-btn), .glass-btn:not(.danger-btn){
  border-radius:var(--ng-round-btn);
  border-color:#c8d2debd;
  background:linear-gradient(174deg,#a5afba8a 0%,#495560bb 26%,#202936 61%,#101720 79%,#555f6e 100%);
  box-shadow:inset 0 2px 3px #ffffff8a,inset 0 7px 10px #ffffff12,inset 0 -6px 8px #080b14,
    0 3px 0 #0a0d12,0 9px 15px #000a;
}
.glass-btn:not(.danger-btn)::before{opacity:.75;height:45%}
.tile{
  border-radius:var(--ng-round-tile);
  border:1px solid #b6c3d0d1;
  background:linear-gradient(148deg,#77849155 0%,#313b46c9 25%,#171e27 67%,#3e4753c7 100%);
  box-shadow:inset 0 3px 4px #ffffff7a,inset 0 8px 15px #ffffff12,inset 0 -6px 9px #060c16,
    0 3px 0 #0b1016,0 10px 18px #000b;
}
.tile::before{opacity:.71;height:43%}
.tab{border-radius:23px}
.tab.active{box-shadow:inset 0 3px 5px #ffefefaa,inset 0 -6px 9px #56000b,0 3px 0 #69020e,0 6px 12px #ce143b55}
.bell{border-radius:18px;box-shadow:inset 0 3px 6px #ffffff86,inset 0 -5px 7px #000,0 3px 0 #0c1017,0 7px 14px #000b}
.inner-head .back{border-radius:18px}
.quick button,.diagram-tools>button{border-radius:20px;box-shadow:inset 0 2px 4px #ffffff32,inset 0 -3px 5px #0009,0 3px 0 #121822,0 6px 10px #0008}
.red-btn:not(.danger-btn):active,
.secondary-btn:not(.danger-btn):active,
.glass-btn:not(.danger-btn):active,
.tile:active,.quick button:active,.diagram-tools>button:active{
  transform:translateY(2px) scale(.992);
  filter:brightness(1.025);
  box-shadow:inset 0 4px 10px #0009,0 1px 2px #0009;
}
.red-btn:disabled,.secondary-btn:disabled,.glass-btn:disabled{filter:saturate(.55);cursor:not-allowed}
.red-btn:disabled:active,.secondary-btn:disabled:active,.glass-btn:disabled:active{transform:none}
/* One subtle super-admin entry in owner's personal profile only. */
.profile-page .owner-entry-v123{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:50px;margin:11px 0 12px;padding:10px 16px;
  border-radius:25px;color:#f0f4fa;font-size:13px;font-weight:800;
  letter-spacing:.15px;
}
.owner-entry-v123 .owner-entry-chevron{margin-left:auto;font-size:24px;line-height:1;color:#d2dce9}
.profile-page .owner-entry-v123 span:first-of-type{flex:1;text-align:center}
@media(max-width:390px){
  :root{--ng-round-btn:23px;--ng-round-tile:26px}
  .profile-page .owner-entry-v123{font-size:12px;min-height:48px}
}
@media(prefers-reduced-motion:reduce){
  .red-btn,.secondary-btn,.glass-btn,.tile,.tab,.bell,.back,.quick button,.diagram-tools>button{transition:none}
}

/* Override older mobile 3-column tile radius rule with V12.3 soft corners. */
.home-page .home-tiles .tile,.profile-page .profile-tiles .tile{border-radius:var(--ng-round-tile)}

/* V13 — understated graphite / silver notification center; actual unread count only. */
.notify-count{position:absolute;top:1px;right:1px;min-width:16px;height:16px;padding:1px 4px;border-radius:10px;background:linear-gradient(#ff646e,#cb0015);color:white;font-size:10px;line-height:14px;font-weight:900;box-shadow:0 0 9px #f52c44,0 2px 5px #08090d;pointer-events:none;border:1px solid #ffaab1}
.notification-center-v13{display:grid;gap:12px}.notify-intro h2{margin:0;font-size:19px}.notify-intro .pill-row{gap:7px}.notify-total{font-weight:700;font-size:11px;color:#edf0f5;padding:6px 10px;border-radius:20px;border:1px solid #9da3aa55;background:#ffffff12;white-space:nowrap}.notify-actions{display:flex;gap:8px}.notify-actions button{flex:1;min-width:0;font-size:12px}.notify-actions button.selected{border-color:#ff8f98;background:linear-gradient(165deg,#555960,#331d25)}.notify-item{padding:15px 14px;border-radius:23px}.notify-item.unread{border-color:#e79aa2aa;box-shadow:inset 0 2px 6px #fff4,0 6px 14px #000a,0 0 13px #e9313420}.notify-item.read{opacity:.83}.notify-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#bac1cc}.notify-type{font-weight:800;color:#fbdce0}.notify-item h3{margin:10px 0 5px;font-size:16px}.notify-item p{font-size:13px;line-height:1.5;color:#cbd0da;margin:0 0 13px}.notify-item-actions{display:flex;align-items:center;gap:7px}.notify-item-actions .secondary-btn{min-height:36px;padding:7px 11px;font-size:12px}.notify-delete{margin-left:auto;background:linear-gradient(#42464f,#1c2028);border:1px solid #8a8f98;color:#eee;border-radius:50%;width:34px;height:34px;font-size:21px;line-height:1}.notify-read-all{width:100%}.notify-settings{border-radius:22px;padding:14px}.notify-settings summary{font-weight:800;cursor:pointer}.notify-settings-content{display:grid;gap:10px;margin-top:12px}.notify-setting{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;padding:8px 0}.notify-setting input{accent-color:#e52239;width:20px;height:20px}
@media(max-width:370px){.notification-center-v13 .notify-item-actions{gap:5px}.notification-center-v13 .notify-item-actions .secondary-btn{font-size:11px;padding:7px 9px}.notify-item{padding:13px}}

/* V13.1 Web Push opt-in: neutral, unobtrusive, mobile-first */
.push-device-box { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
.push-device-box>strong {font-size:1.05rem;}
.push-device-box>p {margin:0;line-height:1.4;}
.push-device-box>button {width:100%;border-radius:22px;min-height:52px;}

/* DTP PRO V14.1 — Graphite / Silver / Signal Red. Presentation only. */
:root{--dtp141-panel:#202831;--dtp141-line:#49545f;--dtp141-text:#f4f6f9;--dtp141-muted:#c4cdd7}
.app{background:radial-gradient(ellipse at 30% 0%,#29323d 0%,#141b23 40%,#0e141b 100%);color:var(--dtp141-text)}
.app-header{background:linear-gradient(180deg,#2c3641,#18212a);border-bottom:1px solid #49545f;box-shadow:0 4px 12px #0005;min-height:60px;padding:8px 12px}
.main-head{gap:9px}.main-head .head-brand{gap:9px;padding-right:0;min-width:0}
.main-head .head-titlebar{gap:7px;min-width:0}
.main-head .head-name-wide{padding:0 9px;border:0;background:none;box-shadow:none;text-shadow:none;font-size:clamp(16px,4.6vw,22px);height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:40px}
.main-head .head-pro-btn{height:34px;min-width:49px;padding:0 9px;border-radius:11px;font-size:15px;box-shadow:inset 0 1px 2px #fff5,0 3px 8px #0005}
.app-header .bell,.inner-head .back{min-width:44px;width:44px;height:44px;min-height:44px;flex:0 0 44px;border-radius:13px;border:1px solid #64717e;background:linear-gradient(160deg,#394552,#202a35);box-shadow:0 3px 7px #0005;position:relative}
.inner-head .metal-page-title{min-width:0;overflow-wrap:anywhere;line-height:1.2;font-size:clamp(13px,3.8vw,17px)}
.view:has(.home-page){display:flex;flex-direction:column;overflow-y:auto;scroll-padding-top:65px}
.view:has(.home-page)>.app-header{flex:0 0 auto}
.home-page{flex:1 0 auto;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;gap:14px;padding:15px 14px 22px}
.home-page .welcome-line{flex:0 0 auto;margin:0;padding:0;gap:12px;font-size:14px;line-height:1.45;color:var(--dtp141-muted)}
.home-page .welcome-line b{font-size:19px;color:#fff;overflow-wrap:anywhere;letter-spacing:0;text-shadow:none}
.home-page .welcome-line>div:last-child{min-width:0}
.home-page .home-avatar{width:50px;height:50px;border:1px solid #8a9aaa;background:linear-gradient(145deg,#465566,#202a35);box-shadow:0 3px 9px #0005}
.home-page .accident-cta{flex:0 0 auto;margin:0;min-height:88px!important;border-radius:19px!important;justify-content:flex-start;text-align:left;padding:13px 15px;gap:13px;background:linear-gradient(150deg,#f04751,#cb1329 58%,#a30e20);border:1px solid #ff7b82;box-shadow:inset 0 1px 2px #fff6,0 6px 15px #9b132b44;text-shadow:none}
.home-page .accident-cta svg{width:41px;height:41px;flex-shrink:0;filter:none;color:white}
.home-page .accident-cta span{font-size:20px;line-height:1.2;letter-spacing:0;text-shadow:none}
.home-page .accident-cta small{font-size:12px!important;line-height:1.35;color:#fff;text-shadow:none}
.home-page .home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;flex:0 0 auto;gap:10px;margin:0;padding:0}
.home-page .home-tiles .tile{min-width:0;min-height:84px;height:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:9px;padding:11px 9px;border-radius:17px;border:1px solid var(--dtp141-line);background:linear-gradient(150deg,#323d49,#202932 60%,#19222b);box-shadow:inset 0 1px 1px #fff2,0 4px 9px #0004}
.home-page .home-tiles .tile::before{display:none}
.home-page .home-tiles .tile svg{width:29px;height:29px;flex:0 0 29px;filter:none;color:#e2e8ef}
.home-page .home-tiles .tile b{font-size:13px;line-height:1.28;letter-spacing:0;text-shadow:none;font-weight:750;min-width:0;overflow-wrap:anywhere}
.bottom-nav{gap:4px;padding:5px 7px max(5px,env(safe-area-inset-bottom,0px));min-height:66px;height:calc(66px + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(4,minmax(0,1fr));background:#18212a;border-top:1px solid #49545f;box-shadow:0 -4px 12px #0005}
.bottom-nav .tab{min-width:0;min-height:48px;gap:4px;font-size:11px;line-height:1.15;border-radius:13px;color:#c4cdd7;box-shadow:none;padding:4px 1px}
.bottom-nav .tab svg{width:23px;height:23px;filter:none;color:inherit}
.bottom-nav .tab.active{background:#56232c;border:1px solid #e95b66;color:#fff;box-shadow:inset 0 2px 0 #f35c66}
.bottom-nav .tab.active svg{color:#ffadb4}
.profile-page .profile-tiles .tile{min-width:0;min-height:92px;height:auto;gap:7px;padding:9px 5px;border-radius:17px;background:linear-gradient(150deg,#323d49,#202932 60%,#19222b);border:1px solid var(--dtp141-line);box-shadow:0 4px 9px #0004}
.profile-page .profile-tiles .tile b{font-size:12px;line-height:1.3;letter-spacing:0;overflow-wrap:anywhere;text-shadow:none}
.profile-page .profile-tiles .tile::before{display:none}
.home-page button:focus-visible,.bottom-nav button:focus-visible,.app-header button:focus-visible{outline:2px solid #fca5ad;outline-offset:2px}
@media(max-width:370px){.main-head{gap:6px;padding-inline:8px}.main-head .head-brand{gap:6px}.main-head .head-name-wide{padding-inline:3px;font-size:16px}.main-head .head-pro-btn{min-width:43px;padding-inline:6px;font-size:14px}.home-page{padding-inline:10px;gap:11px}.home-page .home-tiles{gap:7px}.home-page .home-tiles .tile{padding:9px 7px;gap:7px}.home-page .home-tiles .tile b{font-size:12px}.home-page .home-tiles .tile svg{width:25px;height:25px;flex-basis:25px}.bottom-nav .tab{font-size:10px}}
@media(max-width:800px) and (max-height:620px){.home-page{gap:10px;padding-block:10px 15px}.home-page .home-avatar{width:44px;height:44px}.home-page .accident-cta{min-height:78px!important}.home-page .home-tiles .tile{min-height:76px}}
@media(prefers-reduced-motion:reduce){.home-page button,.bottom-nav button,.app-header button{transition:none!important;animation:none!important}}

/* DTP PRO V14.1.1 — mobile graphite / silver / red; scoped presentation. */
html{color-scheme:dark;background:#101318}
.main-head .head-name-wide{font-size:clamp(20px,5.7vw,25px);font-weight:900;padding:0 6px;letter-spacing:.3px}
.main-head .head-pro-btn{background:linear-gradient(180deg,#ff858b 0%,#ed2539 37%,#a9001a 100%);border:1px solid #ffc0c5;box-shadow:inset 0 2px 3px #fff7,0 3px 7px #0008;border-radius:13px}
.app-header{min-height:54px;padding-block:5px;background:linear-gradient(165deg,#343b44,#181d24 55%,#11161d);border-bottom-color:#858d9866}
.home-page{padding:10px 12px 14px;gap:11px}
.home-page .welcome-line{gap:10px}
.home-page .home-avatar{width:48px;height:48px}
.home-page .accident-cta{min-height:78px!important;border-radius:21px!important;padding:10px 13px;background:linear-gradient(180deg,#ff8a91 0%,#f04552 22%,#dc1028 52%,#a7081b 100%);border:2px solid #ff9ca5;box-shadow:inset 0 2px 4px #fff8,inset 0 -4px 7px #5f0013aa,0 5px 12px #a20d2545}
.home-page .accident-cta span{font-size:clamp(17px,4.7vw,21px);text-shadow:0 1px 2px #69000c}
.home-page .home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;align-content:start;margin:0}
.home-page .home-tiles .tile{min-height:clamp(82px,13dvh,114px);height:auto;gap:9px;padding:10px 9px;border-radius:19px;border:1px solid #aeb8c390;background:linear-gradient(155deg,#535e69,#303a45 32%,#202831 70%,#151c25);box-shadow:inset 0 2px 4px #fff3,inset 0 -3px 7px #0007,0 4px 9px #0007}
.home-page .home-tiles .tile svg{color:#f5f7fb;filter:drop-shadow(0 1px 2px #000a)}
.home-page .home-tiles .tile b{font-size:clamp(12px,3.35vw,15px);line-height:1.28;text-shadow:0 1px 2px #0008;overflow-wrap:anywhere;word-break:normal}
.bottom-nav{height:calc(58px + env(safe-area-inset-bottom,0px));min-height:calc(58px + env(safe-area-inset-bottom,0px));padding:3px 6px calc(3px + env(safe-area-inset-bottom,0px));gap:3px;background:linear-gradient(180deg,#333d48,#151c25 75%);border-top:1px solid #929ca477}
.bottom-nav .tab{min-height:44px;min-width:0;height:100%;padding:3px 1px;gap:3px;border-radius:13px;font-size:11px;line-height:1.14}
.bottom-nav .tab svg{width:22px;height:22px}
.bottom-nav .tab.active{background:linear-gradient(180deg,#fa6975,#d71029 55%,#a1081b);border:1px solid #ffb1b8;box-shadow:inset 0 2px 3px #fff6,0 3px 7px #b90e3040;color:white}
.bottom-nav .tab.active svg{color:white}
@media(max-width:800px){.stage{min-height:100dvh;padding:0}.device{height:100dvh;min-height:0}.app{padding-top:env(safe-area-inset-top,0px)}.view:has(.home-page){padding-bottom:0;scroll-padding-top:54px}}
@media(max-width:370px){.home-page{padding-inline:9px;gap:9px}.home-page .home-tiles{gap:7px}.home-page .home-tiles .tile{padding:9px 7px;gap:6px;min-height:76px}.home-page .home-tiles .tile b{font-size:12px}.bottom-nav .tab{font-size:10px}}
@media(max-width:800px) and (max-height:620px){.home-page{padding-block:8px 10px;gap:9px}.home-page .home-avatar{width:40px;height:40px}.home-page .home-tiles .tile{min-height:72px}}

/* V14.2 — scoped Smart Assistant; home unchanged. */
.smart-assistant{display:grid;gap:12px;padding-bottom:18px}.smart-assistant .card-pad{margin:0;padding:14px;min-width:0}.smart-assistant h2,.smart-assistant h3{margin:0 0 8px;line-height:1.25}.smart-assistant p{margin:7px 0 12px;line-height:1.45}.smart-emergency{border:1px solid #e66c77;background:linear-gradient(150deg,#492129,#241c23 70%)}.smart-emergency strong{font-size:17px}.smart-link{display:block;text-align:center;text-decoration:none;box-sizing:border-box;min-height:44px;line-height:1.35}.smart-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:12px 0}.smart-tabs button{min-height:44px;border-radius:12px;border:1px solid #85919d;background:#242d37;color:#fff;font-size:17px;font-weight:800}.smart-tabs .smart-active{background:linear-gradient(#f25a67,#b10b20);border-color:#ffb1b8}.smart-heading{display:flex;align-items:center;gap:10px}.smart-heading svg{flex-shrink:0}.smart-heading h2{margin:0;font-size:20px}.smart-assistant .smart-field{margin:10px 0;display:grid;gap:6px;line-height:1.35}.smart-assistant .smart-field select{min-height:44px;max-width:100%;width:100%;font-size:16px}.smart-assistant .assist-step{min-height:48px;align-items:center}.smart-assistant .assist-step input{flex-shrink:0}.smart-assistant .smart-mark,.smart-assistant .smart-dossier button,.smart-assistant .smart-current>.secondary-btn{width:100%;margin-top:9px;min-height:44px;white-space:normal}.smart-nav{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.smart-nav button{min-width:0;min-height:46px}.smart-nav button:disabled{opacity:.45}.smart-assistant .figure-note{margin:0}.smart-assistant .progress{margin-top:10px}.smart-assistant .assist-advice{overflow-wrap:anywhere}.smart-assistant .badge{white-space:nowrap}

/* V14.3 Evidence PRO: existing glass style, no changes to home. */
.evidence-pro{display:flex;flex-direction:column;gap:12px;min-width:0}.evidence-pro p{margin:0}.evidence-pro .evidence-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.evidence-pro .picker-control{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:48px;position:relative;text-align:center;white-space:normal}.evidence-pro .picker-control input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.evidence-pro .picker-control:has(input:disabled){opacity:.5}.evidence-pro .picker-control:focus-within{outline:2px solid #fff;outline-offset:2px}.evidence-guide{border:1px solid #74809366;border-radius:12px;padding:12px}.evidence-guide summary{cursor:pointer;font-weight:650}.evidence-guide ul{padding-left:20px;line-height:1.55}.evidence-pro-caption{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #74809366;padding-top:12px}.evidence-pro .evidence-gallery{margin-top:0}.evidence-preview-nav{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.evidence-lightbox-panel .evidence-preview-nav button{min-height:44px}.evidence-pro [data-evidence-status]:empty{display:none}

/* V14.4: scoped legal UI */
.legal-pro-v144 .legal-topics{margin:12px 0}.legal-pro-v144 .legal-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legal-pro-v144 .legal-topic-grid button{min-height:48px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.legal-pro-v144 .legal-privacy{padding:10px;border:1px solid #8793a655;border-radius:12px;line-height:1.5}.legal-pro-v144 .chat-bubble{overflow-wrap:anywhere;white-space:pre-wrap}.legal-pro-v144 .legal-copy{display:block;margin-top:8px;min-height:36px;font-size:12px;white-space:normal}.legal-pro-v144 .legal-brief-text{white-space:pre-wrap;overflow-wrap:anywhere}.legal-pro-v144 .legal-topics h3{margin:0 0 8px}.legal-pro-v144 .chat-thread{min-width:0}.legal-pro-v144 select{max-width:100%}

/* V14.5: update centre, profile only */
.dtp-update-v145{margin:14px 0;min-width:0}.dtp-update-v145 h3{margin:0 0 12px}.dtp-update-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #8793a633}.dtp-update-v145 button{width:100%;min-height:44px;white-space:normal;margin:4px 0}.dtp-update-v145 details{margin-top:10px}.dtp-update-hash{display:block;overflow-wrap:anywhere;white-space:normal;font-size:12px}.dtp-update-v145 p{line-height:1.45}
