:root{--bg:#dbe4ed;--ink:#142334;--secondary:#41586e;--soft:#5b7388;--blue:#2273d2;--line:#c0d2e1;--ease:cubic-bezier(.22,1,.36,1);--ease-apple:cubic-bezier(0.16,1,0.3,1);--spring:cubic-bezier(.2,1.3,.4,1);--font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro",system-ui,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
body{margin:0;font:15px/1.65 var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0}
button:disabled{cursor:wait;opacity:.55}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:3px solid #3b88d8;outline-offset:4px}
a{color:inherit}
h1,h2,h3,h4,p{margin:0}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
::selection{background:#c0dcf7;color:#102b45}
[hidden]{display:none!important}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.muted{color:var(--secondary)}
.tiny{font-size:12px;color:var(--soft)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.wall{position:fixed;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse at 78% 19%,#c2dbe8,transparent 52%),radial-gradient(ellipse at 10% 80%,#c9d8e7,transparent 68%),#d5dfe9}
.wall:before{content:"";position:absolute;top:-47vw;left:18vw;width:95vw;height:67vw;border-radius:50%;border:72px solid #ffffff26;filter:blur(6px);transform:rotate(-23deg)}
.wall:after{content:"";position:absolute;top:5%;right:-7%;height:65vw;width:65vw;background:radial-gradient(circle,#a4cbde45,transparent 65%);animation:breathe 15s ease-in-out infinite alternate}
.shell{max-width:1370px;margin:auto;padding:0 45px}
header{display:flex;align-items:center;justify-content:space-between;height:94px;gap:22px}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:-.4px;white-space:nowrap}
.brandmark{width:38px;height:38px;border-radius:12px;background:linear-gradient(140deg,#5ba7e6,#246fbe);box-shadow:inset 0 1px 1px #fff9,0 5px 14px #2368a428;display:grid;place-items:center;color:#fff}
.brand>span{font-size:13.5px;font-weight:600;letter-spacing:.8px;color:#435e75}
.navlinks{display:flex;gap:26px;align-items:center;margin-left:auto}
.navlinks button{padding:10px 0;background:none;color:#49637a;font-size:14.5px;font-weight:550;transition:color .2s}
.navlinks button:hover{color:#1a5fa5}
.navlinks .active{color:#1a5fa5;font-weight:650}
.badge{border:1px solid #bfd3e3;background:#e2ecf5cc;border-radius:20px;padding:4px 11px;font-size:11.5px;font-weight:550;color:#38526b;white-space:nowrap}
.textbtn{background:none;color:#335b7f;padding:0;font-size:12.5px;font-weight:550;display:inline-flex;align-items:center;gap:6px}
.textbtn:hover{color:var(--blue)}
.textbtn svg{width:15px;height:15px}
.friend-link{color:var(--blue);text-decoration:none;font-weight:600;transition:all .2s;display:inline-flex;align-items:center;gap:4px}
.friend-link:hover{text-decoration:underline;color:#185fa5}

.workspace{display:grid;grid-template-columns:48px minmax(0,1fr);gap:37px}
.rail{padding-top:67px;display:flex;align-items:center;flex-direction:column;gap:15px}
.rail button{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;color:#526d83;background:none;transition:all .3s}
.rail button:hover,.rail button.selected{color:#1a62a5;background:#e1ebf4f5;box-shadow:inset 0 1px 0 #fff,0 5px 12px #34567218;transform:translateY(-1px)}
.rail i{height:1px;width:18px;background:#bccedc;margin:4px}
.rail small{writing-mode:vertical-rl;letter-spacing:2px;font-size:10.5px;font-weight:600;color:#557085;margin-top:10px}
.main{min-width:0}
.hero{display:grid;grid-template-columns:1.15fr 1fr;height:305px;align-items:center}
.herocopy{animation:heroCopyEnter .85s var(--ease-apple) both}
.eyebrow{font-size:11px;font-weight:650;letter-spacing:2.2px;color:#415e75;display:flex;gap:8px;align-items:center;margin-bottom:18px;animation:heroEyebrowEnter .8s var(--ease-apple) .05s both}
.eyebrow i{width:6px;height:6px;background:#3982c7;border-radius:50%;box-shadow:0 0 0 3px rgba(69,142,204,.25);animation:dotPulse 2.6s ease-in-out infinite}
h1{font-size:clamp(40px,4.3vw,58px);font-weight:700;line-height:1.2;letter-spacing:-2px}
h1 span{color:#2577be}
.hero-line{display:inline-block}
.hero-line-1{animation:heroLine1Enter .9s var(--ease-apple) .12s both}
.hero-line-2{white-space:nowrap;animation:heroLine2Enter .9s var(--ease-apple) .22s both}
.hero-accent{background:linear-gradient(130deg,#185ea0 0%,#2982d6 28%,#72c3fc 50%,#2982d6 72%,#185ea0 100%);background-size:240% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block;animation:heroAccentShine 5s ease-in-out infinite}
.hero p{font-size:15px;font-weight:450;color:#2c4358;margin-top:16px;line-height:1.85;animation:heroSubEnter .85s var(--ease-apple) .32s both}
.herometa{font-size:12px;font-weight:500;color:#446076;margin-top:16px;display:flex;gap:8px;align-items:center}
.herometa svg{width:14px;height:14px}
.herometa b{font-weight:500;color:#8ea3b3}
.art{height:280px;position:relative;display:grid;place-items:center;animation:artEnter 1s var(--ease-apple) .18s both}
.sculpture{position:relative;width:260px;height:265px;animation:float 7s ease-in-out infinite}
.shield-art{position:absolute;left:53px;top:0;width:170px;height:225px;stroke:none;overflow:visible;transform:rotate(-8deg);filter:drop-shadow(10px 22px 18px #4c829740)}
.ring{position:absolute;inset:44px -10px;border:1px solid #ffffffd0;border-radius:50%;box-shadow:0 1px 0 #7ca2b850;transform:rotateX(68deg) rotateZ(-20deg);animation:orbit 24s linear infinite}
.ring:after{content:"";position:absolute;top:10px;left:47px;width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 14px #fff}
.ring.two{inset:18px -12px;opacity:.55;animation:orbit2 30s linear infinite}
.shadow{position:absolute;bottom:9px;left:62px;width:150px;height:23px;border-radius:50%;background:#4e839648;filter:blur(17px)}
.artchip{position:absolute;background:#e3edf6d5;border:1px solid #c5d7e5;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:550;color:#314e66;box-shadow:0 6px 20px #345b7712;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;gap:7px}
.artchip svg{width:14px;height:14px;color:#2f8369}
.artchip.one{top:43px;right:5%;animation:chipEnter .85s var(--ease-apple) .45s both,float 8s ease-in-out 1.3s infinite}
.artchip.two{bottom:48px;left:4%;animation:chipEnter .85s var(--ease-apple) .55s both,float 8s ease-in-out -3s infinite}
.artchip.two svg{color:#2577b2}
.shield-tick{stroke-dasharray:120;stroke-dashoffset:120;animation:draw 1.3s .6s var(--ease-apple) forwards}

.glass{position:relative;isolation:isolate;background:linear-gradient(135deg,rgba(237,244,250,0.93),rgba(229,237,245,0.91) 45%,rgba(222,233,243,0.89));border:1px solid rgba(195,212,226,0.88);box-shadow:0 20px 50px -24px rgba(32,54,77,0.22),0 3px 12px rgba(32,54,77,0.06),inset 0 1px 0 rgba(255,255,255,0.7),inset 0 -1px 0 rgba(158,183,204,0.3);backdrop-filter:blur(26px) saturate(145%);-webkit-backdrop-filter:blur(26px) saturate(145%)}
.glass:before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,0.65),rgba(255,255,255,0.15) 50%,rgba(132,168,193,0.4) 76%,rgba(255,255,255,0.5));mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;pointer-events:none}
.querycard{border-radius:25px;padding:26px 30px 22px;animation:enter .9s .15s var(--ease) both}
.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.sectionlabel{display:flex;gap:9px;align-items:center;font-size:15px;font-weight:650;color:#183248}
.sectionlabel svg{width:18px;height:18px;color:#3075b3}
.quiet{font-size:11px;font-weight:650;color:#4f6c85;letter-spacing:1.4px}
.types{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;position:relative;border-bottom:1px solid #bfd2e1;padding-bottom:13px}
.types::-webkit-scrollbar{display:none}
.type{flex:1;min-width:68px;background:none;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:550;color:#456076;padding:11px 8px;border-radius:12px;white-space:nowrap;z-index:1}
.type svg{width:17px;height:17px}
.type[aria-selected=true]{color:#145699;font-weight:650}
.lens{position:absolute;top:0;left:0;border:1px solid #b5cbe0;background:linear-gradient(145deg,#cfe3f4,#d9e9f6a0);border-radius:12px;box-shadow:inset 0 1px 1px #fff,inset 0 -1px 0 #97bed660,0 3px 8px #416b8c14;transition:width .5s var(--spring),transform .5s var(--spring)}
.queryrow{display:flex;gap:12px;margin-top:20px}
.inputbox{flex:1;min-width:0;display:flex;align-items:center;background:rgba(220,232,241,0.85);border:1px solid #b5cbdd;border-radius:14px;box-shadow:inset 0 2px 3px #45657d0a;transition:all .25s}
.inputbox:focus-within{border-color:#488fd1;background:rgba(229,239,248,0.96);box-shadow:0 0 0 4px #468ed91c}
.inputbox>svg{margin-left:17px;width:19px;height:19px;color:#50718d}
.inputbox input{width:100%;min-width:0;border:0;background:none;outline:0;font-size:15.5px;font-weight:450;color:#122536;padding:16px 12px}
.inputbox input::placeholder{color:#698297;font-weight:400}
.inputbox button{background:none;padding:10px;color:#5e7c96}
.inputbox button svg{width:15px;height:15px}
.keycap{font-size:11.5px;font-weight:550;color:#44627a;border:1px solid #b5c9dc;background:#d6e3ee80;line-height:22px;padding:0 6px;border-radius:5px;margin-right:14px;white-space:nowrap}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #ffffff60;border-radius:13px;background:linear-gradient(145deg,#3885de,#1e6cc8);color:white;font-size:13.5px;font-weight:600;padding:12px 22px;box-shadow:inset 0 1px 0 #ffffff80,inset 0 -1px 1px #0e3f8133,0 6px 14px #226ebd30;position:relative;overflow:hidden;transition:transform .3s var(--spring),box-shadow .3s}
.primary:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffff80,0 7px 18px #226ebd48}
.primary:active{transform:scale(.97)}
.primary svg{width:17px;height:17px}
.primary:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff40,transparent 75%);transform:translateX(-120%)}
.primary:hover:after{transform:translateX(120%);transition:transform .8s}
.softbtn{padding:10px 16px;border-radius:11px;background:#d6e3ee;color:#244766;font-size:12.5px;font-weight:550;border:1px solid #bbcee0;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .2s,color .2s}
.softbtn:hover{background:#cbdbec;color:#153755}
.softbtn svg{width:15px;height:15px}
.dangerbtn{background:#f5ded9;color:#9b4b42;border:1px solid #e5c3bd}
.formhint{margin-top:12px;display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:500;color:#466278;min-height:20px}
.formhint span{display:flex;align-items:center;gap:6px}
.formhint svg{width:12px;height:12px}
.error{color:#a9463c!important}
.recognition{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:12px;font-weight:500;color:#3f5c74;flex-wrap:wrap}
.tag{padding:4px 9px;background:#d6e4f0;border:1px solid #bacfe2;border-radius:7px;color:#1d456a;font-size:12px;font-weight:550;display:inline-flex;gap:5px;align-items:center}
.tag svg{width:12px;height:12px}
.quickgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:20px}
.quick{display:flex;align-items:center;gap:12px;padding:19px 18px;border-radius:19px;border:1px solid #bed2e2;background:rgba(234,242,249,0.85);text-align:left;transition:all .25s var(--ease-apple);animation:quickEnter .8s var(--ease-apple) both}
.quick:nth-child(1){animation-delay:.46s}
.quick:nth-child(2){animation-delay:.52s}
.quick:nth-child(3){animation-delay:.58s}
.quick:nth-child(4){animation-delay:.64s}
.quick:hover{transform:translateY(-3px);background:rgba(242,248,253,0.96);box-shadow:0 8px 18px #2b4e6914}
.quick:active{transform:scale(.98);transition:transform 100ms ease-out}
.quickicon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #b6ccdf;border-radius:11px;background:linear-gradient(145deg,#edf4fa,#dbe7f2);color:#326189;box-shadow:0 3px 7px #41627912;flex:none}
.quick:nth-child(2) .quickicon{background:linear-gradient(145deg,#f5ebe2,#e8ded2);color:#86603d;border-color:#ded0c3}
.quick h3{font-size:14px;font-weight:650;color:#182b3c;white-space:nowrap}
.quick p{font-size:12px;color:#496379;margin-top:3px}
.belowline{display:flex;justify-content:space-between;gap:15px;margin:22px 0;color:#446077;font-size:12px;font-weight:500}
.belowline span{display:flex;align-items:center;gap:7px}
.belowline svg{width:14px;height:14px}
footer{border-top:1px solid #b6c8d7;display:flex;justify-content:space-between;gap:16px;padding:18px 0 24px;font-size:12px;color:#496379}
footer strong{font-weight:650;color:#1b364e}

/* 扫描与结果 */
.scan{padding:26px 0 17px;display:none;text-align:center}
.scan.show{display:block}
.scanorb{position:relative;height:66px;width:66px;border-radius:50%;display:grid;place-items:center;margin:13px auto 26px;background:#d5e6f5;color:#2867a2}
.scanorb:before,.scanorb:after{position:absolute;content:"";inset:-10px;border:1px solid #6da4d5;border-radius:50%;animation:ping 2s ease-out infinite}
.scanorb:after{animation-delay:1s}
.scanorb svg{width:30px;height:30px}
.scan h3{font-size:16px;font-weight:650;color:#162a3b}
.scan p{font-size:13px;color:#44627a;margin-top:8px}
.scansteps{display:flex;justify-content:center;gap:18px;margin-top:22px;font-size:11.5px;font-weight:550;color:#526f87}
.scansteps .done{color:#1a5a90;font-weight:650}
.result{border-radius:24px;margin-top:21px;padding:26px 28px;animation:resultReveal .55s var(--ease-apple) both}
button:active,.primary:active,.softbtn:active,.choice:active{transform:scale(.975);transition:transform 100ms ease-out}
.resulttop{display:flex;gap:14px;align-items:center}
.statusicon{width:46px;height:46px;border-radius:14px;background:#fae1d8;color:#a04a2d;display:grid;place-items:center;flex:none}
.statusicon.neutral{background:#d3e3f1;color:#265e8b}
.result h2{font-size:22px;font-weight:700;color:#142738;letter-spacing:-.4px}
.resulttop p{font-size:13px;color:#405b72;overflow-wrap:anywhere;margin-top:3px}
.resulttop .badge{margin-left:auto;font-size:11.5px}
.resultsummary{font-size:14px;color:#29435a;line-height:1.85;margin-top:17px}
.riskgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:19px}
.riskbox{padding:13px 15px;border-radius:12px;border:1px solid #ded3cc;background:#f8ede5cc}
.riskbox small{font-size:12px;font-weight:600;color:#695547;display:block}
.riskbox strong{font-size:20px;color:#8d4833;font-weight:700}
.riskbox em{font-style:normal;font-size:12px;color:#7c6252;margin-left:3px}
.risktags{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.risktags .tag{background:#f6e3da;border-color:#e6cebf;color:#8c4731}
.notice{display:flex;gap:9px;background:#d6e4f0;border:1px solid #b9cce0;border-radius:11px;padding:12px 14px;margin-top:16px;font-size:12px;line-height:1.75;color:#264864}
.notice svg{width:15px;height:15px;margin-top:2px}
.notice.warm{background:#f3e8df;border-color:#e3d1be;color:#6d4b2d}
.resultactions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.resultactions .primary{padding:11px 18px;font-size:12.5px}
.timeline{display:grid;gap:13px;border-left:1px solid #d8c2b5;margin:20px 0 5px 5px;padding-left:17px}
.timeline div{position:relative;font-size:13px;color:#4e3c31}
.timeline div:before{content:"";position:absolute;left:-21px;top:6px;width:6px;height:6px;border-radius:50%;background:#b3795d;box-shadow:0 0 0 3px #f2ded3}
.timeline small{color:#745f53;font-size:11.5px;font-weight:550}
.detailtoggle{font-size:12px;font-weight:550;margin-top:16px;color:#554237}
.detailtoggle summary{cursor:pointer}
.flowdivider{height:1px;background:#bccfe0;margin:24px 0}
.contexthead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.contexthead h3{font-size:17px;font-weight:700;color:#162a3b}
.stepcaption{font-size:11px;font-weight:600;letter-spacing:1px;color:#49647b}
.contextsub{font-size:13px;color:#3f5b73;margin-top:4px}
.choices{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:17px}
.choice{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 6px;background:#d6e3ee;border:1px solid #bdd0e0;border-radius:11px;font-size:12.5px;font-weight:550;color:#32506b;transition:all .3s}
.choice svg{width:17px;height:17px}
.choice:hover{background:#c9daea}
.choice[aria-pressed=true]{background:linear-gradient(145deg,#c8def0,#d7e6f3);border-color:#6ba0cc;color:#114a7e;box-shadow:inset 0 1px 0 #fff;font-weight:650}
.contextpanel{animation:enter .4s var(--ease);margin-top:20px}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.full{grid-column:1/-1}
.label{display:block;font-size:13px;font-weight:600;color:#264259;margin-bottom:7px}
.ctl{width:100%;border:1px solid #b4c9dd;border-radius:11px;background:rgba(237,244,250,0.92);outline:0;padding:12px 13px;color:#122a3e;font-size:13.5px;transition:all .25s}
.ctl:focus{border-color:#468cd0;box-shadow:0 0 0 3px #408bd41c;background-color:#fff}
.ctl::placeholder{color:#698195}
textarea.ctl{min-height:105px;resize:vertical;line-height:1.75}
select.ctl{min-height:45px;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:12px 38px 12px 14px;background-color:rgba(237,244,250,0.92);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233a5975' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:calc(100% - 14px) center !important;background-size:14px 14px !important;cursor:pointer}
select.ctl::-ms-expand{display:none}
select.ctl:hover{border-color:#7faed4;background-color:rgba(244,249,254,0.96);background-repeat:no-repeat !important;background-position:calc(100% - 14px) center !important;background-size:14px 14px !important}
select.ctl:focus{border-color:#468cd0;box-shadow:0 0 0 3px #408bd41c;background-color:#fff !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232273d2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:calc(100% - 14px) center !important;background-size:14px 14px !important}
.checks{display:flex;gap:8px;flex-wrap:wrap}
.checkchip{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:550;color:#294760;background:#d6e3ee;border:1px solid #bdd0df;padding:8px 11px;border-radius:8px;cursor:pointer}
.checkchip input{accent-color:#2572c2;margin:0}
.agree{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#2f4a61;cursor:pointer;line-height:1.75}
.agree input{margin:4px 0;accent-color:#2572c2}
.airow{display:flex;justify-content:space-between;gap:15px;align-items:center}
.aistate{font-size:12px;font-weight:550;color:#37546e;display:flex;align-items:center;gap:6px}
.aistate svg{width:14px;height:14px}
.aipanel{border:1px solid #b4c9db;border-radius:15px;background:linear-gradient(130deg,#dae7f2,#e7f0f7);padding:20px;margin-top:18px;animation:enter .5s var(--ease)}
.aiheader{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#1a3f5f}
.aiheader svg{color:#2771b0;width:19px;height:19px}
.aiheader .badge{margin-left:auto;font-size:10px}
.aipanel p{font-size:13px;color:#2a455c;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.aipanel ul{font-size:13px;color:#2a455c;padding-left:18px;line-height:1.8}
.aipanel .primary{margin-top:13px;padding:9px 15px;font-size:11.5px}
.mobilebar{display:none}
.moredrawer{display:none}

/* 弹窗 */
.overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px;background:#13283945;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.overlay.open{opacity:1;visibility:visible}
.modal{width:620px;max-width:100%;max-height:90dvh;overflow:auto;background:linear-gradient(140deg,#eaf1f7,#dce6ef);border:1px solid #bdd1e1;border-radius:27px;padding:28px 29px;box-shadow:0 30px 95px #16344d44;transform:translateY(25px) scale(.97);transition:transform .5s var(--ease);scrollbar-width:thin}
.overlay.open .modal{transform:translateY(0) scale(1)}
.modalhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.modalhead h2{font-size:22px;font-weight:700;color:#142738;letter-spacing:-.4px}
.close{width:32px;height:32px;background:#d3e1ed;border-radius:50%;display:grid;place-items:center;color:#426077;flex:none}
.close svg{width:15px;height:15px}
.modalsub{font-size:13px;color:#3d5870;line-height:1.85;margin:9px 0 20px}
.modalfooter{display:flex;gap:10px;justify-content:flex-end}
.modalfooter .primary{padding:11px 20px;font-size:13px}
.upload{padding:18px;border:1px dashed #aec7d9;background:#d8e5f090;border-radius:12px;display:flex;justify-content:center;gap:8px;align-items:center;color:#32526c;font-size:13px;font-weight:500;cursor:pointer}
.upload.over{border-color:#3b85cb;background:#cce1f3}
.upload svg{width:18px;height:18px}
.files{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.file{width:76px;position:relative}
.file img{width:76px;height:60px;object-fit:cover;border-radius:8px;border:1px solid #b6ccdf}
.file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#456074}
.file button{position:absolute;top:-4px;right:-4px;background:#f2f7fd;border:1px solid #bdd1e1;border-radius:50%;width:20px;height:20px;font-size:13px;line-height:18px;color:#355773}
.success{text-align:center;padding:26px 0 8px}
.successicon{width:68px;height:68px;border-radius:50%;background:#d2ebd0;color:#24765b;display:grid;place-items:center;margin:0 auto 15px}
.successicon svg{width:30px;height:30px;stroke-dasharray:60;stroke-dashoffset:60;animation:draw 1s var(--ease) forwards}
.success h3{font-size:20px;font-weight:700;color:#142738}
.success p{font-size:13px;color:#38546a;margin-top:12px;line-height:1.85}
.success .mono{color:#174974;background:#d4e2ee;padding:8px 14px;display:inline-block;margin-top:13px;border-radius:8px;font-size:13px;font-weight:600}
.success .modalfooter{margin-top:22px;justify-content:center}
.ticketsteps{display:flex;justify-content:center;gap:0;margin:19px 0;font-size:11.5px;font-weight:550}
.ticketsteps span{padding:7px 11px;color:#466279;background:#d6e2ec;position:relative}
.ticketsteps span:first-child{border-radius:8px 0 0 8px;color:#124a79;background:#c8def0}
.ticketsteps span:last-child{border-radius:0 8px 8px 0}
.filterbar{display:flex;gap:6px;margin:14px 0;overflow:auto}
.filterbar button{padding:7px 12px;border-radius:8px;background:#d6e3ee;color:#35546e;font-size:12px;font-weight:550;white-space:nowrap}
.filterbar button.active{color:#104d84;background:#c6ddf0;font-weight:650}
.record{border:1px solid #bdd1e0;border-radius:12px;background:rgba(237,244,250,0.85);padding:14px 15px;margin-top:9px}
.recordtop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:13.5px;font-weight:600;color:#17344c;overflow-wrap:anywhere}
.record p{font-size:12px;color:#425e73;margin-top:5px}
.record .tag{font-size:10px;white-space:nowrap}
.recordactions{display:flex;gap:12px;justify-content:flex-end;margin-top:10px}
.recordactions button{font-size:11px;font-weight:550;background:none;color:#215480;padding:0}
.empty{text-align:center;padding:38px 0;color:#4d6a81;font-size:13px}
.formerror{font-size:12px;font-weight:550;color:#a9463c;min-height:18px}
.infoblock{padding:16px 0;border-bottom:1px solid #b9cce0}
.infoblock h3{font-size:15px;font-weight:650;color:#132b3e}
.infoblock p{font-size:13px;color:#344e64;margin-top:7px;line-height:1.85}
.modaltabs{display:flex;gap:6px;margin-bottom:20px;border-radius:12px;padding:4px;background:#d3e0eb}
.modaltabs span{flex:1;text-align:center;font-size:12px;font-weight:550;color:#446179;padding:8px}
.modaltabs span.active{background:#e8f0f6;border:1px solid #bcd0df;border-radius:9px;color:#154b7a;font-weight:650;box-shadow:0 2px 5px #355b7714}
.toast{position:fixed;z-index:150;bottom:28px;left:50%;max-width:90vw;transform:translate(-50%,30px);background:rgba(234,242,248,0.96);backdrop-filter:blur(15px);border:1px solid #b5c9d6;box-shadow:0 7px 25px #20425e28;border-radius:13px;padding:12px 20px;font-size:13px;font-weight:550;color:#15344e;opacity:0;pointer-events:none;transition:all .35s var(--ease);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

@keyframes enter{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:none}}
@keyframes heroCopyEnter{from{opacity:0}to{opacity:1}}
@keyframes heroEyebrowEnter{from{opacity:0;transform:translateY(12px);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes dotPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 3px rgba(69,142,204,.25),0 0 0 0 rgba(41,130,214,.3)}50%{transform:scale(1.18);box-shadow:0 0 0 5px rgba(69,142,204,.15),0 0 10px rgba(41,130,214,.6)}}
@keyframes heroLine1Enter{from{opacity:0;transform:translateY(22px) scale(.96);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes heroLine2Enter{from{opacity:0;transform:translateY(24px) scale(.96);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes heroAccentShine{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes heroSubEnter{from{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes artEnter{from{opacity:0;transform:translateY(20px) scale(.94);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes chipEnter{from{opacity:0;transform:translateY(12px) scale(.93);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes cardEnter{from{opacity:0;transform:translateY(22px) scale(.985);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes quickEnter{from{opacity:0;transform:translateY(16px) scale(.98);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes resultReveal{from{opacity:0;transform:translateY(20px) scale(.985);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes float{50%{transform:translateY(-9px) rotate(1deg)}}
@keyframes orbit{to{transform:rotateX(68deg) rotateZ(340deg)}}
@keyframes orbit2{from{transform:rotateX(68deg) rotateZ(45deg)}to{transform:rotateX(68deg) rotateZ(-315deg)}}
@keyframes breathe{to{transform:translate(-5%,5%) scale(1.1)}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes ping{from{transform:scale(.9);opacity:.7}to{transform:scale(1.35);opacity:0}}
@keyframes scamRotate{to{transform:rotate(360deg)}}
@keyframes scamPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 2px rgba(220,38,38,.5))}50%{transform:scale(1.08);filter:drop-shadow(0 0 12px rgba(220,38,38,.9))}}
@keyframes threatAura{0%,100%{box-shadow:0 20px 50px -24px rgba(220,38,38,.32),0 0 0 0 rgba(220,38,38,.3);border-color:rgba(239,68,68,.75)}50%{box-shadow:0 26px 65px -14px rgba(220,38,38,.48),0 0 0 9px rgba(220,38,38,.16);border-color:rgba(220,38,38,.95)}}
@keyframes safeRotate{to{transform:rotate(360deg)}}
@keyframes safePulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 2px rgba(16,185,129,.4))}50%{transform:scale(1.04);filter:drop-shadow(0 0 10px rgba(16,185,129,.7))}}
@keyframes safeCheck{from{stroke-dashoffset:35}to{stroke-dashoffset:0}}
@keyframes safeAura{0%,100%{box-shadow:0 20px 50px -24px rgba(16,185,129,.25);border-color:rgba(16,185,129,.55)}50%{box-shadow:0 24px 60px -16px rgba(16,185,129,.4),0 0 0 7px rgba(16,185,129,.14);border-color:rgba(5,150,105,.85)}}

.result.is-risk{background:linear-gradient(135deg,rgba(255,241,242,0.96),rgba(254,226,226,0.92) 45%,rgba(254,202,202,0.88));border:1.5px solid #ef4444;animation:enter .7s var(--ease),threatAura 3s ease-in-out infinite}
.risk-title{color:#dc2626!important;font-weight:800!important;font-size:23px!important;letter-spacing:-.5px;text-shadow:0 1px 3px rgba(220,38,38,0.18)}
.statusicon.status-risk{width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#fee2e2,#fca5a5);border:2px solid #ef4444;color:#dc2626;box-shadow:0 6px 18px rgba(220,38,38,0.35)}
.statusicon.status-risk svg{width:36px;height:36px}
.scam-rotate{transform-origin:24px 24px;animation:scamRotate 10s linear infinite}
.scam-pulse{transform-origin:24px 24px;animation:scamPulse 2s ease-in-out infinite}

.result.is-orange{background:linear-gradient(135deg,rgba(255,251,235,0.96),rgba(254,243,199,0.92) 45%,rgba(253,230,138,0.78));border:1.5px solid #f59e0b;box-shadow:0 20px 50px -24px rgba(217,119,6,0.28)}
.orange-title{color:#d97706!important;font-weight:750!important;font-size:22px!important}
.statusicon.status-orange{width:50px;height:50px;border-radius:15px;background:linear-gradient(145deg,#fef3c7,#fde68a);border:1.5px solid #f59e0b;color:#d97706;box-shadow:0 5px 15px rgba(217,119,6,0.22)}
.statusicon.status-orange svg{width:32px;height:32px}
.tag.orange{background:#fef3c7;border-color:#fcd34d;color:#b45309}
.cleargrid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:19px}
.clearbox{padding:13px 15px;border-radius:12px;border:1px solid #fed7aa;background:#fffaf5cc}
.clearbox small{font-size:12px;font-weight:600;color:#9a3412;display:block}
.clearbox strong{font-size:19px;color:#c2410c;font-weight:700}
.clearbox em{font-style:normal;font-size:12px;color:#ea580c;margin-left:3px}

.result.is-whitelist{background:linear-gradient(135deg,rgba(240,253,244,0.96),rgba(220,252,231,0.92) 45%,rgba(187,247,208,0.8));border:1.5px solid #10b981;animation:enter .7s var(--ease),safeAura 4s ease-in-out infinite}
.whitelist-title{color:#059669!important;font-weight:800!important;font-size:23px!important;letter-spacing:-.4px}
.statusicon.status-whitelist{width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#d1fae5,#a7f3d0);border:2px solid #10b981;color:#059669;box-shadow:0 6px 18px rgba(16,185,129,0.32)}
.statusicon.status-whitelist svg{width:36px;height:36px}
.safe-rotate{transform-origin:24px 24px;animation:safeRotate 12s linear infinite}
.safe-pulse{transform-origin:24px 24px;animation:safePulse 2.5s ease-in-out infinite}
.safe-check{stroke-dasharray:35;stroke-dashoffset:35;animation:safeCheck 0.9s 0.2s var(--ease) forwards}
.whitelist-box{background:#f0fdf4ee;border:1.5px solid #86efac;border-radius:18px;padding:20px;margin-top:19px;box-shadow:0 8px 24px rgba(16,185,129,0.1)}
.wl-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding-bottom:14px;border-bottom:1px dashed #86efac}
.wl-pill{display:inline-flex;align-items:center;gap:6px;background:#dcfce7;border:1px solid #4ade80;color:#15803d;font-size:13px;font-weight:700;padding:5px 12px;border-radius:20px}
.wl-cert{font-size:12px;color:#166534;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:600}
.whitelist-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}
.wl-card{display:flex;gap:12px;padding:12px 14px;background:#ffffffcc;border:1px solid #bbf7d0;border-radius:12px;align-items:flex-start}
.wl-icon{font-size:22px;line-height:1;flex:none}
.wl-card strong{display:block;font-size:13.5px;color:#14532d;font-weight:700}
.wl-card p{font-size:12px;color:#166534;margin-top:4px;line-height:1.65}
.wl-reasons-summary{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.wl-tag-item{display:inline-flex;align-items:center;gap:6px;background:#d1fae5;border:1px solid #6ee7b7;color:#065f46;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:8px}
.wl-dot{width:6px;height:6px;border-radius:50%;background:#059669;box-shadow:0 0 0 2px #a7f3d0}
.notice.safe{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.notice.danger{background:#fef2f2;border-color:#fca5a5;color:#991b1b}

@media(max-width:1120px){
  .shell{padding:0 27px}
  .workspace{gap:22px}
  .navlinks{gap:21px}
  .type{min-width:68px}
  .quickgrid{grid-template-columns:repeat(2,1fr)}
  .artchip.one{right:0}
  .artchip.two{left:0}
  .quiet{display:none}
  .choices{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:760px){
  .shell{padding:0 18px}
  body{padding-bottom:calc(83px + env(safe-area-inset-bottom))}
  header{display:flex;align-items:center;justify-content:space-between;height:74px}
  .brand{font-size:16px}
  .brandmark{width:32px;height:32px;border-radius:10px}
  .brand>span{font-size:11.5px;letter-spacing:.5px}
  .navlinks{display:none}
  .workspace{display:block}
  .rail{display:none}
  .hero{height:auto;min-height:370px;display:flex;flex-direction:column-reverse;align-items:flex-start;overflow:visible}
  .art{height:230px;width:100%;overflow:visible;margin-bottom:8px}
  .sculpture{width:220px;height:235px;scale:.72;transform-origin:center center;top:-4px}
  .shield-art{left:25px}
  .shadow{left:36px}
  .ring{inset:37px -18px}
  .ring.two{inset:8px -17px}
  .artchip{font-size:10.5px;padding:6px 10px}
  .artchip.one{top:18px;right:6%}
  .artchip.two{bottom:16px;left:3%}
  .hero h1{font-size:clamp(31px,8.6vw,42px);letter-spacing:-1.2px;line-height:1.25}
  .hero h1 br{display:block!important}
  .hero-line{display:inline-block}
  .hero-line-2{white-space:nowrap}
  .eyebrow{font-size:10px;letter-spacing:1.7px;margin-bottom:11px}
  .hero p{font-size:14px;margin-top:11px}
  .herocopy{padding:0 0 24px;width:100%}
  .herometa{font-size:11px;margin-top:12px;gap:6px}
  .querycard{padding:20px 18px 18px;border-radius:22px}
  .sectionhead{margin-bottom:15px}
  .sectionlabel{font-size:13.5px}
  .types{padding-bottom:12px;gap:2px}
  .type{min-width:78px;flex:none;font-size:11.5px;padding:10px 8px}
  .queryrow{flex-direction:column;margin-top:16px;gap:10px}
  .queryrow .primary{padding:13px;font-size:13.5px}
  .inputbox input{font-size:14.5px;padding:14px 10px}
  .inputbox>svg{margin-left:13px;width:17px;height:17px}
  .keycap{display:none}
  .formhint{font-size:11px}
  .formhint span:last-child{display:none}
  .recognition{font-size:11px}
  .quickgrid{gap:10px;margin-top:14px}
  .quick{padding:14px 12px;gap:9px;border-radius:15px}
  .quickicon{height:32px;width:32px;border-radius:10px}
  .quickicon svg{width:17px;height:17px}
  .quick h3{font-size:12.5px}
  .quick p{font-size:10px}
  .belowline{font-size:11px;margin:18px 0;flex-direction:column;gap:9px}
  .belowline span{align-items:flex-start}
  .belowline svg{margin-top:2px}
  footer{flex-direction:column;gap:5px;font-size:10.5px;padding-bottom:16px}
  .result{padding:20px 18px;border-radius:21px;margin-top:15px;scroll-margin-top:15px}
  .result h2{font-size:18px}
  .resulttop{gap:10px;flex-wrap:wrap;align-items:center}
  .resulttop .badge{font-size:10px}
  .resulttop p{font-size:11px}
  .statusicon{width:38px;height:38px;border-radius:12px}
  .resultsummary{font-size:13px;margin-top:13px}
  .riskgrid{gap:7px}
  .riskbox{padding:10px 8px}
  .riskbox small{font-size:10px}
  .riskbox strong{font-size:17px}
  .riskbox em{font-size:10px}
  .notice{font-size:11px;padding:10px 12px}
  .resultactions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%;margin-top:16px;align-items:stretch}
  .resultactions>*{width:100%;min-height:44px;padding:10px 6px;font-size:clamp(11px,3.2vw,12px);font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:6px;box-sizing:border-box;white-space:nowrap;border-radius:12px;margin:0}
  .resultactions>* svg{width:15px;height:15px;flex-shrink:0}
  .resultactions>:first-child:nth-last-child(3),.resultactions>:only-child{grid-column:1/-1}
  .resultactions>:last-child:nth-child(odd){grid-column:1/-1}
  .query-error-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%}
  .query-error-actions button{width:100%;min-height:42px;justify-content:center}
  .choices{grid-template-columns:repeat(2,1fr);gap:8px}
  .choice{font-size:12px;padding:11px 6px;gap:6px;justify-content:center}
  .choice svg{width:15px;height:15px}
  .formgrid{grid-template-columns:1fr;gap:13px}
  .full{grid-column:auto}
  .ctl{font-size:13px;padding:11px}
  .contexthead{align-items:flex-start}
  .contexthead h3{font-size:15px}
  .stepcaption{font-size:10px}
  .contextsub{font-size:11.5px}
  .airow{align-items:flex-start;flex-direction:column}
  .airow .primary{width:100%}
  .aistate{font-size:11px}
  .aipanel{padding:15px}
  .aiheader{flex-wrap:wrap}
  .aiheader .badge{font-size:9px}
  .overlay{padding:12px}
  .modal{padding:23px 19px;border-radius:23px;max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
  .modalhead h2{font-size:19px}
  .modalsub{font-size:12px}
  .modalfooter .primary,.modalfooter .softbtn{font-size:12px;padding:10px 15px}
  .ticketsteps{font-size:10px}
  .ticketsteps span{padding:6px 8px}
  .scansteps{gap:10px;font-size:10px}
  .mobilebar{position:fixed;left:12px;right:12px;bottom:calc(9px + env(safe-area-inset-bottom));z-index:55;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 3px;background:linear-gradient(140deg,rgba(236,243,249,0.96),rgba(226,236,244,0.94));border:1px solid #b8ccd9;border-radius:21px;box-shadow:inset 0 1px 0 #fff,0 7px 28px #2b496030;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%)}
  .mobilebar button{background:none;display:flex;flex-direction:column;gap:3px;align-items:center;color:#45627a;font-size:11px;font-weight:550;padding:3px 0;border-radius:12px;min-height:45px}
  .mobilebar button svg{width:19px;height:19px}
  .mobilebar button:first-child{color:#1a5ea3;background:#d3e5f490}
  .toast{bottom:calc(92px + env(safe-area-inset-bottom));font-size:11.5px}
  .modal-open .mobilebar{visibility:hidden}
  .whitelist-grid{grid-template-columns:1fr}
  .cleargrid{grid-template-columns:1fr;gap:7px}
  .statusicon.status-risk,.statusicon.status-whitelist{width:44px;height:44px}
  .statusicon.status-risk svg,.statusicon.status-whitelist svg{width:28px;height:28px}
  .risk-title,.whitelist-title{font-size:18px!important}
}
@media(max-width:359px){
  .shell{padding:0 12px}
  .art{height:205px}
  .sculpture{scale:.65;top:-6px}
  .hero h1{font-size:33px}
  .quick{padding:12px 8px;gap:6px}
  .quick h3{font-size:11.5px}
  .quick p{font-size:9.5px}
  .quickicon{width:28px;height:30px}
  .badge{font-size:9.5px}
  .choices{grid-template-columns:repeat(2,1fr)}
  .resulttop .badge{margin-left:46px}
  .contexthead .stepcaption{display:none}
  .mobilebar{left:8px;right:8px}
  .brand>span{letter-spacing:1px}
  .herometa{flex-wrap:wrap}
  .riskbox strong{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .shield-tick,.successicon svg{stroke-dashoffset:0}
}

/* Rebuild backend integration enhancements */
.svgdefs{position:absolute;width:0;height:0;overflow:hidden}
.notification-button{position:relative}
.notification-button span{position:absolute;top:4px;right:-6px;width:7px;height:7px;border-radius:50%;background:#dc2626;box-shadow:0 0 0 2px var(--bg)}

.site-announcement,.session-notice{margin:16px 0 0;padding:13px 18px;border-radius:14px;background:linear-gradient(135deg,rgba(237,244,250,0.93),rgba(229,237,245,0.91));border:1px solid #bdd1e1;color:#183852;font-size:13px;line-height:1.7;box-shadow:0 4px 14px rgba(32,54,77,0.06);animation:enter .5s var(--ease)}
.session-notice{display:flex;align-items:center;justify-content:space-between;gap:12px}
.session-notice[hidden],.site-announcement[hidden]{display:none!important}
.session-notice button{flex:none}

.related-list,.contact-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.contact-pill{display:inline-flex;gap:7px;align-items:center;padding:6px 11px;background:#e2ecf5;border-radius:9px;border:1px solid #bed3e3;font-size:12px;color:#224663;overflow-wrap:anywhere;max-width:100%}
.contact-pill.matched{background:#cde2f5;border-color:#8fbddf;font-weight:600;color:#104778}
.contact-pill small{color:#53738d}
.case-list{display:grid;gap:12px;margin-top:18px}
.case-item{padding:16px 18px;border-radius:14px;background:rgba(255,255,255,0.7);border:1px solid #c9dbe7;box-shadow:0 2px 8px rgba(32,54,77,0.04)}
.case-item h3{font-size:15px;font-weight:700;line-height:1.5;color:#152e44}
.case-item p{font-size:13px;line-height:1.8;color:#314e67;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}
.case-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11.5px;color:#5c778e;margin-top:12px}
.case-meta button{font-size:12px;font-weight:600;color:#1b63a6;background:none;padding:0}
.case-meta button:hover{text-decoration:underline}

.clue-list{display:grid;gap:9px}
.clue-row{display:grid;grid-template-columns:120px 1fr 34px;gap:8px}
.clue-row .ctl{min-width:0}
.clue-remove{border-radius:10px;background:#d6e4f0;border:1px solid #bccfe1;color:#3c5e7b;font-size:18px;line-height:1;display:grid;place-items:center;transition:all .2s}
.clue-remove:hover{background:#f5ded9;color:#9b4b42;border-color:#e5c3bd}
.add-clue{margin-top:10px}
.extract-note{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:11.5px;color:#52728c}
.formgrid .field-note{font-size:11.5px;line-height:1.7;color:#507089;margin-top:6px}
.inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.inline-actions .softbtn{font-size:12px;padding:8px 13px}
.upload-progress{font-size:11.5px;color:#496f8c;min-height:18px;margin-top:6px}
.field-inline{display:flex;gap:8px}
.field-inline .ctl{min-width:0}
.field-inline .currency{width:110px;flex:none}

.job-state{display:flex;gap:12px;align-items:center;margin-top:14px;padding:14px 16px;background:#e4eff8;border:1px solid #bdd3e4;border-radius:13px}
.job-state p{font-size:12.5px;line-height:1.75;color:#3b5c76;margin-top:3px}
.job-state strong{display:block;font-size:13.5px;color:#183b58}
.job-state .softbtn{margin-left:auto;font-size:12px;padding:7px 12px;flex:none}
.progress-dot{width:10px;height:10px;border-radius:50%;background:#2874ba;flex:none;animation:progressDot 1.5s infinite ease-in-out}
.job-state.failed .progress-dot{background:#dc2626;animation:none}
.job-state.succeeded .progress-dot{background:#059669;animation:none}
@keyframes progressDot{0%,100%{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}

.recovery-box{background:#ddeaf4;border:1px solid #bdd1e1;border-radius:15px;padding:16px 18px;margin:14px 0}
.recovery-box h3{font-size:14.5px;font-weight:700;color:#173b58}
.recovery-box p{font-size:12.5px;line-height:1.8;margin:7px 0 10px;color:#3a5972}
.recovery-code{display:block;overflow-wrap:anywhere;padding:11px 13px;background:#f4f9fd;border:1px solid #bed2e2;border-radius:9px;font-size:13.5px;font-weight:650;color:#134a78;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;user-select:all}
.recovery-form{display:flex;gap:8px;margin-top:10px}
.recovery-form .ctl{min-width:0;flex:1}
.recovery-form button{flex:none}

.record-head-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.record-head-actions .softbtn{font-size:12px;padding:8px 12px}
.record-search{margin-bottom:12px}
.recordtag{font-size:10.5px;font-weight:600;padding:3px 8px;border-radius:6px;background:#d7e5f1;color:#365873;white-space:nowrap}
.recordtag.approved,.recordtag.succeeded{background:#d1fae5;color:#065f46}
.recordtag.failed,.recordtag.rejected{background:#fee2e2;color:#991b1b}
.recordtag.quota_wait,.recordtag.needs_info{background:#fef3c7;color:#92400e}
.record-detail dl,.certificate-detail{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:13px;line-height:1.7;margin:15px 0}
.record-detail dt,.certificate-detail dt{color:#57748c;font-weight:600}
.record-detail dd,.certificate-detail dd{margin:0;color:#1d3d57;overflow-wrap:anywhere}
.record-detail .attachments{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.attachment{display:block;width:90px;border-radius:10px;overflow:hidden;border:1px solid #bdd1e1}
.attachment img{width:90px;height:72px;object-fit:cover;display:block}
.record-detail .events{display:grid;gap:9px;margin:14px 0}
.event-item{padding:10px 12px;background:#dfeaf3;border-radius:9px;font-size:12px;line-height:1.7;color:#2c4e69}
.event-item time{display:block;color:#627e94;font-size:11px;margin-top:2px}
.notification.unread{border-left:3px solid #2273d2}
.notification-meta{font-size:11px;color:#5c788e;margin-top:7px}
.banner-error{padding:12px 14px;color:#991b1b;background:#fee2e2;border:1px solid #fca5a5;border-radius:10px;font-size:13px;margin-bottom:14px}
.loading-text{padding:28px 0;text-align:center;color:#51718b;font-size:13px}
.query-error-actions{display:flex;gap:10px;margin-top:16px}
.purpose-note{font-size:11.5px;margin-top:14px;color:#55748d;line-height:1.75}

@media(max-width:760px){
  .clue-row{grid-template-columns:100px 1fr 30px;gap:6px}
  .clue-row .ctl{font-size:12px;padding:10px 8px}
  .session-notice{flex-direction:column;align-items:flex-start}
  .recovery-form{flex-direction:column}
  .record-detail dl,.certificate-detail{grid-template-columns:75px 1fr;font-size:12px}
}
