:root{--ink:#111718;--muted:#697274;--surface:#f1f4f4;--white:#fff;--blue:#0b88b8;--cyan:#55cee4;--red:#e83d48;--yellow:#f6ca35;--green:#15966a;--shadow:0 18px 55px rgba(17,23,24,.12);--radius:27px;--nav:78px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#e9eeee}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit}.ambient{position:fixed;border-radius:50%;filter:blur(70px);opacity:.32;pointer-events:none}.ambient-a{width:350px;height:350px;background:var(--cyan);top:-150px;left:-100px}.ambient-b{width:300px;height:300px;background:var(--yellow);bottom:-180px;right:-120px}
.app-shell{position:relative;width:100%;min-height:100dvh;background:#fafbfb;overflow:hidden}.screen{min-height:100dvh;padding:20px 18px calc(var(--nav) + 30px);animation:screen-in .3s ease}.screen.no-nav{padding-bottom:28px}.scroll{overflow:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 22px}.brand-mini{display:flex;align-items:center;gap:10px}.brand-mini img{width:116px;height:auto}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.05;letter-spacing:-.04em;margin-bottom:7px}h2{font-size:21px;letter-spacing:-.025em}h3{font-size:16px}.muted{color:var(--muted)}.tiny{font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:25px 2px 13px}.section-head h2{margin:0}.text-btn{border:0;background:transparent;text-decoration:underline;padding:6px;color:var(--ink)}
.icon-btn,.avatar{width:46px;height:46px;border-radius:50%;border:0;background:var(--surface);display:grid;place-items:center;position:relative}.avatar{background:linear-gradient(145deg,#111,#354246);color:white;font-weight:800}.icon{width:21px;height:21px;display:block}.notif-dot{position:absolute;right:1px;top:1px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:var(--red);color:#fff;font-size:10px;display:grid;place-items:center;border:2px solid #fff}
.card{background:var(--surface);border-radius:var(--radius);padding:18px}.card.white{background:#fff;border:1px solid #e5e9e9}.hero{position:relative;overflow:hidden;color:white;background:linear-gradient(135deg,#073b54,#0a8dbc 66%,#55cee4);padding:24px;min-height:190px}.hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;border:38px solid rgba(255,255,255,.10);right:-65px;bottom:-80px}.flagline{display:flex;width:58px;height:5px;overflow:hidden;border-radius:9px;margin-bottom:30px}.flagline i{flex:1}.flagline i:nth-child(1){background:#28a9df}.flagline i:nth-child(2){background:#f3cf33}.flagline i:nth-child(3){background:#e43b44}.hero h2{font-size:25px;max-width:270px;margin-bottom:10px}.hero p{font-size:13px;max-width:285px;line-height:1.5;opacity:.85}.hero .pill{position:relative;z-index:1}
.btn,.pill{border:0;border-radius:999px;background:var(--ink);color:#fff;font-weight:700;padding:14px 20px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.btn{width:100%;min-height:52px}.btn.secondary{background:#e4e9e9;color:var(--ink)}.btn.blue{background:var(--blue)}.btn.danger{background:#fee9eb;color:#b82735}.btn.small{width:auto;min-height:39px;padding:8px 14px;font-size:13px}.pill{padding:10px 14px;font-size:12px;background:rgba(10,15,16,.86)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.stat{padding:15px 12px;border-radius:21px;background:var(--surface)}.stat strong{display:block;font-size:24px;letter-spacing:-.04em}.stat span{font-size:11px;color:var(--muted)}.stat.alert strong{color:var(--red)}
.search{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:999px;padding:0 16px;margin:15px 0}.search input{border:0;background:transparent;outline:0;height:50px;width:100%}.filters,.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.chip{white-space:nowrap;border:0;border-radius:999px;background:var(--surface);padding:10px 15px;color:#5b6466;font-size:13px}.chip.active{background:var(--ink);color:#fff}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick{border:0;text-align:left;min-height:108px;padding:17px;border-radius:23px;background:var(--surface)}.quick .icon-wrap{width:37px;height:37px;border-radius:13px;background:#fff;display:grid;place-items:center;margin-bottom:12px}.quick strong{display:block;font-size:13px}
.list{display:grid;gap:11px}.mail-card,.task-card,.activity{border:0;width:100%;text-align:left;background:var(--surface);border-radius:23px;padding:17px;display:block}.mail-top,.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.mail-card h3{margin:12px 0 6px;line-height:1.25}.mail-card p{font-size:13px;margin-bottom:12px}.meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.badge{border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;background:#e1ecef;color:#176077}.badge.red{background:#fee5e8;color:#b62e3a}.badge.green{background:#daf3e9;color:#08764f}.badge.yellow{background:#fff1c4;color:#826000}.badge.dark{background:#252d2f;color:#fff}
.bottom-nav{position:fixed;z-index:20;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:440px;height:70px;border-radius:28px;background:#151b1c;display:flex;align-items:center;justify-content:space-around;padding:7px 8px;box-shadow:0 15px 40px rgba(0,0,0,.25)}.nav-btn{border:0;background:transparent;color:#aeb7b8;width:57px;height:54px;border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px}.nav-btn.active{background:#fff;color:#111}.nav-add{width:52px;height:52px;border:4px solid #394143;border-radius:50%;background:var(--cyan);color:#102023;display:grid;place-items:center}.nav-btn .icon{width:19px;height:19px}
.field{margin:14px 0}.field label{font-size:12px;font-weight:750;display:block;margin:0 0 7px 4px}.input{display:block;width:100%;border:1.5px solid transparent;background:var(--surface);border-radius:17px;min-height:50px;padding:13px 15px;outline:0}.input:focus{border-color:var(--blue);background:#fff}.input.error{border-color:var(--red)}textarea.input{min-height:105px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-grid .full{grid-column:1/-1}
.login{display:flex;flex-direction:column;justify-content:center;max-width:430px;margin:auto}.login-logo{width:min(100%,340px);height:auto;margin:8vh auto 42px}.login-card{background:#fff;border-radius:30px;padding:22px;box-shadow:var(--shadow)}.demo-access{display:grid;gap:8px;margin-top:15px}.demo-btn{border:0;background:var(--surface);border-radius:17px;padding:12px;text-align:left}.demo-btn strong,.demo-btn span{display:block}.demo-btn span{font-size:11px;color:var(--muted);margin-top:2px}
.back{border:0;background:var(--surface);width:44px;height:44px;border-radius:50%;display:grid;place-items:center}.page-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.page-title h1{font-size:24px;margin:0}.progress-steps{display:flex;gap:6px;margin:0 0 22px}.progress-steps i{height:5px;flex:1;border-radius:9px;background:#e1e5e5}.progress-steps i.on{background:var(--blue)}.dropzone{border:2px dashed #b6c1c2;border-radius:26px;min-height:230px;display:grid;place-items:center;text-align:center;padding:20px;background:linear-gradient(145deg,#f7fafa,#eaf1f2);position:relative;overflow:hidden}.scan-line{display:none;position:absolute;left:8%;width:84%;height:3px;background:var(--cyan);box-shadow:0 0 16px var(--cyan);animation:scan 1.6s infinite}.dropzone.scanning .scan-line{display:block}.progressbar{height:8px;background:#dce3e4;border-radius:8px;overflow:hidden;margin:15px 0}.progressbar span{display:block;height:100%;background:var(--blue);transition:width .3s}.ocr-box{font-family:ui-monospace,monospace;font-size:12px;line-height:1.6;background:#eef2f2;border-radius:18px;padding:16px;white-space:pre-wrap}.skeleton{height:14px;border-radius:8px;margin:10px 0;background:linear-gradient(90deg,#e2e6e6,#f7f8f8,#e2e6e6);background-size:200%;animation:shimmer 1.2s infinite}.success-mark{width:86px;height:86px;border-radius:50%;margin:30px auto 18px;background:var(--green);color:#fff;display:grid;place-items:center;animation:pop .45s}.success-mark .icon{width:42px;height:42px}.center{text-align:center}
.detail-cover{background:linear-gradient(145deg,#101a1d,#164e60);color:#fff;border-radius:30px;padding:24px;margin-bottom:13px;min-height:180px;display:flex;flex-direction:column;justify-content:space-between}.detail-cover h1{font-size:26px}.info-list{display:grid;gap:1px;overflow:hidden;border-radius:23px}.info-row{background:var(--surface);padding:14px 17px;display:flex;justify-content:space-between;gap:15px;font-size:13px}.info-row span:first-child{color:var(--muted)}.timeline{position:relative;padding-left:25px}.timeline:before{content:"";position:absolute;left:7px;top:8px;bottom:10px;width:2px;background:#d8dede}.timeline-item{position:relative;margin:0 0 19px}.timeline-item:before{content:"";position:absolute;width:10px;height:10px;border:3px solid #fff;background:var(--blue);border-radius:50%;left:-24px;top:3px}.timeline-item p{font-size:13px;margin:3px 0;color:var(--muted)}
.task-card h3{margin:10px 0 7px}.due{color:#b9323e;font-weight:700}.toggle{width:49px;height:28px;border:0;border-radius:20px;background:#c9d0d1;padding:3px;transition:.2s}.toggle:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:white;transition:.2s}.toggle.on{background:var(--green)}.toggle.on:after{transform:translateX(21px)}.setting{display:flex;align-items:center;justify-content:space-between;padding:14px 2px;border-bottom:1px solid #e7eaea}.user-card{display:flex;gap:12px;align-items:center;background:var(--surface);padding:13px;border-radius:20px}.user-card .avatar{width:42px;height:42px;flex:none}.user-card .grow{flex:1}.user-card p{margin:3px 0;font-size:12px}
.modal-backdrop{position:fixed;z-index:50;inset:0;background:rgba(7,13,14,.48);display:flex;align-items:flex-end;justify-content:center;padding:12px;animation:fade .2s}.modal{position:relative;background:#fff;width:100%;max-width:470px;border-radius:30px;padding:22px;max-height:88vh;overflow:auto;animation:sheet .3s}.modal-grip{width:44px;height:5px;background:#dce1e1;border-radius:9px;margin:-10px auto 20px}.modal-close{position:absolute;right:16px;top:13px;width:34px;height:34px;border:0;border-radius:50%;background:var(--surface);font-size:23px;line-height:1;color:var(--ink)}.modal-actions{display:flex;gap:8px;margin-top:20px}.modal-actions .btn{flex:1}.toast-root{position:fixed;z-index:80;top:max(16px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:410px}.toast{background:#131a1b;color:#fff;border-radius:17px;padding:14px 16px;box-shadow:var(--shadow);margin-bottom:8px;display:flex;align-items:center;gap:10px;animation:toast .35s}.toast.success{border-left:5px solid var(--green)}.toast.error{border-left:5px solid var(--red)}.toast.info{border-left:5px solid var(--cyan)}.empty{text-align:center;padding:45px 20px;background:var(--surface);border-radius:25px}.empty .icon{width:40px;height:40px;margin:0 auto 15px;color:#879193}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}@keyframes screen-in{from{opacity:0;transform:translateY(8px)}}@keyframes scan{0%{top:15%}50%{top:83%}100%{top:15%}}@keyframes shimmer{to{background-position:-200%}}@keyframes pop{from{transform:scale(.5);opacity:0}}@keyframes fade{from{opacity:0}}@keyframes sheet{from{transform:translateY(40px);opacity:0}}@keyframes toast{from{transform:translateY(-20px);opacity:0}}
@media(min-width:700px){body{padding:32px}.app-shell{width:430px;min-height:880px;height:calc(100vh - 64px);margin:auto;border-radius:48px;box-shadow:0 25px 90px rgba(22,35,37,.22);border:9px solid #172021}.screen{min-height:100%;height:100%;overflow-y:auto}.bottom-nav{position:absolute}.modal-backdrop{align-items:center}.ambient-a{left:10%}.ambient-b{right:10%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
