@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#102a43;--blue:#2563eb;--bg:#f5f7fb;--muted:#6c7f94;--border:#dfe7ef;--green:#16a34a;--red:#dc2626}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--navy);font:14px 'DM Sans',sans-serif}h1,h2,h3,strong{font-family:Manrope,sans-serif}h1{font-size:32px;letter-spacing:-1px}h2{font-size:24px;letter-spacing:-.5px}p{line-height:1.7}a{color:var(--blue);text-decoration:none}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:11px 17px;background:var(--blue);color:white;font:600 13px 'DM Sans',sans-serif;cursor:pointer;text-decoration:none}button:hover,.button:hover{filter:brightness(.95)}button:disabled{opacity:.55;cursor:wait}.secondary{background:white;color:var(--navy);border:1px solid var(--border)}.danger{background:#fef2f2;color:var(--red)}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #ccd8e4;background:white;border-radius:8px;font:inherit;color:inherit}input:focus,select:focus,textarea:focus{outline:3px solid #2563eb22;border-color:var(--blue)}label{display:grid;gap:7px;font-weight:600}small,.muted{color:var(--muted)}.tag{display:inline-flex;align-items:center;gap:7px;background:#eaf0ff;color:#2454af;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700}.green{color:var(--green)}.red{color:var(--red)}.logo{width:48px;height:48px;object-fit:contain;background:white;border-radius:9px}.brand{display:flex;align-items:center;gap:11px;color:inherit}.brand strong{display:block;font-size:15px}.brand small{display:block;font-size:9px;letter-spacing:2px}.panel,.card{background:white;border:1px solid var(--border);border-radius:13px;padding:23px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.card label{font-size:12px;font-weight:500;color:var(--muted)}.card strong{display:block;font-size:25px;margin:13px 0 6px;letter-spacing:-.7px}.card small{font-size:11px}.notice{padding:13px 17px;background:#edf4ff;border:1px solid #d7e7ff;border-radius:9px;line-height:1.6;margin:16px 0}.error{color:var(--red);background:#fff1f1}.empty{text-align:center;padding:55px 20px;color:var(--muted)}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);background:#f8fafc}td,th{padding:14px 12px;border-bottom:1px solid #edf1f5}td button{padding:6px 9px;font-size:11px}.tablewrap{overflow:auto;margin:15px -5px}.num{text-align:right;font-variant-numeric:tabular-nums}dialog{border:0;border-radius:15px;padding:27px;max-width:760px;width:94vw;max-height:90vh;box-shadow:0 20px 80px #102a4355}dialog::backdrop{background:#102a4377;backdrop-filter:blur(3px)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}#toast{position:fixed;bottom:25px;right:25px;max-width:90vw;background:var(--navy);color:white;padding:14px 22px;border-radius:10px;z-index:100;display:none}.shell{display:grid;grid-template-columns:246px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);padding:25px 17px;display:flex;flex-direction:column;color:white}.sidebar nav{overflow:auto;margin-top:30px;flex:1}.sidebar nav small{display:block;color:#7794b0;padding:18px 13px 8px;font-size:10px;text-transform:uppercase;letter-spacing:1.5px}.sidebar button{width:100%;justify-content:flex-start;margin:3px 0;background:transparent;color:#b9cadd;padding:11px 14px;font-weight:500}.sidebar button.active{background:#2563eb;color:white}.sidebar .brand small{color:#a9bfd0}.sidebar footer{padding:15px 8px 0;border-top:1px solid #ffffff18}.main{min-width:0}.topbar{height:77px;border-bottom:1px solid var(--border);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.topbar small{font-size:12px}.workspace{padding:30px 34px;max-width:1700px;margin:auto}.workspace h1{margin:0 0 7px}.periodbar{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.periodbar input,.periodbar select{width:auto;max-width:230px}.toolbar input{max-width:200px}.chart{display:flex;gap:12px;align-items:flex-end;height:140px;padding-top:10px}.chart>div{flex:1;text-align:center;font-size:10px;color:var(--muted)}.chart i{display:block;width:55%;min-width:20px;background:#2563eb;border-radius:5px 5px 0 0;margin:auto auto 9px}.chart span{display:block}.sectionhead{margin:24px 0 18px}.marketing{max-width:1200px;margin:auto;padding:0 32px}.marketing header{padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.marketing header nav{display:flex;gap:25px;font-size:12px}.marketing header nav a{color:var(--navy)}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center;padding:80px 0}.hero h1{font-size:55px;line-height:1.12;letter-spacing:-2.5px;margin:22px 0}.hero p{font-size:16px;color:var(--muted);max-width:470px}.hero img{width:100%;border-radius:22px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--blue)}.marketing section{padding-bottom:65px}.marketing .service{position:relative;overflow:hidden;padding:32px}.service b{font-size:13px;color:var(--blue)}.service ul{padding-left:19px;line-height:2.2;color:var(--muted)}.marketing footer{border-top:1px solid var(--border);padding:35px 0}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.auth-side{background:var(--navy);padding:45px 12%;color:white;display:flex;flex-direction:column;justify-content:center}.auth-side img.art{width:100%;margin:30px 0;border-radius:20px}.auth-side h1{font-size:35px;line-height:1.25}.auth-side p{color:#b5c9dd}.auth-form{padding:45px 12%;display:flex;flex-direction:column;justify-content:center}.auth-form form{display:grid;gap:17px}.auth-form .fields{margin:0}.auth-form label{font-size:12px}.auth-form h2{font-size:28px}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pricing strong{font-size:23px;display:block;margin:20px 0}.report-note{font-size:12px;line-height:1.7;color:var(--muted)}.mobile-menu{display:none}.progress{height:7px;border-radius:6px;background:#ecf1f8;overflow:hidden}.progress i{display:block;height:100%;background:#2563eb}.warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.document{padding:25px 10px}.document header{border-bottom:3px solid var(--navy);padding:15px 0;margin-bottom:25px}.document h1{font-size:26px}.document .totals{margin-left:auto;width:360px;max-width:100%}.document .totals p{display:flex;justify-content:space-between}.document table{white-space:normal}.legal{white-space:pre-wrap;line-height:1.8}.badge{width:34px;height:34px;border-radius:50%;background:#eaf0ff;color:#2563eb;display:grid;place-items:center;font-weight:bold}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.shell{grid-template-columns:215px 1fr}.workspace{padding:25px}.hero h1{font-size:43px}.marketing header nav{display:none}.hero{gap:20px}}@media(max-width:720px){.shell{display:block}.sidebar{position:fixed;z-index:60;width:246px;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 60px #102a4366}.mobile-menu{display:inline-flex;padding:8px}.topbar{padding:0 18px}.workspace{padding:22px 16px}.grid,.hero,.auth,.fields,.pricing{grid-template-columns:1fr}.auth-side{display:none}.auth-form{padding:35px 8%}.marketing{padding:0 20px}.hero{padding:40px 0}.hero h1{font-size:40px}.hero img{max-height:280px;object-fit:cover}.card{padding:16px}.card strong{font-size:22px}.panel{padding:18px}.toolbar{width:100%}.toolbar input{max-width:100%}.cards{gap:10px}.marketing header .button{padding:10px}.brand strong{font-size:12px}.periodbar input{max-width:170px}}@media print{body{background:white}.sidebar,.topbar,.periodbar,.noprint,dialog,#toast{display:none!important}.shell{display:block}.workspace{padding:0}.panel{border:0}.tablewrap{overflow:visible}table{white-space:normal}th,td{padding:7px}.cards{grid-template-columns:repeat(3,1fr)}.card{break-inside:avoid}.document{padding:0}@page{size:A4;margin:14mm}}

