/* PINTARA Unified UI/UX Design System v4.5.8
 * Progressive enhancement for parent, staff and guest screens.
 * Intentionally excludes student/PAUD learning interfaces and payment internals.
 * No framework or external font dependency.
 */
.pds-v458{
  --pds-ink:#172F49;
  --pds-muted:#496079;
  --pds-subtle:#61768C;
  --pds-blue:#115FA8;
  --pds-blue-hover:#084C8C;
  --pds-teal:#087B70;
  --pds-bg:#F4F8FC;
  --pds-paper:#FFFFFF;
  --pds-soft:#EAF3FD;
  --pds-line:#CDDBE9;
  --pds-line-strong:#A8C1D9;
  --pds-focus:#1465B5;
  --pds-danger:#AC2949;
  --pds-radius-sm:10px;
  --pds-radius:16px;
  --pds-radius-lg:22px;
  --pds-shadow:0 8px 25px rgba(20,49,79,.065);
  --pds-shadow-hover:0 12px 30px rgba(20,49,79,.11);
  --blue:var(--pds-blue);
  --ink:var(--pds-ink);
  --muted:var(--pds-muted);
  --bg:var(--pds-bg);
  --line:var(--pds-line);
  --card:var(--pds-paper);
  background:var(--pds-bg);
  color:var(--pds-ink);
  font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.pds-v458 :where(h1,h2,h3,h4){letter-spacing:-.024em;text-wrap:pretty}
.pds-v458 :where(p,li){overflow-wrap:break-word}
.pds-v458 :where(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--pds-focus);
  outline-offset:3px;
}
.pds-v458 :where(button,input,select,textarea){font-family:inherit}
.pds-v458 :where(button,a){-webkit-tap-highlight-color:transparent}
.pds-v458 .pds-skip-link{
  position:fixed;left:16px;top:-90px;z-index:15000;
  background:#fff;border:2px solid var(--pds-focus);color:var(--pds-ink);
  border-radius:10px;padding:12px 16px;font-weight:750;
}
.pds-v458 .pds-skip-link:focus{top:12px}
.pds-v458 :where(.app-main,.auth-main,.page-wrap){min-width:0}
.pds-v458 .page-wrap{overflow-wrap:anywhere}
/* Structural chrome. Width and visibility remain owned by the existing app.css. */
.pds-v458 .sidebar{background:var(--pds-paper);border-right:1px solid var(--pds-line)}
.pds-v458 .sidebar .brand{border-bottom-color:var(--pds-line)}
.pds-v458 .sidebar .nav-label{color:#516C86;letter-spacing:.10em}
.pds-v458 .sidebar nav a{
  border-radius:11px;
  color:#35516C;
  transition:background-color .14s ease,color .14s ease;
}
.pds-v458 .sidebar nav a:hover{background:#F0F6FC;color:#123C67}
.pds-v458 .sidebar nav a.active{
  color:#084B8C;background:#E6F2FF;font-weight:800;
  box-shadow:inset 3px 0 #2677C5;
}
.pds-v458 .sidebar nav a :where(i,span){min-width:0}
.pds-v458 .topbar{background:rgba(255,255,255,.96);border-bottom:1px solid var(--pds-line)}
.pds-v458 .topbar strong{color:var(--pds-ink)}
.pds-v458 .topbar small{color:var(--pds-muted)}
.pds-v458 .topbar .avatar{background:#D8EAFE;color:#104D82}
.pds-v458 .notification-bell{border-color:var(--pds-line);color:#20516F;background:#F1F7FD}
.pds-v458 .footer{color:var(--pds-muted)}
/* Safe common primitives: shared forms, cards and operational dashboards. */
.pds-v458 :where(.card,.pex-card,.admin-panel,.metric-card,.pay-offer){
  background:var(--pds-paper);
  border-color:var(--pds-line);
  box-shadow:var(--pds-shadow);
}
.pds-v458 :where(.card,.pex-card,.admin-panel){border-radius:var(--pds-radius-lg)}
.pds-v458 :where(.section-head,.page-title-row) h1{color:var(--pds-ink);letter-spacing:-.035em}
.pds-v458 :where(.section-head,.page-title-row) p{color:var(--pds-muted);line-height:1.55}
.pds-v458 :where(.form-stack,.pex-form,.admin-panel) :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
  min-height:44px;border-color:var(--pds-line-strong);background-color:#fff;color:var(--pds-ink);
}
.pds-v458 :where(.form-stack,.pex-form,.admin-panel) :where(input,select,textarea):focus-visible{
  border-color:var(--pds-focus);
  box-shadow:0 0 0 3px #D5E9FF;
}
.pds-v458 :where(.form-stack,.pex-form,.admin-panel) label{color:#26435E}
.pds-v458 :where(.btn,.pex-button,.pex-light-button){font-weight:730;transition:background-color .15s ease,box-shadow .15s ease}
.pds-v458 :where(.btn,.pex-button,.pex-light-button):hover{filter:none;box-shadow:0 5px 14px rgba(17,95,168,.12)}
.pds-v458 :where(button,input,select,textarea)[disabled]{opacity:.68;cursor:not-allowed}
.pds-v458 .alert{border-radius:var(--pds-radius-sm)}
/* Parent is the main beneficiary of this rollout. */
.pds-v458.pds-parent .page-wrap{max-width:1480px;margin:0 auto;width:100%}
.pds-v458.pds-parent .pm384-home{max-width:1120px;color:var(--pds-ink)}
.pds-v458.pds-parent .pm384-hero{
  position:relative;overflow:hidden;
  border:1px solid #2C739E;
  border-radius:24px;
  background:linear-gradient(125deg,#153D64 0%,#18598A 60%,#096E83 100%);
  box-shadow:0 12px 28px rgba(20,57,91,.15);
  padding:clamp(24px,4vw,42px);
}
.pds-v458.pds-parent .pm384-hero::after{
  content:"";position:absolute;inset:auto -80px -115px auto;
  width:270px;height:270px;border-radius:50%;
  border:45px solid rgba(255,255,255,.07);pointer-events:none;
}
.pds-v458.pds-parent .pm384-hero h1{font-size:clamp(28px,4.2vw,42px);max-width:18ch;line-height:1.15;color:#fff;letter-spacing:-.04em}
.pds-v458.pds-parent .pm384-hero p{font-size:clamp(14px,1.5vw,16px);max-width:55ch;color:#F1F8FF;line-height:1.65}
.pds-v458.pds-parent .pm384-eyebrow{color:#BCEEEA;letter-spacing:.11em}
.pds-hero-actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1;margin-top:22px}
.pds-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;padding:11px 17px;min-height:44px;font-weight:750;font-size:14px;text-decoration:none;cursor:pointer;font-family:inherit}
.pds-action-light{background:#fff;color:#164C79;border:1px solid #fff}
.pds-action-light:hover{background:#EAF6FF;color:#103A65}
.pds-action-outline{background:rgba(255,255,255,.09);color:#fff;border:1px solid rgba(255,255,255,.65)}
.pds-action-outline:hover{background:rgba(255,255,255,.19)}
/* Getting started is visible only while there is no recorded activity. */
.pds-onboarding{margin:18px 0 22px;padding:clamp(18px,3vw,28px);border:1px solid #BCD6EB;background:#F6FAFF;border-radius:var(--pds-radius-lg)}
.pds-onboarding-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}
.pds-onboarding-heading h2{font-size:clamp(20px,3vw,26px);line-height:1.25;color:#123858;margin:6px 0}
.pds-onboarding-heading p{font-size:14px;line-height:1.6;color:var(--pds-muted);margin:0}
.pds-eyebrow{font-size:11px;font-weight:820;letter-spacing:.12em;color:#0C6E83}
.pds-onboarding-tag{white-space:nowrap;background:#DCEEFF;border:1px solid #B7D6F0;color:#175587;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:800}
.pds-onboarding-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.pds-onboarding-steps li{display:flex;gap:12px;min-width:0;padding:16px;border-radius:15px;background:#fff;border:1px solid #D3E1EF}
.pds-onboarding-steps .pds-step-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#E7F2FF;color:#135F9A;font-weight:900}
.pds-onboarding-steps .pds-step-done .pds-step-number{background:#DDF6EE;color:#086F55}
.pds-onboarding-steps h3{font-size:15px;color:#173E5C;margin:0 0 5px}
.pds-onboarding-steps p{font-size:12px;color:#516C82;line-height:1.5;margin:0 0 9px}
.pds-onboarding-steps a{font-size:12px;font-weight:820;color:#075C9E;text-decoration:underline;text-underline-offset:3px}
.pds-v458.pds-parent .pm384-picker{border:1px solid var(--pds-line);border-radius:var(--pds-radius);box-shadow:var(--pds-shadow)}
.pds-v458.pds-parent .pm384-picker label{color:#274964}
.pds-v458.pds-parent .pm384-picker select{border-color:#9EB9D2;color:#163650}
.pds-v458.pds-parent .pm384-apply{background:#115FA8;color:#fff;min-height:44px;font-weight:800}
.pds-v458.pds-parent .pm384-apply:hover{background:#084C8C}
.pds-v458.pds-parent .pm384-kpis article{
  border-color:var(--pds-line);box-shadow:var(--pds-shadow);border-radius:18px;padding:clamp(14px,2vw,20px)
}
.pds-v458.pds-parent .pm384-kpis i{font-size:20px;color:#0D689F}
.pds-v458.pds-parent .pm384-kpis b{color:#153955;font-size:clamp(24px,3vw,32px)}
.pds-v458.pds-parent .pm384-kpis span{font-size:12px;color:#4E6680}
.pds-v458.pds-parent .pm384-note{color:#586D82}
.pds-v458.pds-parent .pm384-section-head h2{color:#173B58;font-size:clamp(18px,2.3vw,22px)}
.pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a){
  background:#fff;border:1px solid var(--pds-line);border-radius:var(--pds-radius);
  box-shadow:0 3px 14px rgba(17,55,84,.035);
  text-decoration:none;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease;
}
.pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a):hover{
  border-color:#8DB9DE;box-shadow:var(--pds-shadow-hover);transform:translateY(-2px)
}
.pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a) b{color:#183954;font-size:14px}
.pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a) small{color:#536C82;font-size:12px}
.pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a)>i:first-child{background:#E7F3FF;color:#146DAB}
.pds-v458.pds-parent .pm384-empty{background:#fff;border-color:#A8C5DB;box-shadow:var(--pds-shadow)}
.pds-v458.pds-parent .pm384-primary{background:#115FA8;color:#fff;min-height:44px}
.pds-v458.pds-parent .pm384-primary:hover{background:#084C8C}
.pds-v458.pds-parent .pex-card{border:1px solid var(--pds-line);border-radius:var(--pds-radius-lg)}
.pds-v458.pds-parent .pex-page .pex-header h1{color:#153955}
.pds-v458.pds-parent .pex-page .pex-header p{color:var(--pds-muted)}
.pds-v458.pds-parent .pex-page .pex-kicker{color:#14669F}
.pds-v458.pds-parent .pex-form :where(input,textarea){border-color:#9FB6CC;color:#183A56;min-height:44px}
.pds-v458.pds-parent .pex-light-button{background:#EAF4FE;border-color:#B4CFE7;color:#16568E}
.pds-v458.pds-parent .pex-button{background:#115FA8;border-color:#115FA8;color:#fff;min-height:44px}
.pds-v458.pds-parent .pex-button:hover{background:#084C8C}
.pds-v458.pds-parent .pex-tour-launch{min-height:40px;color:#12548E;background:#E8F3FC;border-color:#ABCEE7}
/* PAUD parent pages retain existing v457 contrast fix. These rules reinforce its inputs only. */
.pds-v458.pds-parent .paud-parent :where(input,select,textarea){background:#fff;color:#18364E;border-color:#98B7D0}
/* Mobile bottom navigation: easier-to-read labels and balanced contrast. */
@media(max-width:850px){
  .pds-v458 .page-wrap{padding:clamp(12px,3vw,18px)}
  .pds-v458.pds-parent .pm384-parent-nav{background:#fff;border-top:1px solid var(--pds-line)}
  .pds-v458.pds-parent .pm384-parent-nav a{color:#475D70}
  .pds-v458.pds-parent .pm384-parent-nav a.active{color:#0E5E9C}
  .pds-v458.pds-parent #pm384-drawer{background:#fff;color:var(--pds-ink)}
  .pds-v458.pds-parent #pm384-drawer nav a{color:#244B6A}
  .pds-v458.pds-parent #pm384-drawer nav a:hover{background:#EAF4FE}
}
@media(max-width:760px){
 .pds-onboarding-steps{grid-template-columns:1fr}
 .pds-onboarding-heading{flex-wrap:wrap}
 .pds-v458.pds-parent .pm384-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .pds-hero-actions{flex-direction:column;align-items:stretch}
 .pds-action{width:100%}
 .pds-v458.pds-parent .pm384-hero{padding:24px 20px}
 .pds-v458.pds-parent .pm384-quicklinks,.pds-v458.pds-parent .pm384-modules{grid-template-columns:1fr}
 .pds-onboarding{padding:17px 14px}
 .pds-onboarding-steps li{padding:13px}
 .pds-v458.pds-parent .pm384-picker{align-items:stretch}
 .pds-v458.pds-parent .pm384-picker select{min-width:100%}
 .pds-v458.pds-parent .pm384-apply{width:100%}
}
@media(prefers-reduced-motion:reduce){
 .pds-v458 *, .pds-v458 *::before,.pds-v458 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
 .pds-v458.pds-parent :where(.pm384-module,.pm384-quicklinks a):hover{transform:none}
}
@media print{
 .pds-v458 .pds-skip-link,.pds-v458 .pds-hero-actions,.pds-v458 .pex-tour-launch{display:none!important}
 .pds-v458 .card,.pds-v458 .pex-card{box-shadow:none}
}
