@import url('/releases/063/modern-content.css');
:root{--paper:#f7f8f4;--ink:#173e33;--muted:#65796d;--cream:#f5efdf;--line:#dfe6dc;--croeso-green:#123d34;--croeso-red:#9a1c1f;color-scheme:light}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden;background:var(--paper);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #94ae7d;outline-offset:3px}button:active{transform:scale(.98)}[hidden],.hidden{display:none!important}
body>#app:not(.hidden){display:flex!important;flex-direction:column;height:100dvh;min-height:0;width:100%;padding-top:env(safe-area-inset-top);grid-template-columns:none;background:var(--paper)}#next-header{position:relative!important;display:flex!important;flex:none!important;align-items:center;gap:12px;height:78px;padding:12px 18px!important;background:var(--paper)!important;border:0!important;box-shadow:none!important;color:var(--ink)!important}.next-logo{width:74px;height:52px;object-fit:contain}.next-title{font-size:10px;letter-spacing:1.2px;font-weight:700;flex:1;min-width:0}.next-title button{display:flex;gap:8px;max-width:100%;background:none;border:0;padding:4px 0;font-size:13px;letter-spacing:0;font-weight:600;color:var(--ink)}.next-icon{background:none;border:0;padding:0;min-width:42px;height:42px;color:var(--ink);font:30px system-ui;border-radius:50%}.test-strip{display:flex;justify-content:space-between;gap:8px;padding:5px 18px;background:#e8eddf;color:#476141;font-size:8px;letter-spacing:.7px;flex:none}.test-strip span{letter-spacing:0;font-size:9px}#app>#next-scroll{padding:0 18px 26px!important;display:block!important;overflow:auto;overscroll-behavior-y:contain;min-width:0;min-height:0;flex:1;width:100%;scroll-behavior:smooth;margin:0!important}#page{padding:0!important;min-width:0}#next-context{padding-top:14px}#next-nav{position:relative!important;inset:auto!important;display:flex!important;flex:none;justify-content:space-around;background:#fff!important;border-top:1px solid var(--line);padding:7px 6px max(9px,env(safe-area-inset-bottom));z-index:30;box-shadow:0 -6px 25px #183d3305}#next-nav button{border:0;background:transparent;display:flex;flex:1;flex-direction:column;align-items:center;gap:3px;padding:7px 0;font-size:10px;color:#65766c;border-radius:16px;min-height:54px}#next-nav button span{font:25px/1 system-ui}#next-nav [aria-current]{background:#e8eedf;color:#164633;font-weight:700}.next-intro{padding:20px 0 13px}.next-intro h1{font-size:29px;letter-spacing:-1px;line-height:1.12;margin:14px 0 10px}.next-intro p{color:var(--muted);font-size:13px}.next-eyebrow{font-size:9px!important;letter-spacing:1.3px}.next-search{width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;min-height:48px;padding:12px;color:var(--muted)}.next-group{margin:26px 0}.next-group h2{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);margin:14px 0}.next-link{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:17px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);min-height:54px}.next-link strong{display:block;font-size:14px;font-weight:600}.next-link small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.next-link b{font:23px system-ui}.next-segments{display:flex;background:#e9ede5;border-radius:12px;padding:4px;margin:6px 0 18px;gap:4px}.next-segments button{flex:1;background:none;border:0;border-radius:9px;padding:10px 8px;font-size:12px;color:#6b7b6f}.next-segments button[aria-pressed=true]{background:#fff;color:#153d33;font-weight:650;box-shadow:0 2px 4px #213b3010}.next-period{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 20px;font-weight:600}.next-period select{font-size:13px;padding:8px;border:0;background:none;color:var(--ink);max-width:145px}.next-period label{margin:0}.next-forward{animation:next-in .25s ease-out}.next-back{animation:next-back .22s ease-out}@keyframes next-in{from{opacity:.2;transform:translateX(15px)}to{opacity:1;transform:none}}@keyframes next-back{from{opacity:.3;transform:translateX(-12px)}to{opacity:1;transform:none}}
#next-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:89dvh;padding:0;border:0;border-radius:28px 28px 0 0;background:var(--paper);color:var(--ink);animation:sheet-in .28s ease-out}#next-sheet::backdrop{background:#143c3266;backdrop-filter:blur(3px)}#next-sheet header{display:flex;align-items:center;justify-content:space-between;padding:0 20px;border:0;background:none}#next-sheet h2{font-size:22px;letter-spacing:-.5px}#next-sheet .next-sheet-body{padding:0 20px 28px}#next-sheet input{width:100%;padding:14px;border:1px solid var(--line);background:#fff;border-radius:13px;font-size:16px}.next-grab{height:22px;background:linear-gradient(#ccd4c6,#ccd4c6) center/36px 4px no-repeat}#next-toast{display:none}.next-stepper{display:flex;justify-content:space-between;position:relative;margin:18px 0 22px;padding-bottom:15px;color:#6c7d70;font-size:10px}.next-stepper i{position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(to right,#62846e var(--progress),#dfe5d9 var(--progress));border-radius:3px}.next-flow-controls{position:sticky;bottom:0;padding:14px 0 0;background:linear-gradient(transparent,var(--paper) 15px)}.next-primary{width:100%;padding:15px;background:#164d3c;color:#fff;border:0;border-radius:14px;font-weight:650}.next-previous{display:block;padding:13px 0;margin:auto;border:0;background:none;color:#657a6b;font-size:12px}.next-sales-step .sales-report-grid{display:block}.sales-report-heading p{font-size:14px}.sales-report-send{border-radius:14px!important;min-height:48px;width:100%}.sales-report-actions{display:flex;flex-wrap:wrap}.sales-report-notes textarea{min-height:100px!important;height:auto!important}.sales-report-notes textarea[name=description]{height:150px!important}.sales-report-amounts{display:grid!important;grid-template-columns:1fr!important;gap:18px;background:#fff;border:1px solid var(--line);padding:18px;border-radius:20px;margin-top:20px}.sales-report-amounts input{font-size:20px!important}.sales-report-total{background:none!important;color:var(--ink)!important;border-top:1px solid var(--line);padding:18px 0 0!important;margin-top:6px}.sales-report-total output{font-size:27px!important}.sales-report-money{background:var(--paper)!important;border-radius:12px!important;min-height:51px}.sales-report-grid input{max-width:100%;width:100%;font-size:16px}.sales-report form label{font-size:13px}.sales-report .report-targets{grid-template-columns:1fr 1fr!important;gap:10px}.sales-report .report-targets>div{border-radius:13px!important;padding:14px!important}.sales-report .report-targets strong{font-size:23px}.sales-report .report-targets span{font-size:10px}.sales-report-history .report-log-filters{display:flex;flex-wrap:wrap}.sales-report-history h2{font-size:21px}#sales-report-confirm,#sales-report-detail{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:100%!important;max-height:90dvh!important;margin:0!important;border:0!important;border-radius:25px 25px 0 0!important;padding:22px!important}#sales-report-confirm p{font-size:13px}.ent-agenda-foot{font-size:10px}.ent-agenda .ent-booking{border-radius:17px}.ent-calendar-venue select{max-width:150px}#page iframe{min-height:560px!important;border-radius:15px}.next-forward .ac-detail-open{animation:next-in .24s ease-out}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}@media(max-width:350px){#next-header{gap:7px;padding:10px 12px!important}.next-logo{width:65px}#app>#next-scroll{padding-left:12px!important;padding-right:12px!important}.test-strip{padding-left:12px;padding-right:12px;font-size:7px}}

#page iframe{min-height:400px!important;display:block;width:100%;border:0}#sales-report-confirm:not([open])::before{content:none!important}
#page iframe{height:calc(100dvh - 200px)!important;max-height:calc(100dvh - 170px)!important}
.next-icon{display:grid;place-items:center}#next-nav button span{display:block;height:24px}.next-welcome{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#103d33;color:#ecdfbd;pointer-events:none;animation:welcome-away .5s 1.25s forwards}.welcome-dragon{position:absolute;width:110%;max-width:none;opacity:.045;transform:rotate(-12deg)}.welcome-logo{position:relative;width:165px;filter:drop-shadow(0 12px 25px #0002);animation:logo-arrive .8s both}.next-welcome p{position:relative;font:42px Georgia,serif;margin:30px 0 5px;color:#ecdfbd}.next-welcome small{position:relative;font-size:12px;letter-spacing:3px;text-transform:uppercase}@keyframes welcome-away{to{opacity:0;visibility:hidden}}@keyframes logo-arrive{from{opacity:0;transform:translateY(15px) scale(.96)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.next-welcome{display:none}}

/* Native shell: preserve authentication visibility and both device safe areas. */
#app.hidden{display:none!important}#app>.native-legacy{display:none!important}#app>#next-scroll{padding-left:max(18px,env(safe-area-inset-left))!important;padding-right:max(18px,env(safe-area-inset-right))!important;padding-top:0!important}#next-header{padding-left:max(18px,env(safe-area-inset-left))!important;padding-right:max(18px,env(safe-area-inset-right))!important}#next-sheet{padding-bottom:env(safe-area-inset-bottom)}#app #page{overflow:visible!important}#next-period-select{font-size:16px}#next-nav button{min-height:52px}.next-account{padding-bottom:20px}.next-title button{min-height:30px}.next-title{overflow:hidden}.next-title button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-microsoft-connection{margin:12px 0;padding:12px;border-radius:12px;font-size:12px}#peopleDialog{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}#peopleDialog .member-list{max-height:50dvh}#people-back{margin:0 0 16px}#peopleDialog[data-editing=true] .member-column{display:none}#peopleDialog:not([data-editing=true]) .member-editor{display:none}#peopleDialog .people-layout{display:block}#peopleDialog .field-grid,#peopleDialog .checks-grid{grid-template-columns:1fr}#peopleDialog .dialog-head{position:sticky;top:-20px;background:#fff;z-index:2;padding:12px 0}#peopleDialog .member-editor{min-width:0}@media(min-width:700px){#peopleDialog .field-grid,#peopleDialog .checks-grid{grid-template-columns:1fr 1fr}#app>#next-scroll{padding-left:28px!important;padding-right:28px!important}#next-header{height:86px;padding-inline:28px!important}#next-nav{justify-content:center}#next-nav button{max-width:150px}.sales-report-amounts{grid-template-columns:1fr 1fr!important}.sales-report-total{grid-column:1/-1}#next-sheet{width:600px;max-width:100%;margin-inline:auto;border-radius:28px 28px 0 0}}

/* Native status icons remain white, with a dark safe-area strip behind them. */
body>#app:not(.hidden){background:linear-gradient(to bottom,#0c332f 0,#0c332f env(safe-area-inset-top,0px),var(--paper) env(safe-area-inset-top,0px),var(--paper) 100%)}
.next-admin{padding:4px 16px 12px;background:#e8eedf;border-radius:16px;margin:18px 0}.next-credits{font-size:11px;color:var(--muted);padding-bottom:16px}.next-credits a{color:inherit}

/* Shared desktop/app polish: explicit contrast and stable control geometry. */
#loginForm h1{color:#f5efdf!important}
#next-header .desktop-avatar{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0!important;border:0!important;border-radius:50%;line-height:1!important;text-align:center;letter-spacing:0}
#next-context .next-period{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:12px 0 20px;padding:12px 16px;border:1px solid #dfe6dc;border-radius:8px;background:#fff}
#next-context .next-period label{display:flex;align-items:center;gap:14px;margin:0;min-width:0;font-size:12px;color:#65796d}
#next-context .next-period select{display:block;width:220px;max-width:100%;min-height:42px;margin:0;padding:8px 34px 8px 12px!important;border:1px solid #cdd9d0!important;border-radius:6px!important;background:#f7f8f4!important;color:#173e33;font-size:14px!important;line-height:1.4}
@media(max-width:600px){#next-context .next-period{justify-content:stretch;padding:12px}#next-context .next-period label{width:100%;flex-direction:column;align-items:stretch;gap:7px}#next-context .next-period select{width:100%;font-size:16px!important}}
/* Let the calendar's 800px breakpoint choose the embed or agenda together with its loader. */
.ent-page .ent-calendar .panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 20px}
.ent-page .ent-calendar-venue{display:flex;align-items:center;gap:10px;min-width:0}
.ent-page .ent-calendar-venue select{width:230px;max-width:100%;margin:0;min-height:42px}
@media(min-width:801px){.ent-page .ent-outlook iframe{width:100%;height:650px!important;min-height:560px;border:0}.ent-page .ent-calendar{padding:0!important;overflow:hidden}}
@media(max-width:800px){.ent-page .ent-calendar .panel-head{display:grid;grid-template-columns:1fr auto;padding:16px}.ent-page .ent-calendar-venue{grid-column:1/-1;display:grid;gap:7px}.ent-page .ent-calendar-venue select{width:100%;max-width:none}.ent-page .ent-calendar{padding:0!important}}

/* Aligned home panels and compact page controls. */
.home-root .middle-grid>.next-disclosure{margin:0!important;min-width:0}
.home-root .middle-grid>.next-disclosure>summary{min-height:116px;box-sizing:border-box}
.home-root .middle-grid>.next-disclosure[open]>.card{border:0!important;border-radius:0!important;margin:0!important;flex:1;min-height:0!important}
.home-root .middle-grid .section-head:has(>div:first-child>h3){min-height:0}
.home-root .middle-grid .sales>.section-head{display:none!important}
.home-root .home-reports .report-card{min-height:0!important}
.home-root .sales-chart svg{max-height:240px!important;width:100%!important}
.ac-notes-page .ac-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px!important;padding:16px!important}
.ac-notes-page .ac-scope-filters,.ac-notes-page .ac-list-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;width:100%;margin:0!important}
.ac-notes-page .ac-list-tools{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ac-notes-page .ac-toolbar label{min-width:0!important;display:grid;gap:6px;font-size:12px!important}
.ac-notes-page .ac-toolbar input,.ac-notes-page .ac-toolbar select{width:100%;height:42px;margin:0!important;padding:9px 12px!important;border:1px solid #ccd9d1!important;border-radius:8px!important}
.ov-donut{max-height:220px!important}.chart-wrap svg,.rep-chart svg,.security-page svg[data-chart]{max-height:260px}
@media(min-width:1000px){.home-root .middle-grid{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;align-items:stretch!important;gap:18px!important}.home-root .middle-grid>.next-disclosure[open]{display:flex;flex-direction:column}}
@media(max-width:600px){.home-root .middle-grid>.next-disclosure{margin:12px 0!important}.home-root .middle-grid>.next-disclosure>summary{min-height:0}.ac-notes-page .ac-scope-filters,.ac-notes-page .ac-list-tools{grid-template-columns:1fr!important}.home-root .sales-chart{overflow-x:auto!important}.home-root .sales-chart svg{min-width:520px!important;max-height:220px!important}.home-root .chart-scroll-hint{display:block!important}.chart-wrap{overflow-x:auto!important}.chart-wrap svg{min-width:560px!important;max-height:220px}}
@media(min-width:1000px){.home-root .middle-grid>.next-disclosure>summary{height:128px!important;flex:0 0 128px!important;padding-bottom:16px!important}.home-root .middle-grid>.next-disclosure[open]>.card{height:auto!important;flex:1 1 auto!important}}

.banner-description,.desktop-page-description,.page-banner>div>p{display:none!important}