.auth-mobile-brand{display:none}@media(max-width:720px){.auth-mobile-brand{display:block;margin-bottom:28px}.auth-mobile-brand .logo{width:70px;height:70px}.auth-mobile-brand .brand strong{font-size:18px}}
/* V12 workspace refresh: shared tokens and mobile-first interactions. */
button,.button,input,select{min-height:44px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.workspace{max-width:1560px}.page-heading{margin-bottom:22px}.page-heading h1{margin-top:9px;font-size:30px}.sidebar details{border-bottom:1px solid #ffffff10;padding:7px 0}.sidebar summary{list-style:none;cursor:pointer;padding:12px 10px;color:#d6e3f0;font-size:12px;font-weight:700;display:flex;justify-content:space-between}.sidebar summary:after{content:'⌄';color:#83a3c4}.sidebar details[open] summary:after{content:'⌃'}.sidebar details button{font-size:12px;padding-left:23px}.sidebar .switch-service{border:1px solid #ffffff25;margin-top:27px;background:#ffffff0b;font-size:12px}.service-label{display:block;padding:16px 11px 0;font-weight:800;letter-spacing:2px;color:#8eb5ff;font-size:11px}.sidebar nav{margin-top:15px}.welcome{background:linear-gradient(115deg,#102a43,#1c4670);padding:34px;border-radius:18px;margin:0 0 24px;color:white}.welcome .eyebrow{color:#8fbaff}.welcome h2{font-size:29px;max-width:540px}.welcome p{color:#c7d9ed}.choice{position:relative;padding:32px;border-radius:18px;border-top:4px solid #2563eb;transition:transform .2s,box-shadow .2s}.choice:hover{transform:translateY(-4px);box-shadow:0 18px 45px #102a4312}.choice.projects{border-top-color:#0e9488}.choice .tag{float:right}.choice-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#edf3ff;color:#2563eb}.choice.projects .choice-icon{color:#0e9488;background:#e9f8f5}.choice h2{font-size:32px;letter-spacing:-1px;margin-bottom:8px}.choice h3{font-size:17px}.choice p{color:#6c7f94;max-width:390px;margin-bottom:25px}.choice button{min-width:210px}.choice.projects button{background:#0f827c}.quick-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.cards{gap:16px;margin:22px 0}.card{position:relative;border-radius:14px;box-shadow:0 3px 10px #102a4303;min-width:0}.card:before{content:'';position:absolute;left:0;top:24px;width:3px;height:29px;background:var(--blue);border-radius:0 3px 3px 0}.card strong{font-variant-numeric:tabular-nums;font-size:25px;overflow-wrap:anywhere}.panel{border-radius:15px}.panel h3{font-size:16px}.panel .cards .card{box-shadow:none}th{background:#eef3fa;font-size:11px;text-transform:none}td{font-size:12px}tbody tr:hover{background:#f5f8ff}.full-field{grid-column:1/-1}.payment-box{padding:20px;background:#f0f5ff;border:1px solid #dce8ff;border-radius:12px}.payment-box h3{margin-top:0}.money-preview{padding:18px;background:#f5f7fb;border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.money-preview p{grid-column:1/-1;margin:0;font-weight:700;color:var(--blue)}.ledger-filters{padding:20px 0;align-items:end}.ledger-filters label{font-size:12px;max-width:185px}dialog{max-height:90dvh;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#102a4370;backdrop-filter:blur(4px)}.cash-chart{height:175px}.cash-chart .bar-pair{display:flex;align-items:end;justify-content:center;gap:5px;height:110px}.cash-chart .bar-pair i{margin:0 0 8px;width:20px;min-width:12px}.cash-chart .bar-pair i:nth-child(2){background:#0e9488}.chart-legend{font-size:11px;display:flex;gap:20px}.chart-legend span:first-child{color:#2563eb}.chart-legend span:last-child{color:#0e9488}.socials{display:flex;gap:12px}.socials a{width:48px;height:48px;border-radius:14px;background:white;border:1px solid #dce6f1;display:grid;place-items:center;color:#102a43;transition:.2s}.socials a:hover{background:#2563eb;color:white;transform:translateY(-3px)}.marketing{max-width:1280px}.marketing header{padding:25px 0}.marketing .logo{width:60px;height:60px}.marketing .hero{padding-top:65px;padding-bottom:80px;position:relative}.hero h1{font-size:54px;line-height:1.13}.hero img{box-shadow:0 28px 55px #102a431a;border:8px solid white}.marketing .service{padding:35px;border-radius:20px;border-top:4px solid #2563eb;background:linear-gradient(140deg,white,#f0f5ff)}.marketing .service:nth-child(2){border-top-color:#0e9488;background:linear-gradient(140deg,white,#edf9f6)}.marketing .service h2{font-size:28px;max-width:360px}.marketing .service svg{display:block;margin-bottom:24px;color:#2563eb;width:38px;height:38px}.marketing section h2{line-height:1.3}.marketing #features-section{background:#102a43;color:white;border-radius:24px;padding:42px;margin:10px 0 70px}.marketing #features-section .eyebrow{color:#8ab4ff}.marketing #features-section .muted{color:#bdcfe1}.marketing #features-section .panel{color:#102a43}.workflow-visual{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding-bottom:70px}.workflow-visual img{width:100%;border-radius:20px}.workflow-visual h2{font-size:34px}.step-list{counter-reset:steps;display:grid;gap:16px;margin-top:25px}.step-list p{counter-increment:steps;margin:0;display:flex;align-items:center;gap:14px}.step-list p:before{content:counter(steps,decimal-leading-zero);color:#2563eb;background:#e7efff;min-width:36px;height:36px;display:grid;place-items:center;border-radius:10px;font-weight:700}.marketing #contact-section{display:flex;justify-content:space-between;align-items:center;padding:35px;background:#eaf0fa;border-radius:18px;margin-bottom:40px}.pricing .panel{position:relative}.pricing .panel:nth-child(3){border:2px solid #2563eb;box-shadow:0 12px 30px #2563eb0c}.document header{background:#102a43;color:white;border-top:6px solid #2563eb;padding:24px;border-bottom:0}.document th{background:#2563eb;color:white}.document tr:nth-child(even){background:#f5f7fb}.dossier-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.dossier-tabs button.active{background:#102a43;color:white}.empty{padding:45px!important;color:#71859b}.auth-side .brand .logo{width:82px;height:82px}.auth-side .brand strong{font-size:19px}.auth-side h1{font-size:39px}.auth-form h2{line-height:1.3}
@media(max-width:900px){.hero h1{font-size:43px}.workflow-visual{gap:25px}.cash-chart small{font-size:8px}.topbar small{font-size:10px}}@media(max-width:720px){.page-heading h1{font-size:25px}.welcome{padding:25px}.welcome h2{font-size:24px}.choice{padding:25px}.card strong{font-size:22px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions button{flex:1 1 140px}.periodbar{display:grid;grid-template-columns:1fr 1fr}.periodbar input,.periodbar select{width:100%;max-width:none;min-width:0}.periodbar select{grid-column:1/-1}dialog{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin:auto;padding:22px!important;border-radius:16px;max-height:90dvh}dialog h2{font-size:21px}dialog .fields{grid-template-columns:minmax(0,1fr)}dialog input,dialog select,dialog textarea{font-size:16px;min-width:0}.money-preview{grid-template-columns:1fr}.money-preview p{grid-column:auto}.marketing .hero{padding-top:35px}.hero h1{font-size:40px;letter-spacing:-1.8px}.hero img{max-height:none;object-fit:contain}.marketing header .brand span{display:none}.marketing header{gap:10px}.marketing header .row{gap:12px;font-size:12px}.marketing #features-section{padding:25px}.workflow-visual{grid-template-columns:1fr}.workflow-visual h2{font-size:29px}.marketing #contact-section{display:block;padding:25px}.socials{margin-top:20px}.ledger-filters{gap:10px}.ledger-filters label{max-width:none;width:calc(50% - 6px)}.cash-chart{gap:4px}.cash-chart small{display:none}.cash-chart .bar-pair{gap:3px}.cash-chart span{font-size:8px}.tablewrap{max-width:100%;overscroll-behavior-x:contain}.document{padding:0}.toolbar input{width:100%}.topbar{gap:10px}.topbar .tag{font-size:9px}.workspace>.page-heading>button{padding:9px;font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{*{print-color-adjust:exact;-webkit-print-color-adjust:exact}.quick-actions,.ledger-filters,.dossier-tabs{display:none!important}.document thead{display:table-header-group}.document tr{break-inside:avoid}.workspace{max-width:none}.welcome{background:white;color:#102a43}}

.welcome h2{max-width:720px}
[hidden]{display:none!important}
.card[role=button]{cursor:pointer;transition:box-shadow .18s,transform .18s}.card[role=button]:hover{box-shadow:0 8px 25px #102a4310;transform:translateY(-2px)}.card[role=button]:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}
#entryForm>.row:first-child{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:16px;align-items:start}#formTitle{margin:0;font-size:24px}#closeEditor{width:44px;padding:8px}@media(max-width:720px){#formTitle{font-size:21px}}
/* RC3: consolidated operations and monthly policy. */
.spending-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0;border-bottom:1px solid var(--border);padding-bottom:14px}.spending-tabs button[aria-selected=true]{background:#102a43;color:white;border-color:#102a43}.spending-tools{gap:14px;margin-bottom:18px}.spending-tools>input{max-width:300px}.operation-actions{flex-wrap:nowrap}.operation-actions button{font-size:11px;padding:8px 11px;white-space:nowrap}.spending-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.basis-policy{display:grid;grid-template-columns:minmax(200px,350px) auto;align-items:end;gap:15px;padding:20px;background:#f0f5ff;border:1px solid #dce7fb;border-radius:12px;margin:18px 0}.basis-policy button{justify-self:start}.basis-policy p{grid-column:1/-1;margin:0}.tablewrap th[aria-sort]{cursor:pointer}.tablewrap th[aria-sort=ascending]:after{content:' ↑';color:var(--blue)}.tablewrap th[aria-sort=descending]:after{content:' ↓';color:var(--blue)}@media(max-width:720px){.basis-policy{grid-template-columns:1fr;padding:16px}.basis-policy p{grid-column:auto}.spending-tools>input{max-width:none}.spending-summary{grid-template-columns:1fr}.spending-tabs button{flex:1 1 45%;font-size:12px}}

/* Editorial presentation inspired by the reference video; AM PRO BTP colors remain intact. */
.marketing{max-width:1320px;padding:0 clamp(20px,5vw,72px)}
.marketing header{padding:18px 0;border-bottom:1px solid var(--border)}
.marketing header nav{gap:clamp(14px,2.4vw,30px)}
.marketing .hero{grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,68px);padding:clamp(58px,8vw,105px) 0}
.marketing .hero h1{max-width:720px;font-size:clamp(42px,5.4vw,70px);line-height:1.04;letter-spacing:-.05em}
.marketing .hero img{aspect-ratio:1.08;object-fit:cover;border-radius:14px;box-shadow:0 24px 65px rgba(16,42,67,.16)}
.marketing .hero .eyebrow{display:inline-flex;align-items:center;gap:9px;color:#c2410c;background:#fff4e8;padding:9px 12px;border-radius:999px;letter-spacing:1.4px}
.marketing .hero .eyebrow:before{content:"";width:7px;height:7px;background:#f97316;border-radius:50%}
.marketing .service{border-radius:16px;box-shadow:0 14px 35px rgba(16,42,67,.06);transition:transform .2s,box-shadow .2s}
.marketing .service:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(16,42,67,.1)}
.marketing .service svg{width:42px;height:42px}
.marketing #features-section{border-top:3px solid #f97316}
.marketing .workflow-visual img{aspect-ratio:1.15;object-fit:cover;border-radius:14px}
.marketing .pricing .panel{border-radius:15px}
.marketing .pricing .panel:nth-child(3){border:1px solid #f97316;box-shadow:0 14px 32px rgba(249,115,22,.09)}
.marketing #contact-section{border-radius:14px}
@media(max-width:720px){.marketing{padding:0 18px}.marketing header{padding:14px 0}.marketing .hero{grid-template-columns:1fr;padding:42px 0 58px;gap:22px}.marketing .hero h1{font-size:clamp(38px,11vw,54px)}.marketing .hero img{aspect-ratio:1.25;max-height:330px}.marketing #features-section{border-top-width:3px}.marketing .workflow-visual{grid-template-columns:1fr;gap:20px}.marketing .pricing .panel:nth-child(3){border-width:1px}}

/* Soft, accessible motion for marketing navigation and click targets. */
html{scroll-behavior:smooth;scroll-padding-top:24px}
.marketing header nav a{position:relative;transition:color .2s ease}
.marketing header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;background:#f97316;transition:right .22s ease}
.marketing header nav a:hover:after,.marketing header nav a:focus-visible:after{right:0}
.marketing button,.marketing .button,.marketing a:not(.brand){transition:transform .18s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease}
.marketing button:hover,.marketing .button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(16,42,67,.14)}
.marketing button:active,.marketing .button:active{transform:translateY(1px) scale(.98);box-shadow:none}
.marketing .service,.marketing .pricing .panel,.marketing .hero img,.marketing .workflow-visual img{transition:transform .28s ease,box-shadow .28s ease}
.marketing .service:active,.marketing .pricing .panel:active{transform:scale(.99)}
.marketing .hero img:hover,.marketing .workflow-visual img:hover{transform:scale(1.012);box-shadow:0 25px 70px rgba(16,42,67,.2)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.marketing *,html:focus-within{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Release polish inspired by the supplied reel: a restrained light sweep on primary actions. */
.marketing .button,.marketing button{position:relative;overflow:hidden;isolation:isolate}
.marketing .button::after,.marketing button::after{content:"";position:absolute;inset:-20% auto -20% -55%;width:42%;pointer-events:none;background:linear-gradient(105deg,transparent 15%,rgba(255,255,255,.78) 47%,rgba(249,115,22,.34) 56%,transparent 82%);transform:skewX(-18deg);opacity:0}
.marketing .button:hover::after,.marketing button:hover::after,.marketing .button:focus-visible::after,.marketing button:focus-visible::after,.marketing .button:active::after,.marketing button:active::after{animation:amProLightSweep .72s ease-out}
@keyframes amProLightSweep{0%{left:-55%;opacity:0}12%{opacity:1}100%{left:125%;opacity:0}}
@media(prefers-reduced-motion:reduce){.marketing .button::after,.marketing button::after{display:none!important}}

/* November interface polish: retain blue branding, use orange for primary acquisition actions.
   Scoped to the public interface so payroll, projects and printed documents remain unchanged. */
.marketing{
  --accent:#f97316;
  --accent-soft:#fff4e8;
  --accent-ink:#9a3412;
}
.marketing .hero{
  background:radial-gradient(ellipse at 85% 35%,#fff0df 0,transparent 57%);
}
.marketing .hero>div{min-width:0}
.marketing .hero p{color:#52677d}
.marketing .hero .eyebrow{color:var(--accent-ink);background:var(--accent-soft);line-height:1.5}
.marketing .button:not(.secondary){
  background:var(--accent);
  color:var(--navy);
  font-weight:700;
  border:1px solid transparent;
  box-shadow:0 5px 16px #f9731624;
}
.marketing .button:not(.secondary):hover{background:#fb923c;filter:none}
.marketing .button:focus-visible,.marketing button:focus-visible{
  outline:3px solid var(--navy);
  outline-offset:4px;
}
.marketing .hero .secondary{border-color:#b6c6d6;background:#fff}
.marketing .hero img{border-radius:24px;border:6px solid #fff}
.marketing #services-section>.grid{margin-top:28px}
.marketing .service{display:flex;flex-direction:column;border-radius:20px}
.marketing .service p{color:#52677d;margin-top:0}
.marketing .service ul{color:#52677d;line-height:1.8;display:grid;gap:9px;margin-bottom:26px}
.marketing .service>a{align-self:flex-start;margin-top:auto;font-weight:700;padding:10px 0;min-height:44px}
.marketing .service h2{font-size:clamp(25px,2.5vw,32px);letter-spacing:-.7px}
.marketing .service:nth-child(2) svg{color:#0f827c}
.marketing #features-section{padding:clamp(26px,4vw,48px);border-radius:24px}
.marketing #features-section .panel{background:#fff;border:0;box-shadow:0 12px 30px #00000014}
.marketing #features-section .tag{white-space:normal;line-height:1.5}
.marketing .step-list p{align-items:flex-start;color:#52677d}
.marketing .step-list p:before{flex-shrink:0;background:var(--accent-soft);color:var(--accent-ink)}
.marketing .pricing{align-items:stretch;margin-top:28px}
.marketing .pricing .panel{border-radius:20px}
.marketing .pricing .panel:nth-child(3){border:2px solid var(--accent);background:linear-gradient(150deg,#fff,#fff8f1)}
.marketing #contact-section{background:linear-gradient(110deg,#eaf0fa,#fff4e8);border:1px solid #dfe7ef;border-radius:20px;gap:24px}
.marketing footer{gap:24px}
.marketing footer small{color:#52677d}
@media(max-width:720px){
  .marketing .hero{gap:30px;padding-bottom:48px}
  .marketing .hero h1{font-size:clamp(34px,10vw,48px);line-height:1.12;overflow-wrap:break-word}
  .marketing .hero .row{align-items:stretch;gap:10px}
  .marketing .hero .row>*{flex:1 1 100%;min-height:48px;text-align:center}
  .marketing .hero img{border-radius:18px;aspect-ratio:auto;object-fit:contain;max-height:none}
  .marketing .service{padding:25px}
  .marketing section{padding-bottom:48px}
  .marketing #features-section{margin-bottom:48px}
  .marketing .workflow-visual h2{font-size:28px}
  .marketing header .row{gap:10px}
  .marketing header .button{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){
  .marketing .service:hover,.marketing .service:active,
  .marketing .pricing .panel:active,.marketing .hero img:hover,
  .marketing .workflow-visual img:hover,.marketing .button:hover,
  .marketing .button:active,.marketing button:hover,.marketing button:active{transform:none}
}

/* Workspace visual refresh inspired by the dashboard reference.
   Screen-only presentation; calculations, stored data and print layouts are untouched. */
@media screen{
 .shell{background:radial-gradient(ellipse at 100% 0,#fff1e5 0,transparent 42%),#f5f7fb}
 .shell .sidebar{background:linear-gradient(165deg,#102a43,#163a59);padding:25px 17px}
 .shell .sidebar .logo{border-radius:14px}
 .shell .sidebar nav button{border-radius:11px;min-height:44px;transition:background-color .18s ease,color .18s ease}
 .shell .sidebar nav button:hover{background:#ffffff12;color:#fff}
 .shell .sidebar nav button.active{background:#f97316;color:#102a43;font-weight:700;box-shadow:0 5px 16px #00000015}
 .shell .sidebar summary{min-height:44px;align-items:center}
 .shell .sidebar .switch-service{background:#ffffff0d;border-color:#ffffff35;border-radius:12px}
 .shell .sidebar footer small{color:#c5d5e5;overflow-wrap:anywhere}
 .shell .topbar{background:#ffffffd9;border-bottom-color:#dfe7ef}
 .shell .topbar .badge{background:#fff0df;color:#9a3412;border-radius:12px;width:38px;height:38px}
 .shell .workspace{padding:32px;max-width:1560px}
 .shell .page-heading h1{font-size:clamp(25px,2.6vw,36px);line-height:1.2;letter-spacing:-1px}
 .shell .page-heading small{color:#52677d}
 .shell .periodbar{padding:14px;background:#ffffffb8;border:1px solid #dfe7ef;border-radius:16px;align-items:center}
 .shell .periodbar input,.shell .periodbar select{background:#fff}
 .shell .panel{border-radius:20px;box-shadow:0 5px 22px #102a4305}
 .shell .quick-actions{gap:10px}
 .shell .quick-actions button:not(.secondary){background:#f97316;color:#102a43;font-weight:700}
 .shell .quick-actions button{border-radius:12px;min-height:46px}
 .shell .secondary{border-color:#c9d6e3}
 .shell button:focus-visible,.shell summary:focus-visible,.shell [role=button]:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
 .shell .sidebar button:focus-visible,.shell .sidebar summary:focus-visible{outline-color:#fff}
 .shell[data-view=dashboard] #view>.cards{gap:16px}
 .shell[data-view=dashboard] #view>.cards>.card{border-radius:18px;padding:23px;border:1px solid #dfe7ef;box-shadow:0 6px 22px #102a4305;min-height:150px}
 .shell[data-view=dashboard] #view>.cards>.card:before{top:25px;height:24px}
 .shell[data-view=dashboard] #view>.cards>.card label{color:#52677d;font-size:12px;line-height:1.5;pointer-events:none}
 .shell[data-view=dashboard] #view>.cards>.card small{color:#52677d;line-height:1.5}
 .shell[data-view=dashboard] #view>.cards>.card strong{font-size:clamp(23px,2.1vw,31px);margin:17px 0 9px}
 .shell[data-view=dashboard] #view>.cards>.card:first-child{background:#102a43;border-color:#102a43;color:white}
 .shell[data-view=dashboard] #view>.cards>.card:first-child:before{background:#fb923c}
 .shell[data-view=dashboard] #view>.cards>.card:first-child label,
 .shell[data-view=dashboard] #view>.cards>.card:first-child small{color:#d5e2ef}
 .shell[data-view=dashboard] #view>.grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px}
 .shell[data-view=dashboard] #view>.grid>.panel{padding:25px}
 .shell[data-view=dashboard] #view>.grid>.panel:last-child{background:linear-gradient(135deg,#fff,#fff6ed)}
 .shell[data-view=dashboard] .chart i{border-radius:6px 6px 0 0}
 .shell[data-view=dashboard] .chart small,.shell[data-view=dashboard] .chart span{color:#52677d}
 .shell .welcome{border-radius:22px;border-bottom:3px solid #f97316}
 .shell .choice{border-radius:20px}
 .shell .tablewrap{border:1px solid #e3eaf2;border-radius:12px}
 .shell th{padding-top:15px;padding-bottom:15px}
 .shell tbody tr{transition:background-color .15s ease}
 @media(prefers-reduced-motion:no-preference){
  .shell #view>.cards>.card,.shell #view>.grid>.panel,.shell #view>.sectionhead{animation:amWorkspaceEnter .3s ease-out both}
  .shell #view>.cards>.card:nth-child(2){animation-delay:35ms}
  .shell #view>.cards>.card:nth-child(3){animation-delay:70ms}
  .shell #view>.cards>.card:nth-child(n+4){animation-delay:105ms}
 }
 @media(max-width:1100px){.shell .workspace{padding:25px}.shell[data-view=dashboard] #view>.grid{grid-template-columns:minmax(0,1fr)}}
 @media(max-width:720px){
  .shell .workspace{padding:22px 16px}
  .shell .topbar{padding:0 16px;gap:8px}
  .shell .topbar>.row{gap:8px;min-width:0}
  .shell .topbar small{font-size:9px}
  .shell .page-heading{align-items:flex-start;gap:16px}
  .shell .page-heading>div{min-width:0;flex:1 1 220px}
  .shell .periodbar{padding:12px;gap:10px}
  .shell .periodbar>*{min-width:0}
  .shell[data-view=dashboard] #view>.cards{gap:10px}
  .shell[data-view=dashboard] #view>.cards>.card{padding:17px 14px;min-height:142px}
  .shell[data-view=dashboard] #view>.cards>.card strong{font-size:23px}
  .shell[data-view=dashboard] #view>.cards>.card label{font-size:11px}
  .shell[data-view=dashboard] #view>.grid>.panel{padding:20px}
  .shell .quick-actions button{flex:1 1 160px}
  .shell .panel{border-radius:16px}
 }
 @media(max-width:360px){.shell[data-view=dashboard] #view>.cards{grid-template-columns:minmax(0,1fr)}}
 @media(prefers-reduced-motion:reduce){.shell .card[role=button]:hover,.shell .choice:hover{transform:none}}
}
@keyframes amWorkspaceEnter{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* V29 reference refinement: quiet surfaces and consistent control groups. */
@media screen{
 .shell[data-view=dashboard] #view>.cards>.card:nth-child(4){
  background:linear-gradient(140deg,#fff4e8,#fff);border-color:#fed7aa;
 }
 .shell[data-view=dashboard] #view>.cards>.card:nth-child(4):before{background:#f97316}
 .shell .sidebar details[open]{background:#ffffff06;border-radius:12px}
 .shell .sidebar details[open] summary{color:#fff}
 .shell .sidebar details button{margin:4px 0}
 .shell .dossier-tabs,.shell .spending-tabs{gap:8px;padding:8px;background:#edf2f8;border:1px solid #dfe7ef;border-radius:14px}
 .shell .dossier-tabs button,.shell .spending-tabs button{border-radius:10px;min-height:44px}
 .shell .dossier-tabs button.active,.shell .spending-tabs button[aria-selected=true]{box-shadow:0 3px 10px #102a4314}
 .shell .toolbar{gap:8px}
 .shell .toolbar input{background:#f8fafc;border-color:#d5e0eb}
 .shell .tablewrap:focus-within{border-color:#93b4e8}
 .shell td{padding-top:16px;padding-bottom:16px}
 .shell tbody tr:focus-within{background:#edf4ff}
 .shell .empty{line-height:1.8;background:#fafbfd}
 .shell #view>.panel>h3:first-child{margin-top:0}
 .shell .report-note{line-height:1.8}
 @media(hover:hover) and (pointer:fine){
  .shell .quick-actions button:not(:disabled):hover{box-shadow:0 5px 14px #102a4317}
  .shell .card[role=button]:hover{border-color:#93b4e8;box-shadow:0 10px 25px #102a4310}
 }
 @media(prefers-reduced-motion:no-preference){
  .shell #view>.panel:not(.sectionhead){animation:amWorkspacePanelIn .22s ease-out}
  .shell .quick-actions button{transition:box-shadow .18s ease,background-color .18s ease}
 }
 @media(max-width:720px){
  .shell .toolbar{gap:10px;align-items:stretch}
  .shell .toolbar input{flex:1 1 100%;max-width:none}
  .shell .toolbar button{flex:1 1 auto}
  .shell .dossier-tabs button{flex:1 1 140px}
 }
}
@keyframes amWorkspacePanelIn{from{opacity:.75}to{opacity:1}}
