
:root{
  --blue:#1368ff;--blue2:#3158ff;--navy:#07194d;--muted:#667694;--bg:#f6f9ff;
  --line:#dce7f4;--card:#fff;--green:#12aa69;--orange:#ff7b16;--purple:#7a42e7;
  --shadow:0 9px 24px rgba(25,61,125,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--navy);background:var(--bg)}
button,input{font:inherit}
button,a{cursor:pointer}
svg.icon,.nav svg,.d-search svg,.bell svg,.top-help svg,.quick-grid svg,.upload-tabs svg,.primary svg,.secondary svg,.mi svg,.drive-box svg,.drive-big svg{width:20px;height:20px;display:block}
.primary,.secondary,.button{border:0;border-radius:9px;padding:10px 16px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.primary{background:linear-gradient(135deg,#0869f7,#2f55ff);color:#fff;box-shadow:0 8px 18px rgba(22,91,244,.18)}
.secondary,.button{background:#fff;border:1px solid #d7e1ef;color:#17356f}
.success{color:#159654}.error{color:#bf3e35}

/* ====================== LANDING ====================== */
.landing-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 78% 11%,rgba(97,164,255,.23),transparent 27%),
    radial-gradient(circle at 4% 55%,rgba(116,187,255,.20),transparent 26%),
    linear-gradient(115deg,#fbfdff 0%,#eef7ff 58%,#dceeff 100%);
}
.l-top{
  height:68px;background:rgba(255,255,255,.96);border-bottom:1px solid #e3ebf6;
  display:flex;align-items:center;justify-content:space-between;padding:0 6.6%;
}
.l-brand{display:flex;align-items:center;gap:12px;color:#102a78;text-decoration:none}
.l-brand>b{font-size:21px;letter-spacing:-.025em}
.l-logo{position:relative;width:46px;height:46px;display:block}
.l-logo i{position:absolute;background:linear-gradient(145deg,#1a60f4,#1ca9ff);border-radius:7px}
.l-logo i:nth-child(1){width:17px;height:42px;left:5px;top:2px;transform:skew(-17deg)}
.l-logo i:nth-child(2){width:17px;height:42px;right:5px;top:2px;transform:skew(17deg)}
.l-logo i:nth-child(3){width:22px;height:9px;left:12px;bottom:6px;border-radius:99px}
.google-login{border:0;border-radius:10px;padding:10px 17px;background:linear-gradient(135deg,#0969f8,#284eff);color:#fff;font-weight:900;display:flex;align-items:center;gap:8px;box-shadow:0 8px 20px rgba(23,91,245,.22)}
.google-login span{width:28px;height:28px;border-radius:50%;background:#fff;color:#4285f4;display:grid;place-items:center;font-weight:900}

.landing-stage{max-width:1600px;min-height:810px;margin:auto;position:relative;padding:34px 65px 28px}
.l-intro{width:780px;position:relative;z-index:2}
.l-pill{display:inline-flex;gap:11px;align-items:center;background:#e8f2ff;color:#2161cc;padding:8px 13px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.075em}
.l-pill b{color:#174da8}
.l-intro h1{font-size:clamp(58px,5.75vw,91px);line-height:.94;letter-spacing:-.061em;margin:22px 0 16px;color:#07184a}
.l-intro h1 em{font-style:normal;color:#1174ff}
.l-intro p{font-size:20px;color:#42577a;margin:0;line-height:1.45;max-width:760px}

.l-laptop{position:absolute;right:-142px;top:0;width:920px;height:690px;transform:rotate(-1.65deg);z-index:1;filter:drop-shadow(0 28px 30px rgba(26,54,102,.16))}
.l-screen{position:absolute;left:24px;right:24px;top:0;height:604px;background:#10192c;border:14px solid #111a2c;border-bottom-width:22px;border-radius:28px 28px 12px 12px;box-shadow:0 27px 52px rgba(27,55,104,.20);overflow:hidden;transform:perspective(1600px) rotateY(-1.6deg);transform-origin:bottom center}
.l-screen:before{content:"";position:absolute;top:-8px;left:50%;width:5px;height:5px;border-radius:50%;background:#243860;z-index:3}
.l-screen>.l-screen-top,.l-screen>.l-screen-body{transform:rotate(1.8deg);transform-origin:center center}
.l-base{position:absolute;left:-24px;right:-24px;bottom:8px;height:54px;background:linear-gradient(180deg,#dfe5eb 0,#bec9d4 34%,#eef2f5 55%,#9aa9b9 100%);clip-path:polygon(4% 0,96% 0,100% 70%,93% 100%,7% 100%,0 70%);box-shadow:0 13px 20px rgba(34,63,110,.22)}
.l-screen-top{height:50px;background:#fff;border-bottom:1px solid #e5ebf4;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:9px}
.l-screen-brand{display:flex;align-items:center;gap:7px}.mini-logo{width:18px;height:18px;border-radius:5px;background:linear-gradient(135deg,#1268ff,#26a7ff)}
.mini-period{padding:5px 8px;border-radius:6px;border:1px solid #e0e7f1;background:#fbfdff}
.l-screen-body{height:calc(100% - 50px);display:grid;grid-template-columns:142px 1fr;background:#f7faff}
.l-mini-nav{background:#fff;border-right:1px solid #e4eaf4;padding:9px;display:grid;align-content:start;gap:4px}
.l-mini-nav b{font-size:8px;padding:9px 8px;border-radius:6px;color:#51627e;display:flex;align-items:center;gap:6px}.l-mini-nav b.active{background:#e8f2ff;color:#1263f1}
.l-mini-nav svg{width:10px;height:10px}
.l-mini-main{padding:15px 17px}.l-mini-main h3{font-size:17px;margin:0 0 13px}
.l-mini-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.l-mini-kpi article{background:#fff;border:1px solid #e4eaf3;border-radius:8px;padding:8px;overflow:hidden}
.l-mini-kpi .mk{width:21px;height:21px;border-radius:50%;float:left;display:grid;place-items:center;margin-right:6px;font-size:9px;font-style:normal;font-weight:900}
.l-mini-kpi .mk.green{background:#dcf8e9;color:#13a667}.l-mini-kpi .mk.red{background:#fff0e8;color:#ee7245}.l-mini-kpi .mk.blue{background:#e7f1ff;color:#1966f5}
.l-mini-kpi small{display:block;font-size:7px;color:#65728c}.l-mini-kpi strong{display:block;font-size:12px;color:#0a1b4d;margin-top:3px}.l-mini-kpi strong.tax{color:#0c64ef}.l-mini-kpi em{display:block;font-style:normal;font-size:6px;color:#15a361}
.l-mini-grid{display:grid;grid-template-columns:1.62fr .72fr;gap:8px;margin-top:8px}
.l-mini-grid article{background:#fff;border:1px solid #e4eaf3;border-radius:9px;padding:10px;min-height:188px}
.l-mini-grid article>b{font-size:7px}
.l-mini-bars .bars{height:150px;display:flex;gap:9px;align-items:end;padding:12px 4px 0}
.l-mini-bars .bars>span{flex:1;height:var(--h);background:#3277fb;border-radius:3px 3px 0 0;position:relative}
.l-mini-bars .bars>span i{position:absolute;right:-4px;bottom:0;width:52%;height:64%;background:#bdd6ff;border-radius:2px 2px 0 0}
.l-mini-donut{display:grid;grid-template-columns:105px 1fr;align-items:center}.l-mini-donut>b{grid-column:1/-1}
.donut{width:92px;height:92px;border-radius:50%;background:conic-gradient(#2d74ff 0 40%,#36c3a0 40% 65%,#f4bd58 65% 85%,#a8b8ce 85%);display:grid;place-items:center;position:relative}
.donut:after{content:"";width:52px;height:52px;border-radius:50%;background:#fff;position:absolute}.donut span{position:relative;z-index:2;font-size:7px;font-weight:900}
.l-mini-donut ul{list-style:none;margin:0;padding:0;font-size:5.5px;line-height:1.8;color:#52637e}
.l-mini-table{margin-top:8px;background:#fff;border:1px solid #e4eaf3;border-radius:8px;padding:7px}
.l-mini-table .thead{display:flex;justify-content:space-between;font-size:7px}.l-mini-table .thead span{color:#1263ef}
.l-mini-table .tr{display:grid;grid-template-columns:88px 1fr 95px 66px;gap:6px;border-top:1px solid #edf1f6;padding:7px 0;font-size:7px}
.l-mini-table .tr em{font-style:normal;background:#dff8e9;color:#129256;border-radius:4px;padding:2px;text-align:center}

.l-process{position:absolute;left:65px;top:344px;width:1000px;display:grid;grid-template-columns:1fr 44px 1fr 44px 1fr;gap:10px;z-index:3}
.l-step{height:342px;background:#fff;border:1px solid #dbe6f4;border-radius:18px;padding:14px;box-shadow:var(--shadow)}
.l-step-title{display:flex;align-items:center;gap:10px}.l-step-title>b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#315bff;color:#fff}.l-step-title h2{font-size:18px;margin:0}
.l-arrow{display:grid;place-items:center;color:#1267ff;font-size:33px;font-weight:900}
.receipt-scene{height:263px;margin-top:12px;border-radius:13px;background:linear-gradient(135deg,#ab835d,#d8c1a0);padding:18px 20px;overflow:hidden}
.receipt-paper{height:100%;background:#f4f1e8;box-shadow:0 5px 15px #0003;transform:rotate(-3deg);padding:12px;color:#222;font-family:Arial,sans-serif;font-size:8px}
.receipt-paper>small,.receipt-paper>span{display:block}.receipt-paper>h4{text-align:center;font-size:12px;margin:8px 0}.r-meta{text-align:right;font-size:6px;margin-bottom:7px}
.receipt-paper table{width:100%;border-collapse:collapse;font-size:6px}.receipt-paper th,.receipt-paper td{border:1px solid #777;padding:4px}.r-total{text-align:right;margin-top:8px;line-height:1.45}
.recognition-card,.tax-card{height:263px;margin-top:12px;background:#fbfdff;border:1px solid #e4ebf6;border-radius:13px;padding:15px}
.rc-head{display:flex;align-items:center;gap:10px;color:#53627f}.docbox{width:42px;height:42px;border-radius:10px;background:#e7f0ff;color:#2767ee;display:grid;place-items:center}.docbox svg{width:20px;height:20px}
.rc-progress{height:11px;background:#dce7fa;border-radius:99px;margin:18px 0;position:relative}.rc-progress i{display:block;height:100%;width:87%;background:#3567f6;border-radius:99px}.rc-progress b{position:absolute;right:0;top:-24px;font-size:11px;font-weight:500}
.recognition-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;color:#3d557a}.recognition-card li span{color:#12a470}.recognition-card li.working{color:#255df3;font-weight:900}
.tax-line{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #e5ebf4}.tax-result{display:flex;gap:10px;align-items:center;background:#e8f3ff;border-radius:12px;padding:12px;margin:12px 0}.tax-result>span{font-size:30px;color:#0c67f2;font-weight:900}.tax-result small{display:block;color:#5b6b87}.tax-result strong{display:block;color:#1e5cf1;font-size:28px;margin-top:3px}.tax-ok{display:flex;align-items:center;gap:9px;background:#e5f9ed;color:#139257;border-radius:11px;padding:11px}.tax-ok>span{width:27px;height:27px;border-radius:50%;background:#15ad69;color:#fff;display:grid;place-items:center}.tax-ok small{display:block;color:#54806a}

.l-menu{position:absolute;left:108px;right:108px;top:706px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.l-menu-item{height:58px;background:#fff;border:1px solid #dfe8f5;border-radius:13px;padding:0 16px;display:flex;align-items:center;gap:12px;color:#0b1c53;box-shadow:0 5px 16px rgba(30,60,115,.04)}
.l-menu-item>b{flex:1;text-align:left;font-size:16px}.l-menu-item em{font-style:normal;font-size:24px}.mi{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-weight:900}.mi svg{width:19px;height:19px}
.mi.blue{background:#e9f2ff;color:#2467f4}.mi.purple{background:#f1e9ff;color:#8a4eff}.mi.green{background:#e4f9ef;color:#17a86b}.mi.orange{background:#fff0df;color:#f28520}.mi.gray{background:#eef2f7;color:#687790}.mi.violet{background:#f2e7ff;color:#854ce8}

/* ====================== DASHBOARD ====================== */
.dashboard-page{background:#f5f9ff}
.d-top{height:72px;background:#fff;border-bottom:1px solid #e2eaf5;display:flex;align-items:center;padding:0 28px;gap:22px;position:sticky;top:0;z-index:30}
.d-brand{width:330px;display:flex;align-items:center;gap:11px;text-decoration:none;color:#1556dc}.d-brand>b{display:block}.d-brand>span:last-child b{display:block;font-size:21px}.d-brand small{display:block;color:#75829a;font-size:11px}
.shop-logo{width:44px;height:44px;position:relative;display:block}
.shop-logo i:nth-child(1){position:absolute;width:44px;height:16px;left:0;top:0;background:linear-gradient(90deg,#f14f98 0 25%,#fff 25% 35%,#f14f98 35% 60%,#fff 60% 70%,#f14f98 70%);border-radius:5px 5px 8px 8px}
.shop-logo i:nth-child(2){position:absolute;width:34px;height:26px;left:5px;top:16px;background:#2b62ff;border-radius:3px 3px 5px 5px}
.shop-logo i:nth-child(3){position:absolute;width:9px;height:16px;left:18px;top:26px;background:#fff}.shop-logo i:nth-child(4){position:absolute;width:8px;height:10px;left:8px;top:23px;background:#fff;border-radius:2px}
.d-search{height:42px;background:#f4f7fc;border:1px solid #e0e7f2;border-radius:11px;padding:0 13px;display:flex;align-items:center;gap:8px;flex:1;max-width:610px}.d-search svg{color:#10275f}.d-search input{border:0;background:transparent;outline:0;width:100%}
.d-tools{margin-left:auto;display:flex;align-items:center;gap:11px}.bell,.top-help,.logout{border:0;background:transparent;color:#15316d;font-weight:700}.bell{position:relative;padding:8px}.bell svg{width:23px;height:23px}.bell span{position:absolute;right:0;top:-2px;background:#ed2f36;color:#fff;border-radius:50%;font-size:9px;padding:2px 5px}.top-help{display:flex;align-items:center;gap:7px}.profile{display:flex;align-items:center;gap:8px}.avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#d5e7ff,#f3f8ff);color:#1857d5;display:grid;place-items:center;font-weight:900}.profile b,.profile small{display:block}.profile small{font-size:10px;color:#7b879e}.logout{background:#eef3ff;color:#2358d8;border-radius:10px;padding:9px 12px}

.d-layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 72px)}
.d-side{background:#fff;border-right:1px solid #e1e9f4;padding:14px 12px;position:sticky;top:72px;height:calc(100vh - 72px);display:flex;flex-direction:column}
.d-side nav{display:grid;gap:4px}.nav{height:50px;border:0;background:transparent;border-radius:10px;padding:0 15px;display:flex;align-items:center;gap:12px;color:#10285f;font-weight:700;text-align:left}.nav svg{width:24px;height:24px}.nav:hover,.nav.active{background:#eaf3ff;color:#1261f5}.nav.active{box-shadow:inset 4px 0 0 #1261f5;border-radius:0 10px 10px 0}.drive-nav svg{color:#1aaa55}.d-side hr{border:0;border-top:1px solid #dfe7f3;width:100%;margin:12px 0}
.drive-box{margin-top:auto;background:#fff;border:1px solid #e1e9f5;border-radius:14px;padding:14px;box-shadow:var(--shadow)}.drive-box>div:first-child{display:flex;align-items:center;gap:8px}.drive-box svg{color:#25a044;width:28px;height:28px}.drive-box p{font-size:12px;color:#53627e}.drive-meter{height:9px;background:#e8eef7;border-radius:99px;margin:8px 0}.drive-meter i{display:block;width:14%;height:100%;background:#3987ff;border-radius:99px}.drive-box>span{display:block;color:#195ff0;font-weight:800;font-size:12px}.drive-box button{width:100%;margin-top:10px;border:1px solid #d9e3f2;background:#f8fbff;color:#1558d5;border-radius:9px;padding:9px;font-weight:800}

.d-main{padding:14px;min-width:0}.view{display:none}.view.active{display:block}
.d-hero{height:242px;border-radius:17px;overflow:hidden;border:1px solid #d8e5f5;position:relative;background:
linear-gradient(110deg,#fff9e8 0,#eaf5ff 50%,#cde5ff 100%);display:grid;grid-template-columns:1.05fr 1fr}
.hero-copy{padding:23px 28px;position:relative;z-index:2}.hero-copy h1{font-size:46px;line-height:.98;letter-spacing:-.047em;margin:0 0 10px}.hero-copy h1 em{font-style:normal;color:#2d55ff}.hero-copy p{font-size:16px;color:#3f5578;margin:0;line-height:1.45}.hero-check{display:flex;gap:16px;margin-top:14px;flex-wrap:wrap;color:#2f6d58;font-size:12px}.hero-check span{display:flex;gap:5px;align-items:center}
.hero-visual{position:relative;overflow:hidden}.hero-visual:before,.hero-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(2px)}.hero-visual:before{width:360px;height:230px;right:80px;top:25px;background:linear-gradient(135deg,#e9f1f7,#b9d4e6)}.hero-visual:after{width:500px;height:170px;right:-60px;bottom:-75px;background:#f7fbff}
.plant{position:absolute;right:220px;bottom:20px;width:120px;height:130px;z-index:1}.plant i{position:absolute;width:34px;height:90px;border-radius:50% 50% 40% 40%;background:linear-gradient(#2ea66b,#68c68f);transform-origin:bottom}.plant i:nth-child(1){left:25px;transform:rotate(-28deg)}.plant i:nth-child(2){left:52px;transform:rotate(8deg);height:105px}.plant i:nth-child(3){left:75px;transform:rotate(32deg);height:82px}
.phone{position:absolute;right:250px;top:4px;width:148px;height:270px;background:#0a0f19;border:7px solid #0a0f19;border-radius:25px;transform:rotate(-7deg);box-shadow:0 20px 35px rgba(17,38,72,.25);z-index:3}.speaker{width:48px;height:6px;background:#222b39;border-radius:99px;margin:3px auto 4px}.phone-screen{height:247px;background:#fff;border-radius:14px;padding:17px 10px 10px;text-align:center;color:#1b1d25;font-family:Arial,sans-serif}.phone-screen>b{font-size:10px}.phone-screen>small{display:block;font-size:6px;margin-top:8px}.phone-lines{height:18px;margin:5px 0;background:repeating-linear-gradient(to bottom,#d9dde5 0 1px,transparent 1px 5px)}.phone-screen table{width:100%;font-size:5.5px;border-collapse:collapse}.phone-screen td{border:1px solid #bfc5ce;padding:3px}.phone-screen>strong{display:block;font-size:7px;margin-top:6px}
.hand{position:absolute;right:95px;bottom:-60px;width:210px;height:220px;background:linear-gradient(135deg,#eab596,#f6cdb2);border-radius:45% 55% 25% 20%;transform:rotate(-14deg);z-index:2;box-shadow:inset 10px 4px 20px #d79672aa}
.hero-actions{position:absolute;right:16px;top:19px;display:grid;gap:5px;z-index:5}.hero-actions>b{width:220px;height:36px;background:#ffffffed;border:1px solid #e2eaf4;border-radius:9px;padding:0 10px;display:flex;align-items:center;gap:9px;font-size:12px;box-shadow:0 5px 13px rgba(38,73,130,.07)}.hero-actions .a{width:27px;height:27px;border-radius:8px;display:grid;place-items:center}.hero-actions .a svg{width:17px;height:17px}.hero-actions .blue{background:#e7f1ff;color:#1264f4}.hero-actions .purple{background:#f2eaff;color:#7d42e7}.hero-actions .violet{background:#f0e9ff;color:#6f43e4}.hero-actions .green{background:#e5f8ef;color:#14a765}.hero-actions .drive{background:#eef7e8;color:#2da451}

.d-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.d-kpis.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.d-kpi{height:108px;background:#fff;border:1px solid #dfe7f3;border-radius:14px;padding:15px;display:flex;gap:13px;align-items:center;box-shadow:0 6px 18px rgba(35,67,120,.045)}.d-kpi>i{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;font-style:normal;font-size:23px;font-weight:900}.d-kpi>i svg{width:27px;height:27px}.d-kpi>span{min-width:0;color:#5a6b88;font-size:13px}.d-kpi b{display:block;color:#10225a;font-size:24px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.d-kpi small{display:block;color:#13a35c;margin-top:4px;font-weight:800}.d-kpi small em{font-style:normal;color:#586985;font-weight:500}.d-kpi.blue{background:linear-gradient(135deg,#fff,#f2f7ff)}.d-kpi.blue>i{background:#eee8ff;color:#6c42e7}.d-kpi.green{background:linear-gradient(135deg,#fff,#effcf5)}.d-kpi.green>i{background:#ddf8e9;color:#11a85f}.d-kpi.orange{background:linear-gradient(135deg,#fff,#fff8e9)}.d-kpi.orange>i{background:#fff0d8;color:#f07d12}.d-kpi.purple{background:linear-gradient(135deg,#fff,#faf1ff)}.d-kpi.purple>i{background:#f1e8ff;color:#7b45e6}

.d-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.95fr) 390px;grid-template-areas:"upload example chart" "recent recent quick";gap:11px}
.card{background:#fff;border:1px solid #dfe8f4;border-radius:14px;padding:13px;box-shadow:0 6px 18px rgba(35,67,120,.045);min-width:0}.card h2{font-size:18px;margin:0 0 11px}
.upload-panel{grid-area:upload}.invoice-example{grid-area:example}.chart-panel{grid-area:chart}.recent{grid-area:recent}.quick{grid-area:quick}
.upload-tabs{height:42px;display:flex;background:#f3f7fc;border-radius:9px;margin-bottom:9px}.upload-tabs button{flex:1;border:0;background:transparent;color:#2b4e90;display:flex;align-items:center;justify-content:center;gap:7px}.upload-tabs button.active{background:#fff;color:#1263f2;font-weight:900;border-bottom:2px solid #1263f2}.upload-tabs svg{width:17px;height:17px}
.dropzone{height:177px;border:1.5px dashed #9fc0ef;border-radius:11px;background:#fbfdff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.dropzone.large{height:410px}.cam-big{width:52px;height:46px;border-radius:10px;background:#347af8;color:#fff;display:grid;place-items:center}.cam-big svg{width:30px;height:30px}.dropzone>b{font-size:14px}.dropzone>span,.dropzone small{font-size:11px;color:#697995}.dropzone>div:not(.cam-big){display:flex;gap:9px}.upload-message{min-height:16px;padding-top:5px;font-size:12px}
.card-head{display:flex;align-items:center;justify-content:space-between}.card-head button{border:0;background:transparent;color:#1264f1;font-weight:800}.example-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:9px;height:222px}.invoice-paper{position:relative;background:#f4f1e9;border:1px solid #d7d3ca;padding:11px;color:#333;font-family:Arial,sans-serif;font-size:7px}.invoice-paper>small,.invoice-paper>b{display:block;text-align:center}.inv-lines{height:28px;background:repeating-linear-gradient(to bottom,#ccc 0 1px,transparent 1px 6px);margin:8px 0}.invoice-paper table{width:100%;border-collapse:collapse;font-size:5.5px}.invoice-paper th,.invoice-paper td{border:1px solid #aaa;padding:3px}.qr{position:absolute;right:8px;bottom:8px;width:36px;height:36px;background:repeating-conic-gradient(#111 0 25%,#fff 0 50%) 0/8px 8px}
.example-list{background:#f5f9ff;border-radius:8px;padding:9px;display:grid;align-content:start;gap:7px;font-size:11px;color:#234276}.example-list>b{color:#17316d}.example-list>span{display:block}
.legend{display:flex;justify-content:flex-end;gap:15px;font-size:10px;color:#65728d}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:8px;height:8px;border-radius:50%}.legend i.blue{background:#3378ff}.legend i.orange{background:#ff7b14}
.combo-chart{height:180px;display:flex;align-items:end;gap:10px;padding:20px 10px 22px;background:
linear-gradient(to top,transparent 24%,#e9eef5 25%,transparent 26%,transparent 49%,#e9eef5 50%,transparent 51%,transparent 74%,#e9eef5 75%,transparent 76%)}
.combo-chart.big{height:300px}.bar-wrap{flex:1;display:flex;align-items:end;gap:3px;height:100%;position:relative}.bar-rev{flex:1;background:linear-gradient(#6faaff,#3478f9);border-radius:4px 4px 0 0}.bar-tax{width:3px;background:#ff7911;border-radius:4px 4px 0 0}.bar-wrap span{position:absolute;bottom:-19px;left:0;right:0;text-align:center;font-size:10px;color:#6b7892}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-grid button{height:65px;border:0;border-radius:10px;padding:8px;display:flex;align-items:center;gap:9px;text-align:left}.quick-grid button>span{width:42px;height:42px;border-radius:10px;display:grid;place-items:center}.quick-grid button>span svg{width:23px;height:23px}.quick-grid button>b{font-size:11px;color:#17316d}.quick-grid button small{display:block;font-weight:500;color:#6d7991;margin-top:2px}.quick-grid .blue{background:#edf5ff}.quick-grid .blue>span{background:#317bf8;color:#fff}.quick-grid .purple{background:#f4ecff}.quick-grid .purple>span{background:#8048ea;color:#fff}.quick-grid .green{background:#ebfaf0}.quick-grid .green>span{background:#13aa62;color:#fff}.quick-grid .orange{background:#fff2e6}.quick-grid .orange>span{background:#ff7b15;color:#fff}

.page-head,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-head{margin:3px 0 14px}.page-head h1{font-size:30px;margin:0}.page-head p{margin:4px 0;color:#6b7892}.toolbar{margin-bottom:10px}.toolbar input{flex:1;border:1px solid #dfe7f2;border-radius:9px;padding:10px}
.table{overflow:auto}.trow{min-width:760px;display:grid;grid-template-columns:105px minmax(190px,2fr) 120px 130px 120px;gap:10px;padding:8px 7px;border-top:1px solid #eaf0f7;align-items:center;font-size:11px}.trow.head{background:#f5f8fc;color:#6e7c95;font-weight:900}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#dff8e9;color:#169653;font-weight:900}.badge.pending{background:#dfeeff;color:#1762e9}
.tax-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tax-flow span{background:#eaf3ff;color:#225bd8;padding:10px;border-radius:9px;font-weight:900}.notice{margin-top:14px;background:#fff8e9;border:1px solid #f1e0b7;padding:12px;border-radius:10px}
.drive-card{display:flex;gap:20px;align-items:center}.drive-big{width:80px;height:80px;border-radius:19px;background:#eef8e7;color:#2da451;display:grid;place-items:center}.drive-big svg{width:44px;height:44px}
.settings>div{display:flex;justify-content:space-between;padding:14px 2px;border-top:1px solid #e9eef6}.settings>div:first-child{border-top:0}
.help-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.help-grid article>b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#315bff;color:#fff}.api-hint{font-size:11px;color:#6d7992}

/* ====================== RESPONSIVE ====================== */
@media(max-width:1300px){
  .landing-stage{padding-left:40px;padding-right:40px}.l-laptop{right:-120px;transform:scale(.9) rotate(-1.8deg);transform-origin:top right}.l-process{left:40px;width:930px}.l-menu{left:40px;right:40px}
  .d-content-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr) 340px}
}
@media(max-width:1100px){
  .l-top{padding:0 20px}.landing-stage{min-height:auto;padding:28px 22px}.l-intro{width:auto}.l-laptop{position:relative;right:auto;top:auto;width:100%;transform:scale(.92) rotate(-1deg);transform-origin:center center;margin-top:20px}.l-process{position:relative;left:auto;top:auto;width:auto;margin-top:10px}.l-menu{position:relative;left:auto;right:auto;top:auto;margin-top:16px}
  .d-layout{grid-template-columns:76px 1fr}.d-side .nav{justify-content:center;padding:0}.d-side .nav span{display:none}.drive-box{display:none}.d-brand{width:auto}.d-brand>span:last-child{display:none}.d-search{display:none}.d-content-grid{grid-template-columns:1fr 1fr;grid-template-areas:"upload example" "chart quick" "recent recent"}.hero-actions{display:none}.d-hero{grid-template-columns:1fr}.hero-visual{display:none}
}
@media(max-width:760px){
  .l-brand>b{font-size:17px}.google-login{font-size:0;padding:9px}.google-login span{font-size:15px}.l-intro h1{font-size:43px}.l-intro p{font-size:16px}.l-laptop{display:none}.l-process{grid-template-columns:1fr}.l-arrow{display:none}.l-menu{grid-template-columns:1fr}
  .d-top{height:62px;padding:0 9px}.d-tools .profile,.d-tools .top-help,.d-tools .bell{display:none}.d-layout{display:block}.d-side{position:fixed;left:0;right:0;bottom:0;top:auto;height:64px;padding:6px;z-index:40}.d-side nav{display:flex;justify-content:space-around}.d-side .nav{width:54px;height:52px}.d-side .nav:nth-of-type(n+6),.d-side hr{display:none}.d-main{padding:10px 9px 78px}.d-kpis,.d-kpis.three{grid-template-columns:1fr 1fr}.d-kpi{height:auto;min-height:96px;display:block}.d-kpi>i{width:40px;height:40px}.d-kpi b{font-size:18px}.d-content-grid{display:block}.d-content-grid>.card{margin-bottom:10px}.hero-copy{padding:20px 16px}.hero-copy h1{font-size:34px}.hero-check{display:none}.d-hero{height:auto}.help-grid{grid-template-columns:1fr}
}

.trow{grid-template-columns:95px minmax(170px,1.7fr) 90px 110px 105px 100px 85px}
.row-actions{display:flex;align-items:center;gap:4px}.row-actions button{border:0;background:transparent;color:#17316d;font-weight:900;padding:4px 5px}
.empty-row{padding:24px 10px;text-align:center;color:#71809b;border-top:1px solid #eaf0f7}
.dropzone.drag{border-color:#1268ff;background:#f2f7ff}

/* V1.8.2 landing alignment: use the right half of the composition instead of leaving dead space. */
@media(min-width:1301px){
  .landing-stage{min-height:835px}
  .l-laptop{pointer-events:none}
  .l-process{z-index:4}
  .l-menu{z-index:5}
  .l-screen-top,.l-screen-body{position:relative;z-index:1}
  .l-mini-grid{margin-top:11px}
  .l-mini-table{margin-top:10px}
}

/* V1.8.3 — laptop geometry tuned to Mau reference, still pure HTML/CSS. */
@media(min-width:1301px){
  .landing-stage{min-height:842px}
  .l-laptop{pointer-events:none}
  .l-screen{backface-visibility:hidden}
  .l-screen:after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:10px;
    background:linear-gradient(180deg,#172238,#0d1423);z-index:7
  }
  .l-base:before{
    content:"";position:absolute;left:38%;right:38%;top:5px;height:4px;
    border-radius:0 0 6px 6px;background:#9ba7b4;opacity:.85
  }
  .l-base:after{
    content:"";position:absolute;left:43%;right:43%;bottom:5px;height:5px;
    border-radius:99px;background:#718193;opacity:.36
  }
  .l-process{z-index:4}
  .l-menu{z-index:5}
  .l-mini-grid{margin-top:12px}
  .l-mini-table{margin-top:11px;padding:9px}
  .l-mini-table .thead{font-size:8px}
  .l-mini-table .tr{font-size:7px;padding:8px 0}
  .l-mini-donut ul{font-size:6.5px}
  .donut span{font-size:8px}
  .l-mini-grid article>b{font-size:8px}
}


/* V1.8.4 — laptop corrected against Mau reference.
   Goal: thinner bezels, fuller dashboard, thinner base, lower/right placement.
   Pure HTML/CSS — no screenshot/image asset. */
@media(min-width:1301px){
  .landing-stage{min-height:842px}

  /* Position/scale: Mau starts farther right and slightly lower. */
  .l-laptop{
    right:-238px;
    top:20px;
    width:930px;
    height:645px;
    transform:rotate(-1.65deg);
    filter:drop-shadow(0 25px 28px rgba(26,54,102,.15));
  }

  /* Mau has a thin dark bezel; previous build was too thick. */
  .l-screen{
    left:24px;
    right:24px;
    top:0;
    height:580px;
    border:9px solid #111a2c;
    border-bottom-width:12px;
    border-radius:24px 24px 10px 10px;
    box-shadow:0 24px 45px rgba(27,55,104,.18);
    transform:perspective(1600px) rotateY(-1deg);
  }
  .l-screen:after{height:3px;background:#111a2c}

  /* Thin metal deck directly under the display, like Mau. */
  .l-base{
    left:-34px;
    right:-34px;
    top:572px;
    bottom:auto;
    height:38px;
    background:linear-gradient(180deg,#eef2f6 0,#c5ced8 38%,#f5f7f9 59%,#9eacbb 100%);
    clip-path:polygon(3% 0,97% 0,100% 54%,95% 100%,5% 100%,0 54%);
    box-shadow:0 10px 16px rgba(34,63,110,.17);
  }
  .l-base:before{
    left:40%;right:40%;top:4px;height:3px;background:#aab5c1;opacity:.8
  }
  .l-base:after{
    left:45%;right:45%;bottom:4px;height:3px;background:#778697;opacity:.28
  }

  /* Dashboard inside laptop must occupy the full screen — no big white dead area. */
  .l-screen-top{height:46px;padding:0 15px;font-size:8px}
  .l-screen-body{height:calc(100% - 46px);grid-template-columns:118px 1fr}
  .l-mini-nav{padding:8px 7px;gap:3px}
  .l-mini-nav b{font-size:7px;padding:8px 6px;gap:5px}
  .l-mini-main{
    padding:11px 13px;
    display:grid;
    grid-template-rows:18px 64px minmax(255px,1fr) 100px;
    gap:8px;
    min-height:0;
    overflow:hidden;
  }
  .l-mini-main h3{font-size:13px;margin:0;align-self:center}
  .l-mini-kpi{height:64px;gap:7px}
  .l-mini-kpi article{padding:8px}
  .l-mini-kpi small{font-size:6px}
  .l-mini-kpi strong{font-size:10px}

  .l-mini-grid{
    margin-top:0;
    min-height:0;
    height:100%;
    grid-template-columns:1.68fr .72fr;
    gap:8px;
  }
  .l-mini-grid article{
    min-height:0;
    height:100%;
    padding:8px;
  }
  .l-mini-grid article>b{font-size:7px}
  .l-mini-bars .bars{
    height:calc(100% - 16px);
    min-height:200px;
    gap:8px;
    padding:8px 3px 0;
  }
  .l-mini-donut{grid-template-columns:86px 1fr}
  .donut{width:78px;height:78px}
  .donut:after{width:44px;height:44px}
  .donut span{font-size:7px}
  .l-mini-donut ul{font-size:5.8px;line-height:1.7}

  .l-mini-table{
    margin-top:0;
    height:100px;
    padding:7px 8px;
    align-self:end;
    overflow:hidden;
  }
  .l-mini-table .thead{font-size:7px}
  .l-mini-table .tr{
    grid-template-columns:78px 1fr 82px 58px;
    gap:5px;
    padding:6px 0;
    font-size:6px;
  }
}


/* =========================================================
   V1.8.5 - MAU LAPTOP PERSPECTIVE FIX
   Chỉ sửa laptop landing.
   Không dùng screenshot/crop/image.
   ========================================================= */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}

@media(min-width:1301px){
  .landing-stage{
    overflow:visible;
  }

  /* Toàn bộ laptop được đặt trong phối cảnh 3D:
     cạnh trái gần hơn, cạnh phải lùi vào trong giống "Mau". */
  .l-laptop{
    right:-72px;
    top:8px;
    width:850px;
    height:620px;
    transform:
      perspective(1550px)
      rotateY(7.2deg)
      rotateX(.8deg)
      rotateZ(-1.15deg);
    transform-origin:64% 48%;
    filter:drop-shadow(0 28px 30px rgba(24,50,96,.18));
    backface-visibility:hidden;
    transform-style:preserve-3d;
  }

  /* Màn hình: bezel mỏng, hình thang nhẹ, không còn "khung vẽ tay" vuông đơ. */
  .l-screen{
    left:20px;
    right:20px;
    top:0;
    height:535px;
    border:7px solid #111a2c;
    border-bottom-width:9px;
    border-radius:22px 22px 9px 9px;
    box-shadow:
      0 22px 42px rgba(20,43,85,.16),
      inset 0 0 0 1px rgba(255,255,255,.04);
    transform:none !important;
    transform-origin:center center;
    clip-path:polygon(1.2% 0,100% 1.45%,98.9% 98.6%,0 100%);
    overflow:hidden;
    backface-visibility:hidden;
  }

  .l-screen:before{
    top:2px;
    width:4px;
    height:4px;
    opacity:.9;
  }

  /* Nội dung đi theo mặt màn hình, không counter-rotate nữa. */
  .l-screen>.l-screen-top,
  .l-screen>.l-screen-body{
    transform:none !important;
  }

  .l-screen-top{
    height:45px;
    padding:0 14px;
  }

  .l-screen-body{
    height:calc(100% - 45px);
    grid-template-columns:116px 1fr;
  }

  .l-mini-main{
    grid-template-rows:18px 62px minmax(230px,1fr) 92px;
    gap:7px;
    padding:10px 12px;
  }

  .l-mini-grid{
    grid-template-columns:1.7fr .70fr;
  }

  .l-mini-bars .bars{
    min-height:190px;
  }

  .l-mini-table{
    height:92px;
  }

  /* Đế laptop không còn là thanh ngang phẳng.
     RotateX tạo mặt kim loại có chiều sâu như laptop thật. */
  .l-base{
    left:-4px;
    right:-18px;
    top:523px;
    bottom:auto;
    height:64px;
    background:
      linear-gradient(180deg,
        #f6f8fa 0%,
        #ccd5de 17%,
        #aeb9c5 39%,
        #eef2f6 58%,
        #c5ced8 73%,
        #8998a9 100%);
    clip-path:polygon(2% 0,98% 0,100% 42%,96% 83%,88% 100%,12% 100%,4% 83%,0 42%);
    box-shadow:0 16px 24px rgba(31,57,101,.20);
    transform:
      perspective(1150px)
      rotateX(64deg)
      translateY(-1px);
    transform-origin:top center;
    backface-visibility:hidden;
  }

  /* Khe trackpad/hinge tinh tế trên đế. */
  .l-base:before{
    content:"";
    position:absolute;
    left:39%;
    right:39%;
    top:9px;
    height:3px;
    border-radius:99px;
    background:#8c99a8;
    opacity:.58;
  }

  .l-base:after{
    content:"";
    position:absolute;
    left:46%;
    right:46%;
    bottom:7px;
    height:2px;
    border-radius:99px;
    background:#6f7e8e;
    opacity:.30;
  }

  /* Giữ card bước 3 nằm phía trước laptop đúng bố cục mẫu. */
  .l-process{z-index:5}
  .l-menu{z-index:6}
}


/* =========================================================
   V1.8.6 - MATCH LAPTOP "MAU"
   - Không ảnh crop/screenshot.
   - Chỉ sửa laptop landing.
   - Laptop nhỏ hơn V1.8.5, dịch sang phải, cao hơn,
     màn hình nghiêng vào trong, đế mỏng hơn.
   ========================================================= */

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}

@media(min-width:1301px){
  .landing-stage{
    max-width:1672px;
    overflow:visible;
  }

  /* Tỷ lệ gần "Mau":
     - nhỏ hơn bản 1.8.5 khoảng 10-12%
     - dịch sang phải
     - cao hơn để đế xuống gần hàng menu
     - perspective rõ hơn nhưng không méo quá mạnh */
  .l-laptop{
    right:-112px;
    top:17px;
    width:790px;
    height:675px;
    transform:
      perspective(1850px)
      rotateY(10.8deg)
      rotateX(.55deg)
      rotateZ(-2.25deg);
    transform-origin:72% 43%;
    filter:drop-shadow(0 25px 29px rgba(26,54,102,.17));
    transform-style:preserve-3d;
    backface-visibility:hidden;
    pointer-events:none;
  }

  /* Mặt màn hình dạng hình thang giống góc chụp của laptop thật. */
  .l-screen{
    left:18px;
    right:18px;
    top:0;
    height:592px;
    border:6px solid #10192b;
    border-top-width:7px;
    border-left-width:7px;
    border-right-width:6px;
    border-bottom-width:8px;
    border-radius:20px 21px 8px 9px;
    transform:none !important;
    transform-origin:center;
    clip-path:polygon(
      2.8% 0%,
      100% 2.1%,
      97.1% 98.8%,
      0% 100%
    );
    box-shadow:
      0 22px 40px rgba(20,43,85,.15),
      inset 0 0 0 1px rgba(255,255,255,.05);
    overflow:hidden;
    backface-visibility:hidden;
  }

  .l-screen:before{
    top:2px;
    left:51%;
    width:4px;
    height:4px;
    opacity:.85;
  }

  /* Nội dung phải bám đúng mặt màn hình, không xoay ngược. */
  .l-screen>.l-screen-top,
  .l-screen>.l-screen-body{
    transform:none !important;
  }

  .l-screen-top{
    height:47px;
    padding:0 15px;
    font-size:8px;
  }

  .l-screen-body{
    height:calc(100% - 47px);
    grid-template-columns:108px minmax(0,1fr);
  }

  .l-mini-nav{
    padding:8px 7px;
  }

  .l-mini-nav b{
    font-size:7px;
    padding:7px 6px;
    gap:5px;
  }

  .l-mini-main{
    grid-template-rows:18px 58px minmax(260px,1fr) 86px;
    gap:7px;
    padding:10px 11px;
  }

  .l-mini-main h3{
    font-size:13px;
  }

  .l-mini-kpi{
    gap:7px;
  }

  .l-mini-kpi article{
    padding:7px;
  }

  .l-mini-kpi small{
    font-size:6px;
  }

  .l-mini-kpi strong{
    font-size:10px;
  }

  .l-mini-grid{
    grid-template-columns:1.72fr .72fr;
    gap:8px;
    margin-top:8px;
  }

  .l-mini-grid article{
    min-height:245px;
  }

  .l-mini-bars .bars{
    height:210px;
    min-height:210px;
    gap:8px;
    padding:14px 4px 0;
  }

  .l-mini-donut{
    grid-template-columns:92px 1fr;
  }

  .donut{
    width:82px;
    height:82px;
  }

  .donut:after{
    width:46px;
    height:46px;
  }

  .l-mini-table{
    height:86px;
    margin-top:8px;
  }

  .l-mini-table .tr{
    grid-template-columns:78px 1fr 84px 58px;
    gap:5px;
    padding:6px 0;
    font-size:6px;
  }

  /* Đế trong "Mau" mỏng, dài và nghiêng theo cùng perspective. */
  .l-base{
    left:-9px;
    right:-30px;
    top:579px;
    bottom:auto;
    height:47px;
    background:
      linear-gradient(
        180deg,
        #f7f9fb 0%,
        #d3dbe4 20%,
        #aebac6 43%,
        #edf1f5 61%,
        #bcc7d2 78%,
        #8c9bab 100%
      );
    clip-path:polygon(
      2% 0%,
      98% 0%,
      100% 37%,
      96% 73%,
      89% 100%,
      11% 100%,
      4% 74%,
      0% 37%
    );
    transform:
      perspective(1350px)
      rotateX(70deg)
      rotateZ(.1deg);
    transform-origin:top center;
    box-shadow:0 13px 20px rgba(31,57,101,.19);
    backface-visibility:hidden;
  }

  .l-base:before{
    content:"";
    position:absolute;
    left:41%;
    right:41%;
    top:7px;
    height:2px;
    border-radius:99px;
    background:#8795a4;
    opacity:.52;
  }

  .l-base:after{
    content:"";
    position:absolute;
    left:46%;
    right:46%;
    bottom:5px;
    height:1.5px;
    border-radius:99px;
    background:#6e7d8c;
    opacity:.24;
  }

  /* Card số 3 nằm phía trước laptop như trong "Mau". */
  .l-process{z-index:5}
  .l-menu{z-index:6}
}


/* ==========================================================
   V1.8.7 — MACBOOK 3D REBUILD
   Mục tiêu: laptop là một vật thể 3D bằng HTML/CSS, KHÔNG
   crop ảnh mẫu, KHÔNG kéo méo screenshot.
   ========================================================== */
@media (min-width:1301px){
  html,body{overflow-x:hidden!important}

  .landing-stage{
    max-width:1672px;
    overflow:visible;
  }

  /* Toàn bộ máy là một rigid body. Chỉ wrapper nhận perspective.
     Màn hình bên trong KHÔNG bị clip thành hình thang giả. */
  .l-laptop{
    right:-66px!important;
    top:20px!important;
    width:770px!important;
    height:650px!important;
    z-index:1!important;
    transform:
      perspective(1900px)
      rotateY(9deg)
      rotateX(0.8deg)
      rotateZ(-2.65deg)!important;
    transform-origin:56% 48%!important;
    transform-style:preserve-3d!important;
    filter:drop-shadow(0 27px 25px rgba(28,50,88,.18))!important;
  }

  /* Nắp/màn hình MacBook: khung mỏng, bo nhỏ, tỉ lệ rộng. */
  .l-screen{
    left:20px!important;
    right:20px!important;
    top:0!important;
    height:555px!important;
    background:#0d1628!important;
    border:7px solid #111a2b!important;
    border-top-width:8px!important;
    border-bottom-width:10px!important;
    border-radius:19px 19px 7px 7px!important;
    clip-path:none!important;
    transform:translateZ(7px)!important;
    transform-origin:bottom center!important;
    overflow:hidden!important;
    box-shadow:
      0 18px 30px rgba(15,32,62,.14),
      inset 0 0 0 1px rgba(255,255,255,.07)!important;
  }

  /* Camera notch/dot */
  .l-screen:before{
    content:""!important;
    position:absolute!important;
    z-index:20!important;
    top:2px!important;
    left:50%!important;
    width:4px!important;
    height:4px!important;
    border-radius:50%!important;
    background:#253652!important;
    opacity:.95!important;
  }

  .l-screen-top{
    height:42px!important;
    padding:0 13px!important;
    font-size:7px!important;
  }
  .l-screen-body{
    height:calc(100% - 42px)!important;
    grid-template-columns:102px minmax(0,1fr)!important;
  }
  .l-mini-nav{padding:7px 6px!important}
  .l-mini-nav b{font-size:6.5px!important;padding:6px 5px!important}
  .l-mini-main{
    grid-template-rows:18px 56px minmax(245px,1fr) 78px!important;
    gap:7px!important;
    padding:9px 10px!important;
  }
  .l-mini-main h3{font-size:12px!important}
  .l-mini-kpi{gap:7px!important}
  .l-mini-kpi article{padding:6px!important}
  .l-mini-kpi small{font-size:5.5px!important}
  .l-mini-kpi strong{font-size:9px!important}
  .l-mini-grid{
    grid-template-columns:1.72fr .72fr!important;
    gap:7px!important;
    margin-top:7px!important;
  }
  .l-mini-grid article{min-height:225px!important}
  .l-mini-bars .bars{
    height:190px!important;
    min-height:190px!important;
    gap:7px!important;
    padding:12px 4px 0!important;
  }
  .l-mini-donut{grid-template-columns:80px 1fr!important}
  .donut{width:72px!important;height:72px!important}
  .donut:after{width:40px!important;height:40px!important}
  .l-mini-table{height:78px!important;margin-top:7px!important}
  .l-mini-table .tr{
    grid-template-columns:68px 1fr 74px 52px!important;
    gap:4px!important;
    padding:5px 0!important;
    font-size:5.5px!important;
  }

  /* Hinge thật: thanh bản lề riêng giữa màn hình và thân máy. */
  .l-laptop:before{
    content:"";
    position:absolute;
    z-index:4;
    left:53px;
    right:45px;
    top:550px;
    height:13px;
    border-radius:3px 3px 8px 8px;
    background:linear-gradient(180deg,#6f7b88 0%,#d9e0e7 30%,#8f9ba8 57%,#eef2f5 100%);
    transform:translateZ(5px);
    box-shadow:0 3px 6px rgba(32,50,74,.18);
  }

  /* Thân/đế MacBook: không còn là một thanh phẳng.
     rotateX tạo mặt deck kim loại đi ra phía người xem. */
  .l-base{
    z-index:3!important;
    left:-13px!important;
    right:-25px!important;
    top:554px!important;
    bottom:auto!important;
    height:92px!important;
    border-radius:4px 4px 18px 18px!important;
    clip-path:polygon(
      5% 0%, 95% 0%,
      100% 70%, 96% 83%,
      88% 100%, 12% 100%,
      4% 83%, 0% 70%
    )!important;
    background:
      linear-gradient(180deg,
        #f8fafc 0%,
        #dce3e9 13%,
        #aeb9c4 32%,
        #f3f6f8 54%,
        #c5ced6 71%,
        #8d9aa8 100%)!important;
    transform:
      translateZ(0)
      perspective(1050px)
      rotateX(69deg)!important;
    transform-origin:top center!important;
    box-shadow:
      0 18px 24px rgba(29,48,78,.18),
      inset 0 1px 0 rgba(255,255,255,.95)!important;
  }

  /* Trackpad groove + front lip */
  .l-base:before{
    content:""!important;
    position:absolute!important;
    left:40%!important;
    right:40%!important;
    top:13px!important;
    height:3px!important;
    border-radius:99px!important;
    background:#8794a1!important;
    opacity:.42!important;
  }
  .l-base:after{
    content:""!important;
    position:absolute!important;
    left:46%!important;
    right:46%!important;
    bottom:7px!important;
    height:2px!important;
    border-radius:99px!important;
    background:#6d7b89!important;
    opacity:.27!important;
  }

  /* Bóng tiếp đất giúp máy có khối, không giống khung ảnh treo. */
  .l-laptop:after{
    content:"";
    position:absolute;
    z-index:-1;
    left:8%;
    right:1%;
    top:614px;
    height:31px;
    border-radius:50%;
    background:rgba(51,78,113,.15);
    filter:blur(15px);
    transform:translateZ(-12px);
  }

  /* Giữ card 3 ở trước máy giống bố cục Mau. */
  .l-process{z-index:5!important}
  .l-menu{z-index:6!important}
}


/* ==========================================================
 V1.8.8 — CORRECT FACING + REAL LAPTOP DECK
 Fix V1.8.7:
 1) đảo đúng hướng perspective như Mau
 2) đế không còn dạng lưỡi dao
 3) thêm keyboard deck + trackpad + front lip
 4) screen và base cùng một phối cảnh
 ========================================================== */
@media (min-width:1301px){
  .l-laptop{
    right:-24px!important;
    top:26px!important;
    width:730px!important;
    height:635px!important;
    transform:
      perspective(1850px)
      rotateY(-8deg)
      rotateX(1.4deg)
      rotateZ(-2.7deg)!important;
    transform-origin:48% 52%!important;
    filter:drop-shadow(0 25px 27px rgba(28,50,88,.17))!important;
  }

  .l-screen{
    left:22px!important;
    right:22px!important;
    height:505px!important;
    border:7px solid #111a2b!important;
    border-bottom-width:9px!important;
    border-radius:18px 18px 8px 8px!important;
    transform:translateZ(10px)!important;
  }

  .l-screen-top{height:38px!important}
  .l-screen-body{
    height:calc(100% - 38px)!important;
    grid-template-columns:92px minmax(0,1fr)!important;
  }
  .l-mini-main{
    grid-template-rows:17px 52px minmax(205px,1fr) 70px!important;
  }
  .l-mini-grid article{min-height:190px!important}
  .l-mini-bars .bars{height:158px!important;min-height:158px!important}
  .l-mini-table{height:68px!important}

  /* Bản lề ngắn và chìm vào thân */
  .l-laptop:before{
    left:76px!important;
    right:72px!important;
    top:500px!important;
    height:10px!important;
    border-radius:2px 2px 7px 7px!important;
    background:linear-gradient(180deg,#65717d,#dce3e8 35%,#8794a0 66%,#eef2f4)!important;
    box-shadow:0 2px 4px rgba(25,43,67,.16)!important;
  }

  /* Thân máy nhìn thấy rõ mặt trên — giống laptop mở, không phải con dao. */
  .l-base{
    left:8px!important;
    right:0!important;
    top:501px!important;
    width:auto!important;
    height:150px!important;
    border-radius:3px 3px 20px 20px!important;
    clip-path:polygon(
      4% 0%, 96% 0%,
      100% 82%, 97% 91%,
      88% 100%, 12% 100%,
      3% 91%, 0% 82%
    )!important;
    transform:
      translateZ(2px)
      perspective(1050px)
      rotateX(54deg)!important;
    transform-origin:top center!important;
    background:
      linear-gradient(180deg,#eef2f5 0 8%,#cbd3da 9% 12%,#e9edf0 13% 72%,#c2cbd3 73% 88%,#909ca8 100%)!important;
    box-shadow:
      0 24px 28px rgba(27,48,76,.19),
      inset 0 1px 0 #fff!important;
  }

  /* Keyboard: nhiều phím thật sự trên mặt deck */
  .l-base:before{
    content:""!important;
    position:absolute!important;
    left:15%!important;
    right:15%!important;
    top:18px!important;
    height:53px!important;
    border-radius:5px!important;
    opacity:.68!important;
    background:
      repeating-linear-gradient(90deg,#8e99a4 0 12px,transparent 12px 15px),
      repeating-linear-gradient(0deg,#8e99a4 0 9px,transparent 9px 12px)!important;
    box-shadow:inset 0 0 0 1px rgba(93,107,120,.18)!important;
  }

  /* Trackpad rộng ở phía trước */
  .l-base:after{
    content:""!important;
    position:absolute!important;
    left:35%!important;
    right:35%!important;
    top:82px!important;
    height:42px!important;
    border-radius:5px!important;
    background:rgba(225,231,236,.8)!important;
    border:1px solid rgba(113,127,140,.34)!important;
    box-shadow:inset 0 1px 2px rgba(255,255,255,.8)!important;
    opacity:1!important;
  }

  /* Bóng dưới thân rộng, mềm */
  .l-laptop:after{
    left:8%!important;
    right:2%!important;
    top:605px!important;
    height:25px!important;
    background:rgba(48,73,105,.14)!important;
    filter:blur(14px)!important;
  }
}

/* ==========================================================
 V1.8.9 — MAU MACBOOK REBUILD
 Chỉ sửa hình học laptop landing theo mẫu Mau:
 - màn hình nằm xa hơn, nghiêng nhẹ vào trong
 - bỏ keyboard/trackpad lớn của V1.8.8
 - thân dưới chỉ lộ một mép nhôm mỏng như ảnh mẫu
 - không screenshot/crop/image asset
 ========================================================== */
@media (min-width:1301px){
  .l-laptop{
    right:-70px!important;
    top:18px!important;
    width:760px!important;
    height:560px!important;
    transform:none!important;
    transform-origin:center!important;
    filter:drop-shadow(0 25px 26px rgba(28,50,88,.15))!important;
    perspective:1800px!important;
  }

  /* Nắp máy: phối cảnh nhẹ, cạnh phải lùi vào trong giống Mau. */
  .l-screen{
    left:36px!important;
    right:18px!important;
    top:6px!important;
    height:454px!important;
    border:8px solid #111a2b!important;
    border-bottom-width:10px!important;
    border-radius:20px 20px 9px 9px!important;
    overflow:hidden!important;
    transform:rotateY(-5deg) rotateX(.6deg) rotateZ(-1.7deg)!important;
    transform-origin:52% 56%!important;
    box-shadow:0 13px 22px rgba(31,50,78,.13)!important;
    background:#fff!important;
  }

  .l-screen-top{height:36px!important}
  .l-screen-body{height:calc(100% - 36px)!important;grid-template-columns:92px minmax(0,1fr)!important}
  .l-mini-main{grid-template-rows:18px 51px minmax(170px,1fr) 66px!important}
  .l-mini-grid article{min-height:165px!important}
  .l-mini-bars .bars{height:132px!important;min-height:132px!important}
  .l-mini-table{height:64px!important}

  /* Bản lề mảnh ngay dưới màn hình. */
  .l-laptop:before{
    content:""!important;
    position:absolute!important;
    left:102px!important;
    right:58px!important;
    top:451px!important;
    height:8px!important;
    border-radius:1px 1px 6px 6px!important;
    background:linear-gradient(180deg,#5f6a76 0%,#cbd3da 42%,#8995a0 100%)!important;
    box-shadow:0 2px 3px rgba(30,48,70,.15)!important;
    transform:rotateZ(-1.45deg)!important;
    z-index:1!important;
  }

  /* Mẫu Mau gần như không thấy bàn phím: chỉ là mép nhôm thấp, rộng và có chiều sâu. */
  .l-base{
    left:66px!important;
    right:-8px!important;
    top:454px!important;
    height:43px!important;
    border-radius:2px 3px 13px 13px!important;
    clip-path:polygon(2% 0,96% 0,100% 52%,96% 72%,60% 96%,38% 96%,5% 72%,0 52%)!important;
    transform:rotateZ(-1.45deg) perspective(1200px) rotateX(67deg)!important;
    transform-origin:top center!important;
    background:linear-gradient(180deg,#eef3f6 0%,#c8d1d9 35%,#f5f7f8 56%,#aeb9c3 79%,#e5eaee 100%)!important;
    box-shadow:0 14px 18px rgba(36,58,86,.16),inset 0 1px 0 #fff!important;
    z-index:0!important;
  }

  /* Không vẽ keyboard/trackpad: đây là nguyên nhân V1.8.8 trông như laptop fake. */
  .l-base:before,.l-base:after{content:none!important;display:none!important}

  /* Mép trước bạc rất mảnh. */
  .l-laptop:after{
    content:""!important;
    position:absolute!important;
    left:105px!important;
    right:8px!important;
    top:488px!important;
    height:9px!important;
    border-radius:0 0 50% 50%!important;
    background:linear-gradient(180deg,#dfe5e9,#8d9aa5 60%,#edf1f4)!important;
    filter:none!important;
    box-shadow:0 11px 18px rgba(40,63,92,.13)!important;
    transform:rotateZ(-1.45deg)!important;
    z-index:2!important;
  }

  .l-process{z-index:5!important}
  .l-menu{z-index:6!important}
}

/* ==========================================================
 V1.8.10 — MAU LAYOUT POSITION FIX
 Giữ nguyên toàn bộ V1.8.9; chỉ scale/position laptop để lấp đúng
 hai vùng trống: phía trái laptop và phía dưới laptop.
 ========================================================== */
@media (min-width:1301px){
  .landing-stage{overflow:visible!important}
  .l-laptop{
    right:-34px!important;
    top:6px!important;
    width:900px!important;
    height:670px!important;
    transform:none!important;
    transform-origin:center!important;
    z-index:2!important;
  }
  .l-screen{
    left:22px!important;
    right:16px!important;
    top:4px!important;
    height:540px!important;
    border-width:9px!important;
    border-bottom-width:12px!important;
    border-radius:23px 23px 10px 10px!important;
    transform:perspective(1800px) rotateY(-3.2deg) rotateX(.35deg) rotateZ(-1.35deg)!important;
    transform-origin:54% 60%!important;
  }
  .l-screen-top{height:40px!important}
  .l-screen-body{height:calc(100% - 40px)!important;grid-template-columns:108px minmax(0,1fr)!important}
  .l-mini-main{grid-template-rows:21px 59px minmax(205px,1fr) 76px!important}
  .l-mini-grid article{min-height:200px!important}
  .l-mini-bars .bars{height:160px!important;min-height:160px!important}
  .l-mini-table{height:74px!important}
  .l-laptop:before{
    left:98px!important;right:48px!important;top:538px!important;height:8px!important;
    transform:rotateZ(-1.15deg)!important;
  }
  .l-base{
    left:58px!important;right:-4px!important;top:542px!important;height:50px!important;
    transform:rotateZ(-1.15deg) perspective(1300px) rotateX(69deg)!important;
  }
  .l-laptop:after{
    left:96px!important;right:4px!important;top:584px!important;height:9px!important;
    transform:rotateZ(-1.15deg)!important;
  }
  /* Card 3 nằm trước laptop như mẫu Mau. */
  .l-process{z-index:5!important}
  .l-process .l-step:nth-of-type(3){position:relative;z-index:7!important}
  .l-menu{z-index:8!important}
}


/* ==========================================================
   V1.8.13 — LAPTOP FILL FIX
   Chỉ sửa đúng các vùng trống đã khoanh:
   - kéo laptop sang trái để nằm sau card 3
   - tăng kích thước màn hình
   - kéo chân máy xuống sát menu, không tạo "lưỡi dao"
   ========================================================== */
@media (min-width:1301px){
  .landing-stage{
    overflow:hidden!important;
  }

  .l-laptop{
    right:-92px!important;
    top:10px!important;
    width:1050px!important;
    height:690px!important;
    transform:none!important;
    z-index:2!important;
  }

  .l-screen{
    left:20px!important;
    right:18px!important;
    top:3px!important;
    height:592px!important;
    border-width:10px!important;
    border-bottom-width:13px!important;
    border-radius:24px 24px 10px 10px!important;
    transform:perspective(1900px) rotateY(-2.7deg) rotateX(.25deg) rotateZ(-1.2deg)!important;
    transform-origin:55% 62%!important;
  }

  .l-screen-top{height:42px!important}
  .l-screen-body{
    height:calc(100% - 42px)!important;
    grid-template-columns:120px minmax(0,1fr)!important;
  }
  .l-mini-main{grid-template-rows:22px 64px minmax(225px,1fr) 82px!important}
  .l-mini-grid article{min-height:220px!important}
  .l-mini-bars .bars{height:178px!important;min-height:178px!important}
  .l-mini-table{height:80px!important}

  /* bản lề */
  .l-laptop:before{
    left:118px!important;
    right:60px!important;
    top:590px!important;
    height:8px!important;
    transform:rotateZ(-1.05deg)!important;
  }

  /* đế mỏng, rộng, kéo xuống thay vì dựng lên */
  .l-base{
    left:58px!important;
    right:-8px!important;
    top:595px!important;
    height:72px!important;
    transform:rotateZ(-1.05deg) perspective(1800px) rotateX(76deg)!important;
    transform-origin:top center!important;
  }

  .l-laptop:after{
    left:110px!important;
    right:8px!important;
    top:651px!important;
    height:10px!important;
    transform:rotateZ(-1.05deg)!important;
  }

  /* Card 3 phải che cạnh trái laptop giống mẫu. */
  .l-intro{z-index:4!important}
  .l-process{z-index:6!important}
  .l-process .l-step:nth-of-type(3){position:relative;z-index:8!important}
  .l-menu{z-index:9!important}
}

/* === V1.8.13 CLEAN DEVICE PREVIEW: new outer component, no patching old l-laptop === */
@media (min-width:1301px){
  .landing-stage{
    position:relative!important;
    width:min(1540px, calc(100vw - 40px))!important;
    min-height:786px!important;
    margin:0 auto!important;
    padding:28px 0 0!important;
    overflow:hidden!important;
  }

  .l-intro{left:58px!important;top:32px!important;width:660px!important;position:absolute!important;z-index:4!important}
  .l-intro h1{font-size:70px!important;line-height:1.03!important;margin:24px 0 12px!important}
  .l-intro p{font-size:17px!important;max-width:650px!important}

  .hero-device{
    position:absolute;
    z-index:2;
    top:18px;
    right:8px;
    width:860px;
    height:625px;
    pointer-events:none;
    filter:drop-shadow(0 26px 30px rgba(26,54,102,.17));
  }

  .hero-device .l-screen{
    position:absolute!important;
    left:18px!important;
    right:18px!important;
    top:0!important;
    width:auto!important;
    height:548px!important;
    box-sizing:border-box!important;
    background:#10192c!important;
    border:11px solid #111a2c!important;
    border-bottom-width:15px!important;
    border-radius:25px 25px 10px 10px!important;
    box-shadow:0 23px 45px rgba(27,55,104,.20)!important;
    overflow:hidden!important;
    transform:perspective(1800px) rotateY(-2.2deg) rotateX(.25deg) rotateZ(-1.15deg)!important;
    transform-origin:bottom center!important;
  }
  .hero-device .l-screen:after{display:none!important;content:none!important}
  .hero-device .l-screen:before{top:-7px!important;left:50%!important;width:4px!important;height:4px!important}
  .hero-device .l-screen>.l-screen-top,
  .hero-device .l-screen>.l-screen-body{transform:none!important}
  .hero-device .l-screen-top{height:42px!important;padding:0 16px!important;font-size:8px!important}
  .hero-device .l-screen-body{height:calc(100% - 42px)!important;grid-template-columns:112px minmax(0,1fr)!important}
  .hero-device .l-mini-main{grid-template-rows:22px 62px minmax(214px,1fr) 72px!important}
  .hero-device .l-mini-grid article{min-height:206px!important}
  .hero-device .l-mini-bars .bars{height:162px!important;min-height:162px!important}
  .hero-device .l-mini-table{height:70px!important}

  .hero-device:before{
    content:"";
    position:absolute;
    z-index:3;
    left:100px;
    right:48px;
    top:543px;
    height:7px;
    border-radius:0 0 8px 8px;
    background:linear-gradient(180deg,#737f8e,#dfe5ea 46%,#9ba7b4);
    transform:rotateZ(-1.05deg);
  }
  .hero-device .l-base{
    position:absolute!important;
    z-index:1!important;
    left:48px!important;
    right:0!important;
    top:548px!important;
    bottom:auto!important;
    width:auto!important;
    height:58px!important;
    border-radius:1px 1px 16px 16px!important;
    background:linear-gradient(180deg,#eef2f5 0,#c8d0d8 28%,#f5f7f8 58%,#adb9c4 100%)!important;
    clip-path:polygon(3% 0,97% 0,100% 72%,93% 100%,7% 100%,0 72%)!important;
    box-shadow:0 12px 18px rgba(34,63,110,.18)!important;
    transform:perspective(1500px) rotateX(70deg) rotateZ(-1.05deg)!important;
    transform-origin:top center!important;
  }
  .hero-device .l-base:before,
  .hero-device .l-base:after{display:none!important;content:none!important}
  .hero-device:after{
    content:"";
    position:absolute;
    z-index:0;
    left:84px;
    right:4px;
    top:592px;
    height:10px;
    border-radius:50%;
    background:rgba(64,85,108,.18);
    filter:blur(4px);
    transform:rotateZ(-1deg);
  }

  .l-process{
    left:58px!important;
    top:322px!important;
    width:960px!important;
    grid-template-columns:272px 44px 272px 44px 272px!important;
    gap:8px!important;
    z-index:7!important;
  }
  .l-process .l-step{min-height:316px!important}
  .l-process .l-step:nth-of-type(3){position:relative!important;z-index:9!important}

  .l-menu{
    left:96px!important;
    right:96px!important;
    top:660px!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:12px!important;
    z-index:10!important;
  }
  .l-menu-item{height:52px!important}
}
