/* Rabbit AURA V3 — physically inspired materials; native DOM and vector surfaces. */
:root{color-scheme:light;--bg:#e6dacc;--bg-top:#f7eee3;--ink:#241f1b;--muted:#64594e;--surface:#f4e9dc;--surface-top:#fffaf3;--surface-bottom:#dfcfbc;--well:#e9ded0;--line:#d5c6b5;--rim:#fffaf2;--shadow:#79654a36;--shadow-deep:#65543c58;--highlight:#ffffffe0;--accent:#087b58;--accent-hi:#13a77a;--mint:#e0eedc;--mint-bottom:#c6e2ce;--mint-text:#07583e;--green-top:#19775b;--green-bottom:#003a30;--gold:#a98142;--gold-light:#f5e7c1;--nav-text:#ffefce;--dock-bg:#093b32;--dock-end:#08221d;--green-rim:#83bda3;--paper:#f8f7f3;--radius:22px;--ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.18,1.4,.28,1);--pointer-x:65%;--pointer-y:8%;font-family:Arial,"Segoe UI",sans-serif;font-size:14px;line-height:1.4}
:root[data-theme=dark]{color-scheme:dark;--bg:#071110;--bg-top:#142222;--ink:#f5f1e9;--muted:#b7c5be;--surface:#152221;--surface-top:#263331;--surface-bottom:#080f0f;--well:#0d1918;--line:#31433d;--rim:#64736b;--shadow:#0008;--shadow-deep:#000b;--highlight:#c9e3ca2b;--accent:#59edb0;--accent-hi:#52ffd0;--mint:#135a3e;--mint-bottom:#042b24;--mint-text:#c5ffe3;--green-top:#0d6951;--green-bottom:#002a20;--gold:#d9bc7a;--gold-light:#f7e6b5;--nav-text:#f3f3d9;--dock-bg:#064434;--dock-end:#001b18;--green-rim:#3add9e;--paper:#f7f7f1}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg);scrollbar-color:var(--line) var(--bg);scrollbar-width:thin}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at var(--pointer-x) var(--pointer-y),color-mix(in srgb,var(--bg-top) 95%,#6cae8b 5%),transparent 58%),linear-gradient(145deg,var(--bg-top),var(--bg) 70%);min-height:100vh;overflow-x:hidden;transition:background .65s,color .5s}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:active:not(.day){scale:.965}button{transition:background .4s,border-color .4s,box-shadow .3s,transform .32s var(--spring),scale .16s var(--ease),color .4s}h1,h2,h3,h4,p{margin:0}small{font-size:.78rem}svg.icon{width:22px;height:22px;flex:none;vertical-align:middle}button .icon{pointer-events:none}button .icon+span{min-width:0}a{color:var(--accent)}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:-100px;background:var(--surface);padding:12px;z-index:100}.skip:focus{top:12px}.material{position:relative;border:1px solid var(--rim);border-radius:var(--radius);background:linear-gradient(155deg,var(--surface-top) 0,var(--surface) 45%,var(--surface-bottom) 145%);box-shadow:0 2px 2px var(--highlight) inset,0 -2px 3px var(--shadow) inset,0 8px 16px -8px var(--shadow-deep),0 2px 6px var(--shadow);transition:background .65s,border-color .65s,box-shadow .4s,color .45s}.well{border:1px solid var(--line);border-radius:15px;background:linear-gradient(155deg,var(--well),var(--surface));box-shadow:inset 2px 3px 6px var(--shadow),inset -2px -2px 5px var(--highlight);transition:background .65s,border-color .65s,box-shadow .4s}.emerald,.primary{color:#effff3!important;background:radial-gradient(ellipse at 9% 0%,#62b79e70,transparent 60%),linear-gradient(158deg,var(--green-top),var(--green-bottom) 68%)!important;border-color:var(--green-rim)!important;box-shadow:inset 0 2px 2px #d7ffe48c,inset 0 -2px 6px #00241e,0 4px 9px var(--shadow-deep)}.mint{color:var(--mint-text);background:radial-gradient(ellipse at 0 0%,#b2e5b942,transparent 65%),linear-gradient(145deg,var(--mint),var(--mint-bottom));border-color:color-mix(in srgb,var(--mint) 60%,var(--rim));box-shadow:inset 0 1px 2px var(--highlight),0 5px 10px var(--shadow)}.button{display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:8px 14px;border-radius:12px;border:1px solid var(--rim);font-size:.86rem;font-weight:700;background:linear-gradient(155deg,var(--surface-top),var(--surface-bottom));box-shadow:inset 0 1px 2px var(--highlight),0 3px 7px var(--shadow);white-space:nowrap}.button:hover,.icon-btn:hover,.quick:hover{transform:translateY(-3px);box-shadow:inset 0 1px 2px var(--highlight),0 7px 12px var(--shadow-deep)}.button:active{transform:translateY(2px);box-shadow:inset 2px 3px 7px var(--shadow-deep)}.button.primary:hover{filter:brightness(1.13)}.icon-btn{width:40px;height:40px;display:inline-grid;place-items:center;flex:none;border-radius:50%;border:1px solid var(--rim);background:linear-gradient(155deg,var(--surface-top),var(--surface-bottom));box-shadow:inset 0 1px 2px var(--highlight),0 4px 8px var(--shadow);position:relative}.icon-btn.bare{width:29px;height:29px;background:none;border:0;box-shadow:none}.icon-btn.bare:hover{background:var(--well);box-shadow:none}.icon-btn.bare .icon{width:17px;height:17px}.icon-tile{width:53px;height:53px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,var(--surface-top),var(--surface-bottom));border:1px solid var(--rim);box-shadow:inset 0 2px 2px var(--highlight),inset 0 -2px 4px var(--shadow),0 4px 8px var(--shadow-deep);color:var(--gold);flex:none}.icon-tile .icon{width:27px;height:27px;filter:drop-shadow(0 1px 1px var(--shadow))}.icon-tile.small{width:35px;height:35px;border-radius:11px}.icon-tile.small .icon{width:21px;height:21px}.emerald .icon-tile,.icon-tile.emerald{color:var(--gold-light);border-color:#b0ebc6a0;background:linear-gradient(145deg,#64bc946e,#00362c);box-shadow:inset 0 2px 2px #c3ffe462,0 4px 10px #00291e7a}.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));background:color-mix(in srgb,var(--mint) 84%,transparent);color:var(--mint-text);font-size:.7rem;white-space:nowrap;padding:4px 9px;line-height:1.1;font-weight:700}.powered{background:linear-gradient(#23906b,#08563f);color:#f3fff5;border-color:#a6cdb7}.topbar{min-height:80px;display:flex;align-items:center;gap:clamp(10px,1.25vw,22px);padding:10px clamp(14px,2.5vw,46px);border-bottom:1px solid var(--line);background:linear-gradient(165deg,var(--surface-top),var(--surface));box-shadow:0 5px 14px var(--shadow);transition:background .65s;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:10px;background:none;text-align:left;white-space:nowrap;padding:0;flex:none}.brand-mark{color:var(--gold);display:flex;align-items:center;justify-content:center;width:49px}.brand-mark .icon{width:48px;height:48px;stroke-width:1.1;filter:drop-shadow(0 1px 0 var(--highlight))}.brand b{font-size:clamp(20px,1.62vw,29px);line-height:1.1;letter-spacing:-.06em;display:block}.brand em{color:var(--accent);font-style:normal}.brand small{display:block;font-size:10px;letter-spacing:.29em;font-weight:700;line-height:1.7}.tagline{border-left:1px solid var(--line);padding-left:16px;max-width:280px;font-size:clamp(10px,.86vw,14px);line-height:1.4;flex:1}.search{display:flex;align-items:center;gap:12px;padding:12px 14px;min-width:100px;max-width:540px;flex:2;text-align:left;box-shadow:inset 1px 2px 5px var(--shadow),inset -2px -2px 4px var(--highlight),0 3px 7px var(--shadow);border-radius:30px}.search span{font-size:.83rem;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.search kbd{font:inherit;font-size:.72rem;border:1px solid var(--line);border-radius:7px;padding:3px 5px;white-space:nowrap}.assistant{display:flex;align-items:center;gap:10px;padding:0;background:none;flex:none;text-align:left}.assistant b{display:block;font-size:1rem}.assistant small{display:block;font-size:.71rem;color:var(--muted)}.notification i{position:absolute;top:3px;right:4px;background:#dc9b26;width:8px;height:8px;border:1px solid #fff7d2;border-radius:50%;box-shadow:0 0 7px #eab64a}.avatar{font-weight:750}.orb{display:inline-grid;place-items:center;width:46px;height:46px;position:relative;flex:none;border-radius:50%;isolation:isolate;border:1px solid #c9fff1;background:radial-gradient(circle at 25% 16%,#f4ffff 0%,#b1fef0 8%,#379c99 22%,#115b69 32%,#0c2639 49%,#092b35 62%,#32866b 79%,#edd798 96%);box-shadow:inset 2px 2px 4px #c6fff8ad,inset -5px -7px 12px #0026228c,0 0 12px #29dcb987,0 4px 9px var(--shadow);animation:orb-breathe 3.4s ease-in-out infinite}.orb-inner{display:grid;place-items:center;width:72%;height:72%;border-radius:50%;background:radial-gradient(circle at 55% 60%,#54ead955,transparent 60%);animation:orb-inner 6s ease-in-out infinite;filter:drop-shadow(0 0 5px #b9fff9)}.orb-inner .icon{width:63%;height:63%;stroke:#e1fffc;stroke-width:1.25}.orb-sheen{position:absolute;top:5%;left:13%;width:48%;height:26%;border-radius:50%;background:linear-gradient(#fff9,#baffef10);transform:rotate(-29deg)}.orb.mini{width:31px;height:31px}.hero-orb{width:92px;height:92px;box-shadow:inset 3px 2px 6px #dcfffbc0,inset -7px -8px 15px #00221e80,0 0 21px #8fffbd80,0 12px 20px #143e3566;animation:orb-breathe 3.4s infinite,hover-orb 4s ease-in-out infinite}.app-layout{display:grid;grid-template-columns:96px minmax(0,1fr) minmax(220px,17.4%);gap:16px;align-items:stretch;padding:16px 22px 0;max-width:1920px;margin:auto}.app-layout:has(.workspace){grid-template-columns:96px minmax(0,1fr)}.sidebar{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;background:radial-gradient(ellipse at 20% 0%,#70b8a340,transparent 50%),linear-gradient(155deg,var(--dock-bg),var(--dock-end) 85%);border-radius:34px;border:2px solid var(--gold-light);box-shadow:inset 0 0 0 2px #315d44,inset 0 3px 4px #eefff6a1,inset -3px -5px 10px #001f1c91,0 0 0 1px #9a7c49,0 9px 14px var(--shadow-deep);padding:28px 7px 16px;color:var(--nav-text);min-height:610px;position:sticky;top:12px;max-height:760px}.sidebar nav{width:100%;display:flex;flex-direction:column;gap:8px}.nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:69px;border-radius:16px;background:transparent;color:var(--nav-text);font-size:.76rem;font-weight:600;border:1px solid transparent;transform:translate(var(--mx,0),var(--my,0))}.nav-btn .icon{width:25px;height:25px;filter:drop-shadow(0 2px 2px #001a12)}.nav-btn.active,.nav-btn:hover{background:radial-gradient(ellipse at 14% 0%,#9effca6e,transparent 70%),linear-gradient(145deg,#2a9b75,#06523f);border-color:#8ddfba;box-shadow:inset 0 2px 3px #e3fff471,inset 0 -3px 5px #002b21,0 3px 10px #001d18,0 0 15px #14b67c30}.nav-btn:hover{transform:translate(var(--mx,0),var(--my,0)) scale(1.055)}.nav-btn.more{width:58px;min-height:50px;border-radius:22px;font-size:.65rem}.nav-btn.more .icon{width:20px}.dashboard,.workspace{min-width:0;outline:none!important}.dashboard{display:grid;gap:18px;grid-template-rows:auto 1fr}.summary{display:grid;grid-template-columns:1fr 1.12fr 1.08fr 1.12fr;gap:14px;align-items:stretch;min-height:128px}.greeting{display:flex;flex-direction:column;justify-content:center;padding:4px 6px 4px 8px}.greeting .icon{color:#ce931e;width:29px;height:29px;margin-bottom:2px;filter:drop-shadow(0 1px 0 #fff2c6)}h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.035em;font-weight:700}.greeting h1{font-size:clamp(25px,2.35vw,38px);line-height:1.03;margin:2px 0 8px;white-space:nowrap}.greeting p{font-size:.9rem;line-height:1.45;max-width:260px}.metric{padding:15px 12px;min-width:0;display:flex;gap:12px;align-items:flex-start;isolation:isolate;overflow:hidden;perspective:500px}.metric>div{min-width:0;position:relative;z-index:1}.metric .icon-tile{width:47px;height:47px;border-radius:14px}.metric .metric-label{display:flex;align-items:center;gap:6px;font-weight:700;font-size:.9rem;white-space:nowrap}.metric-label .icon{width:14px;height:14px;opacity:.7}.metric strong{display:block;font-size:clamp(19px,1.85vw,31px);line-height:1.2;font-weight:750;letter-spacing:-.045em;margin:7px 0 8px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric small{display:block;font-size:.73rem;line-height:1.4;color:inherit;opacity:.85}.metric::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at var(--lx,15%) var(--ly,5%),#ffffff32,transparent 65%);pointer-events:none;z-index:-1}.tilt{transform:perspective(650px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .42s var(--spring),box-shadow .4s,background .65s,border-color .65s}.tilt:hover{transform:perspective(650px) translateY(-4px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));box-shadow:0 9px 20px var(--shadow-deep),inset 0 1px 2px var(--highlight)}.wave{position:absolute;width:52%;height:52%;right:0;bottom:0;pointer-events:none;opacity:.48;z-index:-1;fill:#7ad5a34b;stroke:#9fe8bc;stroke-width:.8;animation:wave-float 7s ease-in-out infinite;transform-origin:bottom right}.wave path+path{fill:#a8ebc236;stroke-width:.5}.document-panel{min-height:552px;isolation:isolate;padding:16px 12px 14px;border:2px solid var(--rim);box-shadow:inset 0 0 0 3px var(--line),inset 0 2px 6px var(--highlight),0 9px 14px var(--shadow-deep);border-radius:28px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.hero-ribbon{position:absolute;inset:0 0 auto;height:142px;background:radial-gradient(ellipse at 85% 15%,#8fce9d66,transparent 70%),linear-gradient(112deg,transparent 35%,#2a816a27 68%,#b1c88e66);z-index:-1;clip-path:polygon(0 0,100% 0,100% 89%,90% 85%,80% 72%,63% 50%,52% 62%,36% 31%,0 70%);animation:ribbon 7s ease-in-out infinite}.document-header{display:flex;align-items:center;gap:15px;position:relative;padding:6px 12px 12px;min-height:86px}.document-header>.icon-tile{width:62px;height:62px;border-radius:18px}.document-header>.icon-tile .icon{width:35px;height:35px}.doc-title-line{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.document-header h2{font-size:clamp(21px,1.78vw,30px);line-height:1.15}.document-header p{margin-top:5px;font-size:.86rem;color:var(--ink);line-height:1.45}.document-header>div{flex:1;min-width:0}.orb-stage{flex:none;width:148px;height:94px;background:none;position:relative;isolation:isolate;display:grid;place-items:center;margin:-15px 4px 0}.orbit-ring{width:136px;height:36px;border:1px solid #b9ffe2;box-shadow:0 0 8px #5ff8c7,inset 0 0 9px #d0ffe5;position:absolute;border-radius:50%;bottom:0;z-index:-1;transform:rotate(-8deg);animation:orbit-glow 3s ease-in-out infinite}.orbit-ring.second{width:165px;height:45px;bottom:-4px;border-color:#f3e7b2;animation-delay:-1s}.document-body{display:grid;grid-template-columns:minmax(150px,.91fr) minmax(160px,1.08fr) minmax(82px,.73fr) minmax(230px,1.42fr);gap:10px;align-items:stretch;padding:4px 0;flex:1;min-height:365px}.upload-col{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:9px}.drop{padding:14px 7px 12px;text-align:center;position:relative;display:flex;align-items:center;flex-direction:column;gap:7px;min-height:185px;justify-content:center;isolation:isolate}.drop:before{content:'';position:absolute;inset:6px;border:1px dashed color-mix(in srgb,var(--accent) 52%,var(--line));border-radius:12px;pointer-events:none}.drop.dragging{border-color:var(--accent);box-shadow:inset 0 0 20px #57d99c63}.drop .upload-icon{width:42px;height:42px;color:var(--accent);margin-bottom:2px;animation:float-upload 3.5s ease-in-out infinite}.drop h3{font-size:1rem}.drop p{font-size:.77rem;color:var(--muted);line-height:1.35}.drop .button{padding:8px 20px;border-radius:16px;margin-top:3px}.drop small{font-size:.62rem;color:var(--muted);max-width:98%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-label{text-align:center;font-size:.76rem;font-weight:700}.source-buttons{display:flex;gap:5px;justify-content:center}.source-buttons .button{flex:1;padding:6px 4px;font-size:.68rem;gap:3px;border-radius:10px}.source-buttons .icon{width:13px;height:13px;color:var(--gold)}.supported{padding:10px 9px;flex:1}.supported h4{font-size:.82rem;margin-bottom:7px;display:flex;gap:4px;align-items:center}.supported h4 .icon{width:13px;height:13px}.supported>div{display:flex;align-items:flex-start;gap:5px;margin:5px 0;font-size:.72rem;line-height:1.3}.supported .icon{width:13px;height:13px;color:var(--accent)}.scanner{border-radius:22px;padding:8px;min-width:0;display:flex;flex-direction:column;box-shadow:inset 0 0 0 2px var(--line),inset 0 2px 2px var(--highlight),0 7px 11px var(--shadow-deep)}.scanner-head{display:flex;justify-content:space-between;gap:4px;align-items:center;padding:2px 2px 8px;min-width:0;font-size:.85rem}.scanner-head>span:first-child{display:flex;gap:4px;align-items:center;min-width:0}.scanner-head b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scanner-head .icon{width:20px;height:20px;color:var(--gold)}.scanner-head .pill{font-size:.63rem;padding:4px 5px}.document-frame{position:relative;border-radius:12px;border:1px solid #c1b092;min-height:277px;flex:1;background:#dfdfd7;overflow:hidden;isolation:isolate;box-shadow:inset 0 0 0 4px #bba17f,0 2px 8px #3128185c,0 0 14px #b5a16e35}.paper{background:linear-gradient(115deg,#f5f5ee,#fff 34%,#e4e7de);color:#222c29;position:absolute;inset:4px;padding:7px 10px;display:flex;flex-direction:column;text-align:center;overflow:hidden;border-radius:7px;font-family:Arial,sans-serif;box-shadow:inset 0 0 14px #727a6d33}.paper-emblem .icon{width:25px;height:25px;color:#4e5e54;stroke-width:1.25}.paper-head{font-size:clamp(6px,.49vw,8px);font-weight:700;line-height:1.2;margin:1px 0 5px}.paper-heading{font-size:clamp(11px,.91vw,16px);letter-spacing:.05em;line-height:1.2}.paper>small{font-size:clamp(6px,.49vw,8px);line-height:1.3;margin:2px 0 6px}.paper-section{background:#cdd5cb;border-top:1px solid #aeb8aa;font-size:clamp(6px,.55vw,9px);text-align:left;font-weight:700;padding:3px 2px;margin:3px 0 1px}.paper-row{display:flex;justify-content:space-between;align-items:center;gap:3px;font-size:clamp(6px,.49vw,8px);padding:4px 1px;border-bottom:1px solid #b7c1b5;line-height:1.2;text-align:left}.paper-row span{text-align:right;max-width:69%;overflow-wrap:anywhere}.paper-row.faded{height:14px}.paper-row i{height:3px;background:#b3bdb1;border-radius:1px}.paper-watermark{font-size:7px;letter-spacing:.11em;color:#6e776b;margin:auto 0 0;padding-top:5px}.corner{position:absolute;width:20px;height:20px;border:3px solid #b48d4e;box-shadow:0 0 3px #ffefbe,inset 0 0 2px #fff9de;z-index:3;pointer-events:none}.tl{top:2px;left:2px;border-right:0;border-bottom:0;border-radius:10px 0 0 0}.tr{top:2px;right:2px;border-left:0;border-bottom:0;border-radius:0 10px 0 0}.bl{bottom:2px;left:2px;border-right:0;border-top:0;border-radius:0 0 0 10px}.br{bottom:2px;right:2px;border-left:0;border-top:0;border-radius:0 0 10px 0}.scan-beam{position:absolute;left:0;right:0;top:0;height:2px;background:#eafff4;box-shadow:0 0 4px 2px #85ffcf,0 0 14px 5px #1bef9b,0 0 38px 12px #36ffae74;z-index:4;opacity:.62;transform:translateY(155px);animation:scan-idle 5s ease-in-out infinite;pointer-events:none}.scan-beam:before{content:'';position:absolute;bottom:2px;left:0;right:0;height:46px;background:linear-gradient(transparent,#3effb62b)}.processing .scan-beam{animation:scan-full 1.95s linear infinite;opacity:1}.scanner-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 2px 0;font-size:.66rem;color:var(--muted)}.text-btn{display:flex;gap:4px;align-items:center;background:none;color:var(--accent);font-size:.73rem;font-weight:700;padding:2px}.text-btn .icon{width:13px;height:13px}#preview{position:absolute;inset:5px;background:#f5f4ee;color:#22312c;display:grid;place-items:center;overflow:hidden;border-radius:6px}#preview img{width:100%;height:100%;object-fit:contain}.local-file{padding:13px;text-align:center;overflow-wrap:anywhere;display:flex;flex-direction:column;align-items:center;gap:8px}.local-file .icon{width:44px;height:44px;color:#17744d}.local-file small{font-size:.73rem}.local-file p{font-size:.8rem}.pipeline{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;isolation:isolate}.pipeline:before{content:'';position:absolute;inset:15% -12%;background:radial-gradient(ellipse at 38% 50%,#25e4a633,transparent 70%);z-index:-1;pointer-events:none;animation:glow 3s ease-in-out infinite}.flow-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;filter:drop-shadow(0 0 3px #31cd9d)}.flow-track{fill:none;stroke:#4dcc9e;stroke-width:1.1;opacity:.5}.flow-moving{fill:none;stroke:#9cffe3;stroke-width:2.1;stroke-dasharray:2 12;stroke-linecap:round;animation:flow 2.6s linear infinite;filter:drop-shadow(0 0 4px #57ffbb)}.processing .flow-moving{animation-duration:.75s;stroke-width:2.5}.extract-chip{width:clamp(64px,5.2vw,95px);height:clamp(71px,6vw,96px);border-radius:20px;background:radial-gradient(ellipse at 14% 4%,#8cffe386,transparent 55%),linear-gradient(155deg,#139674,#004436);color:#edfff5;border:1px solid #e3fff5;box-shadow:inset 0 0 0 1px #a3ffda40,0 0 12px #1fffad75,0 0 30px #35efac52,0 5px 8px #174d3b58;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin-right:25%;text-align:center;animation:chip 3.2s ease-in-out infinite}.extract-chip .icon{width:29px;height:29px;fill:#baffe7;stroke:#baffe7}.extract-chip b{font-size:clamp(8px,.7vw,12px);line-height:1.2}.flow-nodes{position:absolute;right:0;top:7%;bottom:7%;display:flex;flex-direction:column;justify-content:space-between}.flow-node{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;color:var(--mint-text);background:linear-gradient(145deg,var(--mint),var(--mint-bottom));border:1px solid var(--rim);box-shadow:inset 0 2px 2px var(--highlight),0 4px 9px var(--shadow),0 0 12px #47e5a34d;animation:node 3s ease-in-out infinite;animation-delay:calc(var(--i)*-.43s)}.flow-node .icon{width:22px;height:22px}.results{min-width:0;display:flex;flex-direction:column;gap:9px;padding:9px;border-radius:22px;box-shadow:inset 0 0 0 2px var(--line),inset 0 2px 2px var(--highlight),0 7px 11px var(--shadow-deep)}.result-head{display:flex;gap:6px;align-items:center;padding:2px 2px 4px;min-width:0}.result-head h3{font-size:clamp(12px,1.03vw,17px);flex:1;letter-spacing:-.02em}.result-head .pill{font-size:.65rem;padding:4px 6px}.check-disc{width:24px;height:24px;border:1px solid var(--rim);border-radius:50%;display:grid;place-items:center;flex:none;background:linear-gradient(140deg,var(--surface-top),var(--surface-bottom));box-shadow:0 2px 4px var(--shadow),inset 0 1px 2px var(--highlight)}.result-head .check-disc,.complete .step-dot,.done .check-disc{background:linear-gradient(145deg,#43c993,#046f4d);border-color:#a8efd1;color:#effff5;box-shadow:inset 0 1px 2px #c2ffe8,0 2px 5px #195c3c65}.check-disc .icon{width:16px;height:16px;stroke-width:2.2}#fields{display:flex;flex-direction:column;flex:1;justify-content:space-evenly;min-height:215px;border-radius:12px;border:1px solid var(--line);overflow:hidden;background:linear-gradient(155deg,var(--well),var(--surface));box-shadow:inset 0 1px 4px var(--shadow)}.data-row{min-height:35px;flex:1;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 6px;border-bottom:1px solid var(--line);transition:opacity .45s,transform .55s var(--spring),background .4s}.data-row:last-child{border-bottom:0}.data-row>span{display:flex;align-items:center;gap:7px;min-width:0;flex:1}.data-row .icon{color:var(--gold);width:18px;height:18px}.data-row b{font-size:clamp(9px,.76vw,12px);line-height:1.25}.field-value{font-size:clamp(9px,.75vw,12px);font-weight:700;line-height:1.25;background:none;text-align:right;overflow-wrap:anywhere;max-width:55%;padding:3px 2px}.field-value:hover{color:var(--accent)}.field-value.regime-value{background:var(--mint);color:var(--mint-text);border-radius:14px;padding:4px 7px;border:1px solid var(--line);font-size:.68rem}.data-row.awaiting{opacity:.24;transform:translateX(-8px);pointer-events:none}.data-row:not(.awaiting){animation:row-reveal .5s var(--ease) both}.refund{isolation:isolate;overflow:hidden;border-radius:15px;display:flex;align-items:center;gap:10px;padding:12px 9px;min-height:80px}.refund-icon{width:43px;height:43px;border:2px solid var(--accent);border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 1px 3px var(--highlight),0 0 7px #7bdba953;flex:none}.refund-icon .icon{width:26px;height:26px}.refund b{display:block;font-size:.85rem}.refund strong{display:block;font-size:clamp(20px,1.85vw,30px);font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:-.04em;margin:5px 0}.refund small{display:block;font-size:.65rem}.timeline{display:flex;align-items:center;gap:15px;padding:18px 8px 2px}.steps{flex:1;display:flex;justify-content:space-between;position:relative;align-items:flex-start;isolation:isolate}.step-track{position:absolute;left:9%;right:9%;height:3px;top:9px;background:var(--line);border-radius:4px;box-shadow:inset 0 1px 2px var(--shadow);z-index:-1;overflow:hidden}.step-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#086f4d,#51e7a9);box-shadow:0 0 8px #5bffc0;transition:width .8s var(--ease)}.step{flex:1;text-align:center;display:flex;align-items:center;flex-direction:column;gap:3px;min-width:0}.step-dot{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--surface);border:1px solid var(--rim);box-shadow:inset 1px 2px 4px var(--shadow),0 1px 2px var(--shadow);color:transparent;transition:background .4s,box-shadow .4s,transform .4s var(--spring)}.step-dot .icon{width:15px;height:15px;stroke-width:2.3}.step.current .step-dot{border:2px solid #baffdf;background:#1a9b70;color:#edfff4;box-shadow:0 0 12px #2dffad;transform:scale(1.12);animation:step-pulse 1.5s infinite}.step b{font-size:.76rem;line-height:1.2;margin-top:2px}.step small{font-size:.65rem;line-height:1.2;color:var(--muted)}.use-btn{border-radius:16px;font-size:.77rem;padding:10px 12px;flex:none}.use-btn .icon{order:2;width:15px;height:15px}.right-rail{display:flex;flex-direction:column;gap:18px;min-width:0}.rail-card{padding:12px;min-width:0;border-radius:24px}.panel-title{display:flex;align-items:center;gap:9px;margin-bottom:12px;min-width:0}.panel-title h3{font-size:clamp(12px,1.12vw,17px);line-height:1.15;flex:1;letter-spacing:-.02em}.panel-title .bare{width:21px}.calendar{padding:6px 6px 10px;box-shadow:inset 0 1px 4px var(--shadow)}.calendar-month{display:flex;align-items:center;justify-content:space-between;font-size:.88rem;margin:2px 0 6px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;align-items:center}.calendar-grid>span{font-size:.62rem;color:var(--muted)}.day{background:none;border-radius:8px;min-height:28px;padding:2px;min-width:0;font-size:.8rem;font-weight:650}.day:hover{background:var(--mint);color:var(--mint-text)}.day.muted{color:var(--muted);font-weight:400}.day.marked{background:linear-gradient(145deg,#218b65,#064c37);color:white;border:1px solid #a0e7c0;box-shadow:0 2px 4px var(--shadow),inset 0 1px 2px #bdffe5}.reminders{display:flex;flex-direction:column;gap:2px;margin-top:10px;background:linear-gradient(145deg,var(--surface-top),var(--well));border:1px solid var(--line);border-radius:14px;padding:4px}.reminder{display:flex;align-items:center;gap:6px;background:none;border-bottom:1px solid var(--line);padding:10px 3px;text-align:left}.reminder:last-child{border-bottom:0}.reminder:hover{background:var(--mint);color:var(--mint-text);border-radius:9px}.status-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#979d99;border:1px solid #fff8;box-shadow:0 2px 3px var(--shadow)}.status-dot.green{background:linear-gradient(#4debb4,#007349)}.status-dot.gold{background:linear-gradient(#f4d981,#c68a17)}.reminder span{flex:1;min-width:0}.reminder b{display:block;font-size:.78rem;line-height:1.2}.reminder small{display:block;color:var(--muted);font-size:.64rem;margin-top:4px;line-height:1.25}.reminder .pill{font-size:.61rem;font-style:normal;padding:4px 5px}.journey{flex:1;min-height:245px}.journey-list{padding:4px 5px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--surface-top),var(--well));box-shadow:inset 0 1px 3px var(--shadow)}.journey-row{width:100%;text-align:left;display:flex;align-items:center;gap:10px;background:none;border-bottom:1px solid var(--line);padding:10px 4px;font-size:.82rem}.journey-row:last-child{border:0}.journey-row:hover{background:var(--mint);color:var(--mint-text);border-radius:8px}.journey-row .check-disc{width:22px;height:22px}.journey-row[aria-disabled=true]{cursor:help}.quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:18px auto 12px;padding:0 25px;max-width:1920px}.quick{display:flex;align-items:center;text-align:left;padding:10px 12px;gap:11px;min-height:69px;border-radius:23px;min-width:0}.quick .icon-tile{width:44px;height:44px;border-radius:14px}.quick .icon-tile .icon{width:23px;height:23px}.quick>span:nth-child(2){flex:1;min-width:0}.quick b{display:block;font-size:clamp(11px,.91vw,15px);line-height:1.22}.quick small{font-size:.72rem;display:block;color:inherit;opacity:.8;line-height:1.25;margin-top:3px}.quick .end{width:17px;height:17px}.dock{display:flex;justify-content:center;align-items:center;gap:6px;position:sticky;bottom:9px;z-index:6;width:max-content;max-width:calc(100% - 20px);margin:14px auto 14px;padding:6px 8px;background:linear-gradient(145deg,#27594cec,#102b25ed);backdrop-filter:blur(16px) saturate(1.3);border:1px solid #bca976;border-radius:30px;box-shadow:inset 0 1px 2px #d2ffe65b,0 8px 20px var(--shadow-deep);color:#f4f5e7}.dock-btn{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:22px;background:none;color:inherit;font-size:.78rem;transform:translate(var(--mx,0),var(--my,0));border:1px solid transparent;white-space:nowrap}.dock-btn .icon{width:19px;height:19px}.dock-btn.active{background:linear-gradient(155deg,#f8f1df,#d6c7ab);color:#172f26;border-color:#f6e4bb;box-shadow:0 2px 7px #0007,inset 0 1px 2px #fff}.dock-btn:hover{transform:translate(var(--mx,0),calc(var(--my,0px) - 5px)) scale(1.08);background:#4a8e70}.dock-btn.active:hover{background:#f4ead4}.demo-label{display:flex;align-items:center;gap:6px}.demo-label i{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 8px #41dca1}footer{display:flex;justify-content:space-between;gap:10px;margin:0 auto;padding:0 25px;max-width:1920px;color:var(--muted);font-size:.73rem}.theme-wash{position:fixed;inset:0;background:radial-gradient(circle at 92% 7%,#c5ffde,transparent 70%);pointer-events:none;z-index:60}.workspace{min-height:610px}.workspace-card,.chart-panel,.twin-panel{padding:clamp(20px,3vw,40px);min-height:450px;max-width:1250px;margin:0 auto}.workspace h2,.modal h2{font-size:clamp(24px,2.5vw,38px);margin:5px 0 12px}.workspace p,.modal p{color:var(--muted);max-width:850px;margin:0 0 16px}.workspace .document-panel{min-height:580px}.eyebrow{font-size:.73rem;letter-spacing:.12em;font-weight:750;color:var(--accent)}.workspace .journey-list,.workspace .reminders,.workspace #calendar{max-width:650px;margin:18px 0}.workspace .calendar-grid .day{min-height:38px}.workspace .journey-row{font-size:1rem;padding:16px}.workspace .reminder{padding:14px}.workspace .reminder b{font-size:1rem}.workspace .reminder small{font-size:.85rem}.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.chart-panel{min-height:390px}.chart-total{display:flex;flex-direction:column;margin:8px 0 22px}.chart-total strong{font-size:clamp(25px,3vw,43px);font-variant-numeric:tabular-nums;color:var(--accent);letter-spacing:-.04em}.chart-total span,.chart-legend{color:var(--muted);font-size:.85rem}.chart-grid{height:240px;display:flex;align-items:stretch;gap:8px;padding:18px 10px 27px;border-radius:18px;background:repeating-linear-gradient(0deg,transparent 0,transparent 48px,var(--line) 49px,var(--line) 50px),linear-gradient(145deg,var(--well),var(--surface));box-shadow:inset 3px 4px 9px var(--shadow),inset -2px -2px 4px var(--highlight)}.bar-group{flex:1;min-width:0;position:relative;display:flex;align-items:flex-end;gap:3px;justify-content:center;isolation:isolate}.bar-group small{position:absolute;bottom:-20px;color:var(--muted)}.bar{height:var(--h);width:44%;max-width:27px;border-radius:8px 8px 4px 4px;position:relative;background:linear-gradient(90deg,#07583e,#5ed5a5 42%,#0d895e 70%,#034833);border:1px solid #a6d9b1;box-shadow:inset 1px 1px 2px #d1ffe6a0,inset -2px 0 2px #003c2c66,3px 4px 4px var(--shadow);animation:bar-rise .85s var(--ease) both;animation-delay:calc(var(--i)*.045s);transform-origin:bottom}.bar.deduction{background:linear-gradient(90deg,#665034,#d8bd86 45%,#846b41);border-color:#e2d1a4}.bar:hover,.bar:focus-visible{filter:brightness(1.2);z-index:5;transform:scaleX(1.07)}.bar:hover:after,.bar:focus-visible:after{content:attr(data-tip);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:var(--surface);color:var(--ink);border:1px solid var(--rim);padding:6px 8px;border-radius:9px;font-size:.72rem;white-space:nowrap;box-shadow:0 4px 8px var(--shadow-deep);pointer-events:none}.chart-legend{display:flex;gap:17px;margin-top:14px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{width:10px;height:10px;background:#0f9e71;border-radius:3px}.chart-legend span:nth-child(2) i{background:#b08e51}#chart-detail{margin-top:12px}.twin-graph{height:330px;position:relative;background:radial-gradient(ellipse at center,#31cc9f1e,transparent 64%),var(--well);border-radius:22px;box-shadow:inset 3px 4px 10px var(--shadow);margin:20px 0;overflow:hidden}.twin-graph>svg{position:absolute;inset:0;width:100%;height:100%}.twin-node,.twin-core{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 18px;border-radius:17px;gap:4px;white-space:nowrap}.twin-node strong{font-size:1.25rem;color:var(--accent)}.twin-core{left:50%;top:50%;background:none;color:var(--accent)}.twin-node:hover{box-shadow:0 0 18px #21cb9166;transform:translate(-50%,-50%) scale(1.05)}.info-line{padding:15px;color:var(--muted);font-size:.9rem;line-height:1.6}.year-control{display:flex;align-items:center;justify-content:space-between;max-width:700px;margin:15px auto}.year-control strong{font-size:1.4rem}.year-labels{display:flex;justify-content:space-between;color:var(--muted);margin:3px 0 20px}input[type=range]{width:100%;accent-color:var(--accent);margin:12px 0;cursor:pointer}.workspace label{display:block;margin:14px 0}.scenario{padding:20px;margin:10px 0 20px;display:flex;flex-direction:column;max-width:600px}.scenario strong{font-size:2rem;color:var(--accent);font-variant-numeric:tabular-nums}.ai-workspace{text-align:center}.ai-workspace p{margin-left:auto;margin-right:auto}.assistant-hero{height:120px;display:grid;place-items:center}.command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px;margin:20px auto}.command-grid .button{padding:15px;white-space:normal}.ai-workspace .action-row{max-width:720px;margin:12px auto}.ai-workspace .action-row input{flex:1;min-width:0}.ai-workspace #answer{text-align:left;max-width:720px;margin:0 auto}.settings-list{max-width:650px;margin:20px 0;display:flex;flex-direction:column;gap:8px}.setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid var(--line);background:var(--well);box-shadow:inset 0 1px 3px var(--shadow);border-radius:14px;text-align:left}.switch{display:block;width:44px;height:24px;border-radius:20px;background:var(--line);box-shadow:inset 1px 2px 4px var(--shadow);padding:3px}.switch:before{content:'';display:block;width:18px;height:18px;border-radius:50%;background:var(--surface-top);box-shadow:0 2px 4px var(--shadow);transition:transform .35s var(--spring)}.switch.on{background:#15865b}.switch.on:before{transform:translateX(20px)}.workspace-card>.button{margin-right:8px;margin-top:8px}.focus-mode .right-rail,.focus-mode .quick-actions,.focus-mode .tagline{display:none}.focus-mode .app-layout{grid-template-columns:96px minmax(0,1fr)}.focus-mode .hero-ribbon{animation:none}.focus-mode .orb,.focus-mode .scan-beam,.focus-mode .flow-moving,.focus-mode .flow-node,.focus-mode .wave,.focus-mode .extract-chip,.focus-mode .drop .upload-icon{animation-play-state:paused}.focus-mode .processing .scan-beam,.focus-mode .processing .flow-moving{animation-play-state:running}.modal-open{overflow:hidden}.backdrop{position:fixed;inset:0;background:#02161080;backdrop-filter:blur(8px);z-index:40;display:grid;place-items:center;padding:20px;animation:fade-in .2s both}.modal{width:min(650px,100%);max-height:90vh;overflow:auto;border-radius:25px;padding:24px;box-shadow:inset 0 2px 2px var(--highlight),0 24px 80px #0006}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.modal-head h2{font-size:clamp(23px,2.1vw,31px);margin:0}.review-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.review-fields label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:.83rem}input:not([type=range]):not([type=checkbox]):not([type=file]),select{background:var(--well);border:1px solid var(--line);border-radius:12px;padding:10px 12px;box-shadow:inset 1px 2px 5px var(--shadow);min-width:0}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;flex:none}.confirm-line{display:flex;align-items:center;gap:9px;font-size:.85rem;margin-top:18px}.command-input{width:100%;margin:8px 0 14px}.search-results{display:flex;flex-direction:column;gap:5px;max-height:52vh;overflow:auto}.command-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--well);border:1px solid var(--line);border-radius:12px;text-align:left}.command-item span{flex:1}.command-item:hover{background:var(--mint);color:var(--mint-text)}#toasts{position:fixed;top:95px;right:20px;z-index:80;display:flex;flex-direction:column;gap:9px;max-width:min(400px,calc(100% - 40px));pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:9px;padding:10px 13px;animation:toast-in .48s var(--spring) both;border-radius:16px;font-size:.85rem}.toast>svg{color:var(--accent)}.toast>span{flex:1}.intro{position:fixed;inset:0;background:radial-gradient(ellipse at center,#226e50,#051b15 70%);z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#fff;pointer-events:none}.intro h1{font-family:Arial,sans-serif;font-size:52px;letter-spacing:-.06em}.intro h1 em{color:#8effcd;font-style:normal}.intro small{letter-spacing:.35em}.intro .hero-orb{width:125px;height:125px}
@keyframes orb-breathe{0%,100%{filter:brightness(.97);scale:1}50%{filter:brightness(1.17);scale:1.035}}@keyframes orb-inner{0%,100%{transform:rotate(-8deg) scale(.95)}50%{transform:rotate(8deg) scale(1.08)}}@keyframes hover-orb{0%,100%{translate:0 0}50%{translate:0 -6px}}@keyframes orbit-glow{0%,100%{opacity:.65;scale:.94}50%{opacity:1;scale:1.04}}@keyframes wave-float{0%,100%{transform:scale(1)}50%{transform:scale(1.1,1.16)}}@keyframes ribbon{0%,100%{transform:translateX(0)}50%{transform:translateX(1%)}}@keyframes float-upload{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes scan-idle{0%,100%{top:18%;transform:none}50%{top:83%;transform:none}}@keyframes scan-full{from{top:1%;transform:none}to{top:98%;transform:none}}@keyframes flow{to{stroke-dashoffset:-70}}@keyframes glow{0%,100%{opacity:.5}50%{opacity:1}}@keyframes chip{0%,100%{scale:.985}50%{scale:1.025}}@keyframes node{0%,100%{translate:0 0;filter:brightness(.95)}50%{translate:0 -3px;filter:brightness(1.12)}}@keyframes step-pulse{50%{box-shadow:0 0 18px 2px #2dffad}}@keyframes row-reveal{from{opacity:.35;transform:translateX(-8px)}to{opacity:1;transform:none}}@keyframes bar-rise{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes toast-in{from{opacity:0;transform:translateX(32px) scale(.95)}to{opacity:1;transform:none}}@keyframes fade-in{from{opacity:0}to{opacity:1}}.reduced *, .reduced *::before,.reduced *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced .scan-beam{top:50%;transform:none}.reduced .data-row.awaiting{transform:none}.reduced .tilt,.reduced .nav-btn,.reduced .dock-btn{transform:none!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1700px){.document-body{min-height:400px}.document-panel{min-height:596px}.summary{min-height:140px}.app-layout{grid-template-columns:105px minmax(0,1fr) minmax(270px,17.4%)}.sidebar{min-height:650px}.document-header{min-height:96px}.rail-card{padding:15px}.drop{min-height:200px}.paper-row{padding:5px 1px}}
@media(max-width:1370px){:root{font-size:13px}.topbar{gap:10px;padding:10px 18px}.tagline{display:none}.app-layout{grid-template-columns:79px minmax(0,1fr) minmax(185px,17%);padding:14px 14px 0;gap:12px}.sidebar{padding:22px 5px 14px;min-height:580px}.summary{gap:10px;min-height:112px}.metric{gap:8px;padding:12px 9px}.metric .icon-tile{width:37px;height:37px;border-radius:11px}.metric .icon-tile .icon{width:22px;height:22px}.document-panel{padding:11px 9px;min-height:520px}.document-header{gap:10px;padding:7px 8px 9px}.document-header>.icon-tile{width:49px;height:49px}.orb-stage{width:115px;height:83px}.hero-orb{width:74px;height:74px}.orbit-ring{width:104px;height:28px}.orbit-ring.second{width:125px;height:35px}.document-body{gap:7px;grid-template-columns:minmax(124px,.91fr) minmax(140px,1.08fr) minmax(62px,.65fr) minmax(185px,1.42fr)}.flow-node{width:31px;height:31px;border-radius:9px}.flow-node .icon{width:18px;height:18px}.extract-chip{width:58px;height:71px;margin-right:24%;border-radius:15px}.extract-chip .icon{width:23px;height:23px}.results,.scanner{padding:6px}.scanner-head{font-size:.77rem}.scanner-head .pill{font-size:.59rem}.result-head h3{font-size:.95rem}.result-head .pill{font-size:.6rem}.result-head .check-disc{width:20px;height:20px}.rail-card{padding:9px}.right-rail{gap:14px}.panel-title{gap:6px}.panel-title .icon-tile{width:30px;height:30px}.quick-actions{gap:10px;padding:0 14px}.quick{padding:9px;gap:8px}.quick .icon-tile{width:37px;height:37px}.quick .end{width:13px}.timeline{gap:8px;padding:13px 3px 3px}.use-btn{padding:8px 9px}.step small{font-size:.61rem}}
@media(max-width:1120px){.app-layout{grid-template-columns:78px minmax(0,1fr);gap:13px}.right-rail{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:14px}.sidebar{grid-row:span 2;max-height:none;min-height:580px;align-self:start}.summary{min-height:114px}.document-body{grid-template-columns:minmax(135px,.9fr) minmax(155px,1fr) minmax(65px,.65fr) minmax(200px,1.4fr)}.document-panel{min-height:520px}.quick-actions{grid-template-columns:repeat(3,1fr)}.assistant small{display:none}.brand-mark{width:40px}.brand-mark .icon{width:40px}.orb-stage{margin-right:5px}.paper-head,.paper>small,.paper-row{font-size:8px}.paper-section{font-size:9px}.paper-heading{font-size:15px}.data-row b,.field-value{font-size:11px}.focus-mode .app-layout,.app-layout:has(.workspace){grid-template-columns:78px minmax(0,1fr)}}
@media(max-width:820px){.topbar{flex-wrap:wrap;gap:10px;padding:11px 13px}.brand{margin-right:auto}.search{order:9;flex:1 0 100%;max-width:none;padding:10px 13px}.assistant{display:none}.icon-btn{width:35px;height:35px}.app-layout,.app-layout:has(.workspace),.focus-mode .app-layout{display:flex;flex-direction:column;padding:12px 11px 0;gap:12px}.sidebar{position:relative;top:auto;min-height:0;max-height:none;align-self:stretch;flex-direction:row;border-radius:20px;padding:6px;gap:6px;overflow:auto;scrollbar-width:none}.sidebar nav{flex-direction:row;gap:3px;width:max-content;flex:1}.nav-btn{min-width:67px;min-height:58px;font-size:.67rem;gap:3px;padding:5px}.nav-btn .icon{width:20px;height:20px}.nav-btn.more{min-height:45px;min-width:45px;width:45px}.nav-btn .orb.mini{width:24px;height:24px}.summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.greeting{grid-column:1/-1;padding:4px 3px}.greeting h1{font-size:32px}.greeting p{max-width:none}.greeting .icon{width:23px;height:23px}.metric{min-height:105px;flex-direction:column;gap:5px;padding:10px}.metric .icon-tile{width:30px;height:30px;border-radius:10px}.metric .icon-tile .icon{width:18px;height:18px}.metric .metric-label{font-size:.76rem;white-space:normal}.metric .metric-label .icon{display:none}.metric strong{font-size:clamp(17px,3.7vw,26px);margin:5px 0}.metric small{font-size:.64rem}.document-header h2{font-size:24px}.document-header p{font-size:.82rem}.orb-stage{width:82px;height:70px;margin:0}.hero-orb{width:65px;height:65px}.orbit-ring{width:74px;height:23px}.orbit-ring.second{width:88px;height:28px}.document-header>.icon-tile{width:44px;height:44px;border-radius:14px}.document-header>.icon-tile .icon{width:25px;height:25px}.document-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.upload-col{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:8px}.drop{grid-row:span 3;min-height:190px}.source-label{align-self:end}.supported{padding:9px;min-height:120px}.scanner{min-height:345px;grid-column:1}.pipeline{grid-column:2;min-height:345px;max-width:260px;width:100%;justify-self:center}.extract-chip{width:75px;height:82px}.extract-chip b{font-size:11px}.flow-node{width:36px;height:36px}.results{grid-column:1/-1;padding:12px}.result-head h3{font-size:1.15rem}.result-head .pill{font-size:.75rem}.data-row{padding:9px 11px}.data-row b,.field-value{font-size:12px}.document-header{padding:5px 4px 12px}.timeline{flex-wrap:wrap;padding:14px 0 3px;gap:14px}.steps{width:100%;flex:1 0 100%}.use-btn{margin-left:auto}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 11px}.quick{min-height:63px}.quick b{font-size:.9rem}.quick small{font-size:.7rem}.quick .end{display:none}.dock{gap:2px;padding:5px}.dock-btn{padding:8px 10px;font-size:.7rem;gap:5px}.dock-btn .icon{width:16px;height:16px}.workspace{min-height:0}.workspace-card,.chart-panel,.twin-panel{min-height:320px;padding:20px 14px}.workspace .document-panel{min-height:0}.chart-grid{gap:4px;height:200px}.twin-graph{height:280px}.twin-node{padding:8px 10px;font-size:.73rem}.twin-node strong{font-size:.85rem}.twin-core .hero-orb{width:55px;height:55px}.workspace-head{flex-wrap:wrap}.workspace .command-grid{grid-template-columns:1fr}.review-fields{grid-template-columns:1fr}.modal{padding:18px}.modal-head .icon-btn{width:33px;height:33px}footer{padding:0 11px;font-size:.65rem}}
@media(max-width:480px){.topbar{gap:7px}.brand b{font-size:23px}.brand small{font-size:8px}.brand-mark{width:35px}.brand-mark .icon{width:35px;height:35px}.brand{gap:5px}.summary{gap:7px}.metric{padding:9px 7px;border-radius:17px}.metric strong{font-size:clamp(15px,4.5vw,23px)}.metric small{font-size:.58rem}.document-panel{border-radius:23px;padding:10px 8px}.document-header{gap:7px}.document-header>.icon-tile{display:none}.document-header h2{font-size:22px}.document-header p{font-size:.79rem}.powered{font-size:.64rem;padding:3px 7px}.orb-stage{width:65px}.hero-orb{width:53px;height:53px}.orbit-ring{width:58px;height:19px}.orbit-ring.second{width:70px;height:23px}.upload-col{grid-template-columns:1fr;display:flex}.drop{min-height:172px;width:100%}.supported{min-height:0;width:100%;padding:10px}.source-buttons{width:100%}.source-label{align-self:center}.scanner{min-height:300px}.document-frame{min-height:260px}.pipeline{min-height:300px}.scanner-head .pill{display:none}.paper{padding:6px}.paper-row,.paper-head,.paper>small{font-size:7px}.paper-section{font-size:7.5px}.paper-row.faded{height:10px}.paper-watermark{font-size:6px}.step b{font-size:.65rem}.step small{font-size:.56rem}.right-rail{grid-template-columns:1fr}.journey{min-height:0}.quick-actions{grid-template-columns:1fr 1fr}.quick .icon-tile{width:32px;height:32px}.quick .icon-tile .icon{width:19px;height:19px}.quick b{font-size:.8rem}.quick small{font-size:.62rem}.dock-btn{flex-direction:column;gap:3px;padding:7px 9px;font-size:.64rem}.dock-btn .icon{width:18px;height:18px}.dock{bottom:6px;width:calc(100% - 22px)}.dock-btn{flex:1}.chart-grid{gap:3px;padding:14px 5px 24px}.bar-group{gap:1px}.twin-node{padding:7px 5px}.twin-node strong{font-size:.78rem}footer{flex-direction:column}.settings-list{gap:6px}.command-grid .button{white-space:normal}.intro h1{font-size:36px}}
/* V3.1 visual and interaction refinements */
.topbar .search{max-width:none}.topbar .assistant{margin-left:auto}.hero-ribbon{clip-path:none;height:118px;background:radial-gradient(ellipse at 80% 15%,#91c9a950,transparent 72%);overflow:hidden}.hero-ribbon:before,.hero-ribbon:after{content:'';position:absolute;width:72%;height:120px;right:-6%;top:-58px;border-radius:0 0 48% 58%;background:linear-gradient(166deg,#699d8066,#d2e6a82d);border-bottom:1px solid #d8f6df8a;box-shadow:0 2px 18px #b1eac153;transform:rotate(5deg)}.hero-ribbon:after{width:55%;top:-33px;right:-7%;transform:rotate(-5deg);background:linear-gradient(160deg,#b9e1c654,#a6c89524);border-bottom:1px solid #d8f6df99}.dark .hero-ribbon:before{background:#07553e}.data-row.awaiting .field-value{position:relative;color:transparent!important;background:linear-gradient(100deg,var(--line) 15%,var(--surface-top) 45%,var(--line) 75%);background-size:200% 100%;min-width:35%;border-radius:8px;animation:shimmer 1.25s linear infinite}.data-row.awaiting{opacity:.65}.local-preview .scan-beam{animation:none;opacity:0}.local-preview .flow-moving,.local-preview .flow-node,.local-preview .extract-chip{animation-play-state:paused;opacity:.5}.bar.playing{filter:brightness(1.3);box-shadow:0 0 18px #50dca5;transform:scaleX(1.08)}.dock{position:relative;bottom:auto;z-index:5}.paper-row b{font-weight:650}.document-frame .corner{border-color:#b78a44;box-shadow:0 0 5px #e4b968,inset 0 0 2px #fff9de}.scanner,.results{background:linear-gradient(150deg,var(--surface-top),var(--surface) 30%,var(--surface-bottom));}.document-panel{background:radial-gradient(ellipse at 66% 47%,color-mix(in srgb,var(--mint) 35%,transparent),transparent 57%),linear-gradient(145deg,var(--surface-top),var(--surface) 55%,var(--surface-bottom))}.material:has(.chart-grid){overflow:visible}.calendar-grid .day{min-height:23px}.calendar-grid{gap:2px}.calendar-month{margin:0 0 3px}.rail-card{padding:10px}.journey{flex:0 1 auto;min-height:0}.right-rail{justify-content:space-between}.metric:not(.mint):not(.emerald) .wave{display:none}.data-row{background:linear-gradient(155deg,color-mix(in srgb,var(--surface-top) 45%,transparent),transparent)}.flow-track{stroke-width:1.2}.flow-moving{stroke-dasharray:1 7;stroke-width:2.3}.document-body .flow-nodes .flow-node{box-shadow:inset 0 2px 2px var(--highlight),0 4px 9px var(--shadow),0 0 15px #47e5a34d}.document-header .hero-orb{border:2px solid #c3ffe9}.paper-section{padding:3px 4px}.scanner-head{padding-bottom:6px}.journey-row{padding:9px 4px}.right-rail .reminder{padding:7px 3px}.panel-title{margin-bottom:8px}.quick-actions{margin-top:13px;margin-bottom:10px}.quick{min-height:64px}.dock{margin:10px auto 10px}.nav-btn{min-height:65px}.sidebar{min-height:590px}.document-panel{min-height:540px}.document-header{min-height:80px}.document-body{min-height:350px}.drop{min-height:173px}.step small{font-size:.65rem}.timeline{padding-top:12px}.result-head h3{line-height:1.12}.day{font-size:.74rem}#toasts{max-width:340px}.rail-card .panel-title .icon-tile{width:32px;height:32px}.right-rail .reminder .pill{font-size:.57rem}.right-rail .reminder b{font-size:.76rem}.right-rail .reminder small{font-size:.62rem}.rail-card .reminders{margin-top:7px}
:root[data-theme=dark] .hero-ribbon{background:radial-gradient(ellipse at 82% 22%,#12bd7766,transparent 65%)}:root[data-theme=dark] .hero-ribbon:before{background:linear-gradient(155deg,#07392e,#09774d60);border-bottom-color:#50e8ad90;box-shadow:0 4px 18px #1cff8a21}:root[data-theme=dark] .hero-ribbon:after{background:linear-gradient(155deg,#033127,#12643b66);border-bottom-color:#61eeb8a0;box-shadow:0 0 19px #2cff9c2e}:root[data-theme=dark] .document-panel{box-shadow:inset 0 0 0 3px #495b4d55,inset 0 2px 6px #e4ffc858,0 9px 14px #0008;border-color:#729184}:root[data-theme=dark] .scanner{border-color:#e8cb8e;box-shadow:inset 0 0 0 2px #7d6f4c88,0 0 13px #e9d29928,0 7px 11px #0009}:root[data-theme=dark] .orb{box-shadow:inset 2px 2px 5px #c6fff8ad,inset -5px -7px 12px #0026228c,0 0 19px #29dcb9ac,0 4px 9px var(--shadow)}
@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:1450px) and (max-height:1050px){.topbar{min-height:78px}.app-layout{gap:16px;padding-top:14px;grid-template-columns:99px minmax(0,1fr) minmax(235px,17%)}.summary{min-height:124px}.dashboard{gap:15px}.sidebar{min-height:0;padding-top:22px;max-height:none}.sidebar nav{gap:5px}.nav-btn{min-height:60px}.document-panel{min-height:540px}.document-header{min-height:81px}.document-body{min-height:350px}.right-rail{gap:12px}.right-rail .rail-card{padding:10px}.calendar-grid .day{min-height:21px}.right-rail .journey-row{padding:8px 3px}.quick-actions{margin-top:12px}.dock{margin:7px auto 7px}.quick{min-height:63px}.dock-btn{padding:7px 13px}.app-layout:has(.workspace),.focus-mode .app-layout{grid-template-columns:99px minmax(0,1fr)}}
@media(max-width:820px){.topbar .search{max-width:none}.document-panel{min-height:0}.document-header{min-height:80px}.sidebar{min-height:0}.nav-btn{min-height:54px}.right-rail{justify-content:stretch}.dock{position:sticky;bottom:6px;margin:9px auto}.calendar-grid .day{min-height:29px}.step small{font-size:.56rem}.quick{min-height:63px}.document-body{min-height:0}}
