/* P7 — unified customer-facing design system */
:root{
  --p7-ink:#1c2c2a;--p7-muted:#6d7d79;--p7-line:#e4ece8;--p7-bg:#f5f8f6;--p7-white:#fff;
  --p7-primary:#176b5e;--p7-primary-dark:#105347;--p7-primary-soft:#e8f3ef;--p7-sidebar:#fff;
  --p7-shadow:0 5px 18px rgba(20,55,45,.045);--p7-radius:14px;
}
#app.authenticated{background:var(--p7-bg)!important;color:var(--p7-ink)!important;min-height:100vh!important;display:flex!important;align-items:stretch!important}
#app.authenticated>aside{position:sticky!important;top:0!important;left:auto!important;width:258px!important;min-width:258px!important;height:100vh!important;max-height:100vh!important;overflow-y:auto!important;padding:17px 13px 15px!important;background:var(--p7-sidebar)!important;color:var(--p7-ink)!important;border-right:1px solid var(--p7-line)!important;box-shadow:none!important;z-index:900!important;display:flex!important;flex-direction:column!important}
#app.authenticated .p7-brand{padding:5px 10px 14px!important;margin:0!important;min-height:56px!important;display:flex!important;align-items:center!important}
#app.authenticated .p7-brand img{width:100%!important;max-width:205px!important;height:auto!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important}
#app.authenticated .p7-workspace-label{display:flex;align-items:center;gap:8px;padding:5px 11px 12px;color:#8b9a95;font-size:9px;font-weight:850;letter-spacing:.13em}
.p7-status-dot{width:7px;height:7px;border-radius:50%;background:#2e987b;box-shadow:0 0 0 3px #e8f3ef}
#app.authenticated .p7-search-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid var(--p7-line)!important;background:#f8fbf9!important;color:#697a75!important;border-radius:10px!important;font-weight:650!important;box-shadow:none!important}
#app.authenticated .p7-search-link kbd{margin-left:auto;font-size:10px;background:#fff;border:1px solid var(--p7-line);border-radius:5px;padding:2px 5px;color:#7c8b86}
#app.authenticated .p7-sidebar-section{margin:13px 0 5px!important;padding:8px 11px 4px!important;color:#9aa8a3!important;font-size:9px!important;font-weight:850!important;letter-spacing:.13em!important}
#app.authenticated aside .p7-nav-link,#app.authenticated aside .p7-nav-group-toggle{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:39px!important;padding:9px 11px!important;margin:2px 0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#52645e!important;text-align:left!important;font-size:12px!important;font-weight:650!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s,color .15s!important}
#app.authenticated aside .p7-nav-link:hover,#app.authenticated aside .p7-nav-group-toggle:hover{background:#f2f7f4!important;color:var(--p7-primary-dark)!important;transform:none!important}
#app.authenticated aside .p7-nav-link.active{background:var(--p7-primary-soft)!important;color:var(--p7-primary-dark)!important;font-weight:800!important;box-shadow:inset 3px 0 var(--p7-primary)!important}
.p7-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;flex:0 0 18px;font-size:14px;color:#80938b}
.p7-nav-group{margin:1px 0}.p7-nav-group-toggle .p7-chevron{margin-left:auto;color:#9aaba4;font-size:14px;transition:transform .15s}.p7-nav-group.is-open .p7-chevron{transform:rotate(180deg)}
.p7-nav-children{padding:2px 0 4px 29px}.p7-nav-children[hidden]{display:none!important}.p7-nav-children .p7-nav-link{min-height:34px!important;padding:7px 10px!important;font-size:11px!important;position:relative}.p7-nav-children .p7-nav-link.active{box-shadow:inset 2px 0 var(--p7-primary)!important}
#app.authenticated aside .p7-signout{margin-top:12px!important;color:#a34c4c!important;border-top:1px solid var(--p7-line)!important;border-radius:0!important;padding-top:15px!important}
#app.authenticated aside .p7-signout:hover{background:#fff6f5!important;color:#8b3030!important}
#app.authenticated .sidebar-overlay{display:none!important}
.p7-workspace{display:flex;flex-direction:column;min-width:0;flex:1;min-height:100vh}
.p7-appbar{height:68px!important;min-height:68px!important;position:sticky!important;top:0!important;z-index:800!important;display:flex!important;align-items:center!important;gap:17px!important;padding:0 28px!important;background:rgba(255,255,255,.94)!important;border:0!important;border-bottom:1px solid var(--p7-line)!important;box-shadow:none!important;backdrop-filter:blur(12px)!important}
.p7-breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#83928c;white-space:nowrap}.p7-breadcrumb strong{color:var(--p7-ink);font-weight:800}.p7-breadcrumb-sep{color:#b7c2bd}.p7-topbar-spacer{flex:1}
.p7-current-date{font-size:11px;color:#7d8e87;white-space:nowrap}
.p7-topbar-button,.p7-topbar-icon,.p7-topbar-profile,.p7-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--p7-line);background:#fff;color:#40544d;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.p7-topbar-button kbd{font-size:9px;color:#82918b;background:#f4f7f5;padding:2px 4px;border-radius:4px}.p7-topbar-icon{width:35px;height:35px;padding:0;font-size:15px}.p7-topbar-profile{background:#eef5f1;border-color:#e0ebe5;color:#315c4f}.p7-mobile-toggle{display:none}
#app.authenticated .content{width:100%!important;max-width:none!important;min-width:0!important;flex:1!important;padding:27px 30px 42px!important;margin:0!important}
#app.authenticated .pg{width:100%;max-width:1500px;margin:0 auto}
#app.authenticated .pg>.page-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 20px!important;padding:0!important;min-height:52px}
#app.authenticated .pg>.page-head h1{font-size:26px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.04em!important;color:var(--p7-ink)!important;margin:0 0 5px!important}
#app.authenticated .pg>.page-head p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:var(--p7-muted)!important;max-width:760px}
#app.authenticated .page-kicker{color:var(--p7-primary)!important;font-size:9px!important;font-weight:850!important;letter-spacing:.14em!important;margin-bottom:6px!important}
#app.authenticated .card{background:#fff!important;border:1px solid var(--p7-line)!important;border-radius:var(--p7-radius)!important;box-shadow:var(--p7-shadow)!important;padding:18px!important;margin-bottom:14px!important}
#app.authenticated .card h2{font-size:15px!important;font-weight:800!important;letter-spacing:-.02em!important;margin:0 0 7px!important;color:#253b34!important}
#app.authenticated .card h3{font-size:13px!important;font-weight:800!important;color:#2a4038!important}
#app.authenticated .muted{color:var(--p7-muted)!important}
#app.authenticated .btn{border-radius:9px!important;padding:9px 13px!important;font-size:11px!important;font-weight:750!important;letter-spacing:0!important;box-shadow:none!important;transition:background .15s,border-color .15s!important}
#app.authenticated .btn:hover{transform:translateY(-1px)!important}
#app.authenticated .btn.primary,#app.authenticated .btn:not(.secondary):not(.danger):not(.outline):not(.small){background:var(--p7-primary)!important;color:white!important}
#app.authenticated .btn.primary:hover{background:var(--p7-primary-dark)!important}
#app.authenticated .btn.secondary{background:#edf4f0!important;color:#365a4c!important}
#app.authenticated .btn.outline{background:#fff!important;color:#40564e!important;border:1px solid #dbe7e0!important}
#app.authenticated .btn.danger{background:#fff0ef!important;color:#a63c3c!important}
#app.authenticated input,#app.authenticated select,#app.authenticated textarea{border:1px solid #dce7e1!important;border-radius:9px!important;padding:10px 11px!important;background:#fff!important;color:#20332d!important;font-size:12px!important;box-shadow:none!important;min-height:39px}
#app.authenticated input:focus,#app.authenticated select:focus,#app.authenticated textarea:focus{border-color:#72a99a!important;box-shadow:0 0 0 3px rgba(33,120,98,.10)!important}
#app.authenticated label{font-size:11px!important;font-weight:750!important;color:#42564e!important;margin:10px 0!important}
#app.authenticated table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;white-space:nowrap!important;border-collapse:separate!important;border-spacing:0!important}
#app.authenticated table th{background:#f6f9f7!important;color:#71837a!important;font-size:9px!important;font-weight:850!important;letter-spacing:.06em!important;padding:11px 12px!important;border-bottom:1px solid var(--p7-line)!important}
#app.authenticated table td{font-size:11px!important;color:#384b43!important;padding:11px 12px!important;border-bottom:1px solid #edf2ef!important;vertical-align:middle!important}
#app.authenticated table tr:last-child td{border-bottom:0!important}
#app.authenticated .notice{border-radius:10px!important;font-size:11px!important;padding:12px 14px!important}
#app.authenticated .pill{background:#edf5f0!important;color:#3c6d59!important;font-size:10px!important}
#app.authenticated .grid,#app.authenticated .grid2,#app.authenticated .field-grid{gap:13px!important}

/* Dashboard: concise overview first, detailed accounting panels progressively disclosed. */
#app.authenticated #home>.page-head{margin-bottom:18px!important}
#app.authenticated #home>.dashboard-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important;margin:0 0 13px!important}
#app.authenticated #home>.dashboard-grid>.card{padding:17px 18px!important;min-height:112px!important;margin:0!important}
#app.authenticated #home .metric{font-size:25px!important;line-height:1.2!important;color:#1e3e33!important;font-weight:850!important}
#app.authenticated #home .metric-card:after{background:#e9f4ef!important;width:55px;height:55px}
#app.authenticated #home .metric-label{font-size:11px!important;color:#718179!important}
#app.authenticated #home .metric-trend{background:#edf5f1!important;color:#467361!important;font-size:9px!important}
#app.authenticated .p7-position-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:18px}
#app.authenticated .p7-position-card{display:flex;align-items:center;gap:12px;margin:0!important;padding:14px 17px!important;min-height:76px}
.p7-position-label{font-size:11px;font-weight:750;color:#718179;flex:1}.p7-position-value{font-size:17px;font-weight:850;color:#234a3a}.p7-position-card small{font-size:9px;color:#94a19a;max-width:155px;text-align:right}
#app.authenticated #home .dashboard-shell{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr)!important;gap:14px!important;align-items:start!important}
#app.authenticated #home .dashboard-main,#app.authenticated #home .dashboard-side{min-width:0!important;display:flex!important;flex-direction:column!important;gap:13px!important}
#app.authenticated #home .dashboard-side{display:flex!important}
#app.authenticated #home .dashboard-shell .card{margin:0!important}
#app.authenticated #home .chart-card{min-height:315px!important;margin:0!important}
#app.authenticated #home .chart-wrap{height:235px!important}
#app.authenticated #home .p7-dashboard-details{display:grid;grid-template-columns:1fr;gap:8px;margin-top:15px}
#app.authenticated .p7-dashboard-accordion{background:#fff;border:1px solid var(--p7-line);border-radius:12px;overflow:hidden}
#app.authenticated .p7-dashboard-accordion summary{list-style:none;cursor:pointer;padding:13px 16px;font-size:11px;font-weight:800;color:#43584f;display:flex;align-items:center;justify-content:space-between}
#app.authenticated .p7-dashboard-accordion summary::-webkit-details-marker{display:none}
#app.authenticated .p7-dashboard-accordion summary:after{content:'＋';font-size:14px;color:#81938a}.p7-dashboard-accordion[open] summary:after{content:'−'}
#app.authenticated .p7-dashboard-accordion-content{padding:0 14px 13px}
#app.authenticated .p7-dashboard-accordion-content>.card{box-shadow:none!important;border:0!important;padding:9px 0!important;margin:0!important}
#app.authenticated #home .quick-card{padding:15px!important}
#app.authenticated #home .quick-item{font-size:11px;padding:8px 0}
#app.authenticated #freeUsageNotice{margin:0 0 14px!important}

/* Replace alert/confirm messages with one foreground popup at a time. */
#p7PopupRoot{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font-family:Inter,system-ui,sans-serif}
.p7-notice{position:fixed;top:22px;left:50%;transform:translateX(-50%);width:min(560px,calc(100vw - 28px));display:flex;align-items:center;gap:11px;padding:13px 15px;background:#fff;border:1px solid #dfe8e3;border-radius:12px;box-shadow:0 16px 50px rgba(17,40,31,.18);color:#2b4037;pointer-events:auto;animation:p7PopupIn .18s ease-out}
.p7-notice-icon{width:25px;height:25px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;flex:0 0 25px;background:#e9f5ef;color:#1a795e}
.p7-notice-error .p7-notice-icon{background:#fff0ef;color:#b43d3d}.p7-notice-info .p7-notice-icon{background:#eef4f8;color:#416b86}
.p7-notice-text{font-size:12px;font-weight:650;line-height:1.45;flex:1}.p7-notice-close{border:0;background:transparent;color:#81918a;font-size:20px;cursor:pointer;padding:0 3px;line-height:1}
.p7-confirm-layer{position:fixed;inset:0;background:rgba(18,34,29,.36);display:flex;align-items:center;justify-content:center;padding:20px;pointer-events:auto;backdrop-filter:blur(2px);animation:p7PopupIn .14s ease-out}
.p7-confirm-dialog{width:min(460px,100%);background:#fff;border:1px solid #e3ebe6;border-radius:16px;padding:23px;box-shadow:0 22px 70px rgba(13,34,26,.23)}
.p7-confirm-dialog h2{font-size:17px;font-weight:850;color:#1f372e;margin:0 0 8px}.p7-confirm-dialog p{font-size:12px;line-height:1.65;color:#64766d;margin:0 0 21px;white-space:pre-line}.p7-confirm-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.p7-confirm-actions .btn{min-width:94px}
@keyframes p7PopupIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}

/* Full-page authentication, not modal login. */
body.p7-auth-active{overflow:hidden!important;background:#f4f7f5!important}
body.p7-auth-active>#app,body.p7-auth-active>#landing{display:none!important}
body.p7-auth-active #loginBox,body.p7-auth-active #registerBox,body.p7-auth-active #corBox{display:flex!important;position:fixed!important;inset:0!important;z-index:12000!important;align-items:stretch!important;justify-content:stretch!important;padding:0!important;margin:0!important;background:#f4f7f5!important;overflow:auto!important}
body.p7-auth-active #loginBox.hidden,body.p7-auth-active #registerBox.hidden,body.p7-auth-active #corBox.hidden{display:none!important}
body.p7-auth-active .auth-modal-card{display:grid!important;grid-template-columns:minmax(330px,.88fr) minmax(420px,1.12fr)!important;gap:0!important;width:100%!important;max-width:none!important;height:100vh!important;max-height:none!important;min-height:100vh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:auto!important;background:#fff!important;box-shadow:none!important}
.p7-auth-story{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100%;padding:40px clamp(30px,5vw,76px);background:radial-gradient(circle at 84% 18%,rgba(77,157,131,.28),transparent 30%),linear-gradient(150deg,#143f39,#0e302c);color:#fff}
.p7-auth-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:18px;font-weight:850;letter-spacing:-.04em}.p7-auth-mark{width:34px;height:34px;border-radius:10px;background:#fff;color:#176b5e;display:inline-flex;align-items:center;justify-content:center;font-size:19px;font-weight:950}
.p7-auth-story-copy{max-width:540px;margin:40px auto}.p7-auth-eyebrow{font-size:9px;font-weight:850;letter-spacing:.16em;color:#a9d5c5}.p7-auth-story h1{font-size:clamp(34px,4vw,53px);line-height:1.06;letter-spacing:-.055em;color:#fff;margin:16px 0}.p7-auth-story-copy>p{color:#c8e0d7;font-size:14px;line-height:1.75;max-width:440px}
.p7-auth-benefits{display:grid;gap:12px;margin-top:32px}.p7-auth-benefits>div{display:grid;gap:3px;padding:13px 15px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(255,255,255,.055)}.p7-auth-benefits b{font-size:12px;color:#fff}.p7-auth-benefits span{font-size:10px;line-height:1.55;color:#bdd8ce}.p7-auth-foot{font-size:10px;color:#a9c9bd}
.p7-auth-panel{position:relative;display:flex;flex-direction:column;justify-content:center;width:min(100%,600px);padding:45px clamp(28px,6vw,88px);margin:auto}.p7-auth-back{align-self:flex-start;color:#648078;text-decoration:none;font-size:11px;font-weight:750;margin-bottom:33px}.p7-auth-back:hover{color:var(--p7-primary)}
.p7-auth-panel .modal-close{position:absolute!important;top:27px!important;right:28px!important;width:35px!important;height:35px!important;border-radius:50%!important;background:#f2f6f3!important;color:#6b7d74!important;font-size:20px!important}
.p7-auth-panel .auth-modal-head{display:block!important;margin:0 0 26px!important}.p7-auth-panel .auth-modal-mark{display:none!important}.p7-auth-panel .landing-eyebrow{font-size:9px!important;color:var(--p7-primary)!important;font-weight:850!important;letter-spacing:.14em!important}.p7-auth-panel h2{font-size:29px!important;line-height:1.15!important;letter-spacing:-.045em!important;color:#203b32!important;margin:9px 0!important}.p7-auth-panel .muted{font-size:12px!important;color:#7c8b84!important;line-height:1.6!important}
.p7-auth-panel label{font-size:11px!important;font-weight:750!important;color:#40574c!important;margin:13px 0!important}.p7-auth-panel input,.p7-auth-panel select,.p7-auth-panel textarea{padding:12px 13px!important;border:1px solid #dce7e1!important;border-radius:9px!important;font-size:13px!important;min-height:43px!important}.p7-auth-panel .auth-submit{width:100%!important;min-height:45px!important;background:#176b5e!important;margin-top:13px!important}.p7-auth-panel .auth-switch{width:100%!important;margin-top:10px!important;background:#f0f6f2!important;color:#365d4e!important;font-size:11px!important}
.p7-auth-panel .auth-progress{margin:4px 0 22px!important}.p7-auth-panel .business-setup-modal{width:100%!important}.p7-auth-panel .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

@media(max-width:1100px){#app.authenticated>aside{width:236px!important;min-width:236px!important}#app.authenticated .content{padding:23px 22px 36px!important}.p7-appbar{padding:0 20px!important}#app.authenticated #home .dashboard-shell{grid-template-columns:minmax(0,1.4fr) minmax(230px,.8fr)!important}}
@media(max-width:820px){#app.authenticated>aside{position:fixed!important;left:-270px!important;top:0!important;height:100dvh!important;width:258px!important;min-width:258px!important;z-index:1000!important;transition:left .2s ease!important;box-shadow:14px 0 38px rgba(12,36,27,.12)!important}#app.authenticated>aside.open{left:0!important}#app.authenticated .sidebar-overlay.open{display:block!important;position:fixed!important;inset:0!important;z-index:950!important;background:rgba(13,32,26,.32)!important}#app.authenticated .p7-mobile-toggle{display:inline-flex!important;width:34px;height:34px;padding:0!important}.p7-appbar{height:62px!important;min-height:62px!important;gap:10px!important;padding:0 15px!important}.p7-current-date{display:none}.p7-topbar-profile{display:none!important}#app.authenticated .content{padding:22px 17px 32px!important}#app.authenticated #home .dashboard-shell{grid-template-columns:1fr!important}#app.authenticated #home .dashboard-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}#app.authenticated #home .dashboard-side>.card:last-child{grid-column:1/-1}}
@media(max-width:560px){#app.authenticated .content{padding:18px 12px 28px!important}#app.authenticated .pg>.page-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin-bottom:15px!important}#app.authenticated .pg>.page-head h1{font-size:22px!important}#app.authenticated .pg>.page-head .btn{align-self:flex-start}#app.authenticated #home>.dashboard-grid{grid-template-columns:1fr!important;gap:9px!important}#app.authenticated #home>.dashboard-grid>.card{min-height:88px!important}#app.authenticated .p7-position-grid{grid-template-columns:1fr!important;gap:9px!important}#app.authenticated .p7-position-card{min-height:66px!important}#app.authenticated #home .dashboard-side{grid-template-columns:1fr!important}#app.authenticated #home .dashboard-side>.card:last-child{grid-column:auto}#app.authenticated .card{padding:14px!important}#app.authenticated .grid2,#app.authenticated .field-grid{grid-template-columns:1fr!important}.p7-breadcrumb{font-size:11px}.p7-breadcrumb>span:first-child{display:none}.p7-breadcrumb-sep{display:none}.p7-topbar-search{padding:8px!important}.p7-topbar-search span:nth-child(2),.p7-topbar-search kbd{display:none}.p7-auth-story{min-height:auto;padding:22px 24px 17px}.p7-auth-brand{font-size:15px}.p7-auth-story-copy{margin:25px 0 8px}.p7-auth-story h1{font-size:27px;margin:9px 0}.p7-auth-story-copy>p{font-size:11px;margin:0}.p7-auth-benefits,.p7-auth-foot{display:none}.p7-auth-panel{padding:30px 23px 38px}.p7-auth-back{margin-bottom:22px}.p7-auth-panel h2{font-size:25px!important}body.p7-auth-active .auth-modal-card{display:flex!important;flex-direction:column!important}body.p7-auth-active .p7-auth-story{flex:0 0 auto}.p7-auth-panel{width:100%;margin:0 auto}.p7-auth-panel .field-grid{grid-template-columns:1fr!important}}

/* Keep official BIR form grids in their fixed print-like table layout. */
#app.authenticated .birPaper table,#app.authenticated .birTable{display:table!important;white-space:normal!important;overflow:visible!important}
#app.authenticated .birPaper th,#app.authenticated .birPaper td,#app.authenticated .birTable th,#app.authenticated .birTable td{white-space:normal!important}

/* Reusable P7 page template tokens applied to every customer module. */
#app.authenticated .p7-page-template{min-width:0!important;width:100%!important}
#app.authenticated .p7-page-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin:0 0 19px!important;padding:0!important}
#app.authenticated .p7-page-head>div:first-child{min-width:0!important;flex:1 1 auto!important}
#app.authenticated .p7-page-title{font-size:26px!important;line-height:1.2!important;font-weight:820!important;letter-spacing:-.04em!important;color:var(--p7-ink)!important;margin:0 0 5px!important}
#app.authenticated .p7-page-description{font-size:12px!important;line-height:1.6!important;color:var(--p7-muted)!important;max-width:760px!important}
#app.authenticated .p7-page-card{border:1px solid var(--p7-line)!important;border-radius:var(--p7-radius)!important;box-shadow:var(--p7-shadow)!important;background:#fff!important}
#app.authenticated .p7-page-filter{padding:15px 16px!important}
#app.authenticated .p7-page-table{overflow:hidden!important}
#app.authenticated .p7-filter-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;min-width:0!important}
#app.authenticated .p7-filter-row>input,#app.authenticated .p7-filter-row>select{flex:1 1 150px!important;min-width:135px!important}
#app.authenticated .p7-page-template .empty-state,#app.authenticated .p7-page-template .p6-empty-state{border:1px dashed #dce7e1!important;border-radius:11px!important;background:#fafcfb!important;padding:24px!important;color:#788780!important;text-align:center!important}
#app.authenticated .p7-page-template .empty-state h3,#app.authenticated .p7-page-template .p6-empty-state b{font-size:12px!important;color:#3e554a!important}
#app.authenticated .p7-prompt-input{display:block!important;width:100%!important;margin:0 0 20px!important;padding:12px 13px!important;border:1px solid #dce7e1!important;border-radius:9px!important;background:#fff!important;color:#20332d!important;font-size:13px!important;min-height:44px!important}
#app.authenticated .p7-prompt-input:focus{outline:0!important;border-color:#72a99a!important;box-shadow:0 0 0 3px rgba(33,120,98,.10)!important}
@media(max-width:560px){#app.authenticated .p7-page-title{font-size:22px!important}#app.authenticated .p7-page-head{gap:11px!important}.p7-confirm-dialog{padding:19px!important}.p7-confirm-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.p7-confirm-actions .btn{width:100%!important}}
.p7-notice-text{white-space:pre-line;overflow-wrap:anywhere;max-height:min(40vh,260px);overflow:auto}


/* v2.20.3: ensure the auth route owns the entire viewport.
   The legacy #loginBox/#registerBox rule capped the modal wrapper at 860px,
   so the landing header and page could remain visible beside the auth panel. */
body.p7-auth-active header.public-header,
body.p7-auth-active .public-header{display:none!important}
body.p7-auth-active #loginBox,
body.p7-auth-active #registerBox,
body.p7-auth-active #corBox{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
