/* PGS Plan — compact, high-contrast blue workspace. Screen-only; keep print economical. */
@media screen {
:root{--green:#123d83;--mint:#c7e8ff;--ink:#13243c;--muted:#465a73;--line:#bccbde;--paper:#dce5f0;color-scheme:light}
body{background:var(--paper);color:var(--ink);font-family:'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.35}
aside{width:232px;padding:14px 10px;background:#112b50;color:#fff;border-right:1px solid #30547d;gap:0;scrollbar-color:#7fa6d8 #17365e}
aside .brand{color:#fff;font-size:25px;gap:7px}.logo{background:#2478cd;color:white;font-size:25px;border-radius:7px}.dot{color:#43d8dd}
aside .account-context,aside .account-context a{color:#d9e8ff;font-size:11px;line-height:1.4;margin:7px 0}
aside>.eyebrow{color:#bfd5ee;margin:10px 0 8px;font-size:9px;letter-spacing:1px}
aside .aside-label{color:#bfd5ee;margin:11px 0 5px;font-size:10px;letter-spacing:.6px}
aside .primary{background:#1679c7;border:1px solid #4eaae7;color:white;padding:7px 9px;font-size:13px}
aside .ghost,aside .import{color:#e5efff;background:transparent;margin:1px 0;padding:5px 8px;font-size:12px}
aside .ghost:hover,aside .import:hover{background:#284b78;filter:none}
#plans{gap:3px;max-height:165px;overflow:auto}aside .plan{padding:5px 8px;border:1px solid #41648e;border-radius:5px;background:#1c3b64;color:#fff;font-size:13px;line-height:1.25}
aside .plan small{color:#c8dbf3;font-size:10px;line-height:1.25;margin-top:2px}aside .plan.active{background:#184d83;border-color:#57d9e2;box-shadow:inset 3px 0 #50e4ec}
.section-nav{gap:3px;margin:0}.section-nav button{background:#1b3b65;color:#f1f6ff;border:1px solid #355780;border-radius:5px;padding:5px 8px;min-height:30px;line-height:1.25;font-size:13px;text-align:left;margin:0}
.section-nav button .nav-number{color:#91c8ff;font-size:10px}.section-nav button.active{background:#1768b1;color:#fff;border-color:#4cceea;box-shadow:inset 3px 0 #5ce2e5}.section-nav button.active .nav-number{color:#fff}
.section-nav button:hover{background:#29558b;filter:none}.aside-bottom{padding-top:10px;margin-top:auto}.aside-bottom small,.aside-bottom p{color:#c9d9ed;font-size:10px;line-height:1.35;margin:6px 0}.aside-bottom button,.aside-bottom .import{padding:4px 7px}.aside-bottom a{color:#c8e8ff}
main{margin-left:232px;padding:14px 16px 10px;max-width:none;min-width:0}header{margin:0 0 8px;gap:9px;align-items:center}.workspace-heading{gap:7px}header .eyebrow{font-size:9px;letter-spacing:1px;color:#315a85}header h1{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:3px 0}header p{margin:3px 0}.header-person strong{color:#123d83}.header-person span{color:#465a73;font-size:11px}.workspace-view{min-height:0}
button{border-radius:5px;padding:5px 9px;font-size:13px;line-height:1.3}button:hover{filter:brightness(.94)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0089bb;outline-offset:2px}
.primary{background:#144fa5;color:#fff}.secondary{background:#dceaff;color:#143f7c;border:1px solid #a3bee1}.ghost{color:#164a92}.text-danger{color:#a51c30;background:#fff2f3}.muted,small{color:var(--muted)}small{line-height:1.3;font-size:11px}
.card{padding:10px 12px;margin:0 0 8px;border:1px solid #b8c9de;border-radius:7px;background:#fff;box-shadow:0 1px 2px #17375a0a}.guided-step{padding:6px 0;margin:0}.guided-step+.guided-step{padding-top:10px;margin-top:6px}.guided-step>h3{font-size:17px;margin:6px 0}.section-title{margin:0 0 6px;gap:8px}.section-title>div{gap:6px}h2{font-family:inherit;font-size:16px;letter-spacing:0;color:#173b6b}.step{padding:4px 6px;background:#dceaff;border-color:#a6c2e7;color:#164d8d}.intro{font-size:12px;line-height:1.35;margin:4px 0 7px;color:#465a73}
.grid{gap:7px 10px}label{font-size:12px;gap:3px;color:#203a5b}input,select,textarea{padding:5px 7px;border:1px solid #97b2d4;border-radius:4px;background:#fff;color:#10243e;font:600 13px 'Segoe UI',Arial,sans-serif;min-height:29px}input::placeholder,textarea::placeholder{color:#596b82;font-weight:400;opacity:1}input:disabled,select:disabled,textarea:disabled{opacity:1;background:#e5ebf3;color:#475972;border-color:#bac6d6}input[type=checkbox]{min-height:0;accent-color:#165cad}textarea{min-height:52px}
.actions{gap:6px;margin:7px 0}.workspace-toolbar{padding:5px 8px;margin:0 0 7px;gap:6px;background:#f9fbff;border:1px solid #b8c9de;border-radius:6px}.workspace-toolbar button{padding:5px 9px}.workspace-toolbar>div{gap:5px}.section-heading{margin:9px 0 6px}.help,.calculation-detail{background:#edf3fc;color:#284b75;border-color:#257fc3;padding:6px 9px;margin:6px 0;font-size:11px;line-height:1.4}
#notice:not(:empty),.cloud-status{background:#d9edff;color:#163c68;border:1px solid #9bbfe1;padding:6px 9px;margin:0 0 7px;font-size:12px;border-radius:5px}.cloud-error{background:#fff1d8;color:#6e4300;border-color:#dab67e}
#encouragement{padding:6px 10px;margin:0 0 7px;gap:2px;background:#e4f3f6;border:1px solid #9ecbd6;border-left:4px solid #0088a3;border-radius:5px}#encouragement strong{color:#154c60;font-size:13px;line-height:1.3}#encouragement>span,#encouragement small{font-size:11px;line-height:1.3;color:#31566a}
.route-cards{gap:7px}.route-card{padding:9px;border-color:#b4c7de;background:#f7faff}.route-card.selected{background:#e2efff;border-color:#237ec0}.route-card h3{margin:4px 0;font-size:15px}.route-card p{margin:4px 0;font-size:12px;line-height:1.35}.route-card small{color:#3d5878}.route-card button{margin-top:7px}.route-eyebrow{color:#245c8d}.requirements,.monthly-plan{background:#e9f1fc;border-color:#aec6e3;padding:8px 10px;margin:7px 0;gap:7px}.requirements h3{margin:3px 0;color:#16447c}.monthly-plan strong{margin:4px 0;font-size:22px;color:#123f7d}
.stats{gap:7px;margin-bottom:7px}.stats article{padding:8px 10px;background:#f8fbff;border-color:#b7cbe4;border-radius:6px}.stats strong{font-size:24px;margin:3px 0;line-height:1.2;color:#123f7d}.stats span,.stats small{color:#465a73}.stats .highlight{background:#163e78;border-color:#163e78}.stats .highlight strong{color:#fff}.stats .highlight span,.stats .highlight small{color:#dfecff}
.mini-stats{gap:7px}.mini-stats>div,.milestone{padding:7px 9px;background:#edf3fc;border-color:#8eafd4}.mini-stats strong{margin:3px 0;color:#164980}.milestones{gap:6px;margin:7px 0}.milestone strong{font-size:15px;margin:3px 0}.milestone small{margin-top:2px}.goal-sentence{font-size:14px;line-height:1.4;margin:6px 0}.bar,.time-track{background:#d9e3f1}.bar>div,#achievedBar{background:#167caa}.chart-bars>div:first-child{background:#9ebbe4}.chart-bars>div:last-child{background:#087e92}.chart-row{margin:5px 0;gap:8px;font-size:12px}.chart-row small{font-size:11px}.chart-legend{margin-bottom:5px;color:#375475}.progresscard .bar{margin-top:6px}
th{background:#173f78;color:#fff;font-size:11px;padding:5px 7px;line-height:1.25}td{padding:4px 7px;font-size:13px;line-height:1.3;border-color:#d1ddec}td small{font-size:10px;line-height:1.25}td input{padding:3px 6px;min-height:27px;font-size:13px}tbody tr:nth-child(even){background:#f0f5fc}.status{padding:3px 6px;font-size:10px;background:#e6edf7;color:#334f73}.status.ok,.time-status.ok{background:#d5f2e9;color:#11543f}.status.warn,.time-status.warn{background:#ffedc6;color:#744000}.status.neutral,.time-status.neutral{background:#dfe9f7;color:#274e80}.table-foot{margin-top:6px;gap:6px}
.funnel-sheet-wrap{margin:6px 0;border-color:#aabfdc;border-radius:5px}.funnel-sheet th:first-child{width:42%}.funnel-sheet thead th:nth-child(2){width:24%}.funnel-sheet thead th{background:#173f78;color:#fff;padding:6px 9px;font-size:10px;letter-spacing:.4px}.funnel-sheet tbody th,.funnel-sheet tbody td{padding:5px 9px;border-color:#c6d5e8;background:#fff}.funnel-sheet tbody tr:nth-child(even) th,.funnel-sheet tbody tr:nth-child(even) td{background:#f2f6fc}.funnel-sheet tbody th label,.funnel-sheet tbody th strong{font-size:13px;color:#193e6c}.funnel-sheet tbody th small{margin:2px 0 0;font-size:11px;line-height:1.25;max-width:none;color:#465a73}.funnel-sheet td select{padding:4px 7px;min-height:29px;font-size:13px;border-color:#90aed3}.funnel-sheet tbody td:last-child{background:#e5efff}.funnel-sheet td:last-child>strong{font-size:21px;line-height:1.15;color:#113f83;letter-spacing:-.3px}.funnel-sheet td:last-child small{font-size:10px;line-height:1.2;margin-top:2px;color:#375477}.funnel-sheet td:last-child .sheet-formula{font-size:10px;color:#465a73}.funnel-sheet .sheet-goal td:last-child{background:#163f7c}.funnel-sheet .sheet-goal td:last-child strong{color:#fff}.funnel-sheet .sheet-goal td:last-child small{color:#e2eeff}.sheet-hint{font-size:10px;margin:4px 0;line-height:1.3}#printStrategies{padding:5px 8px}
.plan-time{padding:8px 10px;margin:7px 0;background:#f1f6ff;border-color:#b1c8e4}.time-grid{gap:7px}.time-grid strong{margin-top:3px;font-size:13px;line-height:1.3}.time-grid>div>span,.time-comparison span,.time-bars span{color:#465a73;font-size:11px}.time-comparison{gap:6px;margin:7px 0}.time-comparison>div{padding:6px 8px;background:#e0ebfa}.time-comparison strong{margin-top:3px;color:#153e78}.time-advice{margin:6px 0;color:#274c76;line-height:1.35}.time-status{padding:4px 7px}.time-track>div{background:#739dd4}
.suggestions{gap:4px}.suggestions button{padding:4px 7px;background:#e4efff;color:#17497d;border:1px solid #b8cdeb}.action-form{gap:7px;margin:7px 0}.action-row{padding:5px 0;gap:8px}.action-row strong{font-size:13px}.action-row small{font-size:11px;margin-top:2px}.strategy-note{margin-top:7px;padding-top:7px}.strategy-note>strong{margin-bottom:5px}.review{padding:6px 8px;margin-top:6px;background:#eef4fd;border-color:#b5c9e3}.review p{margin:3px 0;font-size:12px;line-height:1.3}.view-next{margin:5px 0}.view-next button{padding:5px 9px}.empty{padding:8px}.sources p,.sources li{font-size:12px;line-height:1.4}footer{padding:6px;font-size:10px;color:#405775}
.admin-banner{padding:9px 11px;background:#173f78;border-radius:6px}.admin-banner p{margin:3px 0;line-height:1.35}.user-stats{gap:6px;margin:7px 0}.user-stats>div{padding:6px 8px;background:#eff5ff;border-color:#aec4e0}.user-stats strong{margin-top:2px}.permission-row{padding:5px 0;gap:7px}.permission-row span{color:#465a73}.permission-checks{gap:3px 7px}.permission-checks>div{padding:3px 4px;background:#e7f0fc}.role-cards{gap:6px}.role-cards p{padding:7px 9px;background:#edf3fc;line-height:1.4}.admin-table-wrap td{padding:4px 6px;color:#203a5b}#grantForm,#adminForm{gap:7px;margin:8px 0}#permissionAudit{line-height:1.35}#adminMessage,#permissionMessage{color:#174976}.register-controls{padding:8px}.register-math>div{padding:6px 8px;background:#eaf1fc}.activity-progress>div{padding:5px 0}.math-details summary{padding:5px 0}.install-guide{background:#f6f9ff;color:#183f75;border-color:#a6bfdf}.cloud-boot{background:#dce5f0;color:#183f75}
a{color:#174fa0}dialog{color:#17334f;border-color:#9bb8da;border-radius:7px}dialog p{line-height:1.4}
}
@media screen and (max-width:1100px){main{margin-left:232px;padding:12px}}
@media screen and (max-width:760px){aside{width:232px;padding:12px 10px}main{margin-left:0;padding:8px}.card{padding:8px 9px;margin-bottom:6px}header h1{font-size:21px}.header-person{padding:4px 7px;background:#cbdcf1}.grid{gap:6px 8px}.section-title{gap:5px;margin-bottom:5px}input,select,textarea{min-height:36px;font-size:14px}.workspace-toolbar button{min-height:34px}.section-nav button{min-height:36px;padding:6px 8px}aside .primary{min-height:36px}.plan{min-height:36px}.funnel-sheet tr{border-color:#bccde3}.funnel-sheet tbody th:first-child{padding:5px 8px 3px}.funnel-sheet tbody td{padding:4px 8px 6px}.funnel-sheet td:last-child{margin:0 5px 5px 0;padding:6px 8px;border-radius:4px}.funnel-sheet td select{min-height:36px;font-size:14px}.funnel-sheet td:last-child>strong{font-size:20px}.funnel-sheet tbody th small{font-size:11px}#printStrategies{width:auto;min-height:36px}.stats strong{font-size:21px}.mini-stats>div{padding:6px 8px}.time-comparison>div{padding:5px 7px}.time-grid{gap:6px}#entrySection tr{padding:5px 7px;margin-bottom:5px;border-color:#b9cde4}#entrySection td{padding:3px 2px;font-size:13px}#entrySection td:not(:first-child){gap:6px}#entrySection td input{min-height:36px}.action-row{padding:5px 0}.admin-table-wrap tr{padding:6px;margin:5px 0;gap:5px}.permission-checks>div{padding:5px}.aside-bottom{padding-top:8px}.menu-backdrop{background:#0c1f3d99!important}#menuToggle{background:#173f78;color:#fff;padding:7px 10px;min-height:36px}}
@media screen{.funnel-sheet .sheet-formula{display:none}.funnel-sheet tbody th,.funnel-sheet tbody td{padding-top:4px;padding-bottom:4px}}
@media screen{.aside-bottom{margin-top:12px;padding-top:7px;border-top:1px solid #355780}.weekly-counts .grid>div,.activity-progress>div{background:#edf3fc;border-color:#c0d1e7;color:#1d3f6c}.guided-step>.intro{margin-bottom:6px}.guided-step .grid{margin-bottom:6px}.route-card.selected{padding:9px}.role-cards p strong{color:#173f78}}
@media screen{.funnel-sheet td:last-child .sheet-formula{display:none}}
/* Administration: remove inherited heading, paragraph and disclosure whitespace. */
@media screen{
#view-permisos>.card{padding:7px 10px;margin-bottom:5px}
#view-permisos .admin-banner{padding:7px 9px;gap:7px}
#view-permisos .admin-banner p{margin:2px 0 0}
#view-permisos .user-stats{margin:4px 0;gap:5px}
#view-permisos .user-stats>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:4px 8px;min-height:31px}
#view-permisos .user-stats strong{font-size:19px;line-height:1.1;margin:0}
#view-permisos .user-stats small{font-size:11px;line-height:1.2}
#view-permisos .section-title{margin:4px 0 2px;min-height:0}
#view-permisos h3{margin:0;font-size:14px;line-height:1.3}
#view-permisos .card>h2{margin:0 0 3px}
#view-permisos .card>.muted{margin:3px 0;font-size:11px;line-height:1.3}
#view-permisos .admin-table-wrap{margin-top:3px}
#view-permisos .admin-table-wrap td{padding-top:3px;padding-bottom:3px}
#view-permisos #adminMessage,#view-permisos #permissionMessage{margin:3px 0;line-height:1.3}
#view-permisos #adminMessage:empty,#view-permisos #permissionMessage:empty{display:none}
#view-permisos details{margin:3px 0 0}
#view-permisos details>summary{padding:4px 0;line-height:1.3;font-size:12px}
#view-permisos details .grid{padding-top:4px}
#view-permisos #userInviteForm,#view-permisos #grantForm{margin:4px 0;gap:5px 8px}
#view-permisos label{gap:2px}
#view-permisos .permission-row{padding:3px 0;min-height:0}
#view-permisos .permission-row span{line-height:1.3}
#view-permisos .actions{margin:4px 0;gap:5px}
#view-permisos .help{margin:4px 0;padding:5px 7px;line-height:1.3}
#view-permisos .role-cards{gap:5px;margin-top:4px}
#view-permisos .role-cards p{padding:5px 7px;line-height:1.3}
#view-permisos #refreshAudit{margin:3px 0}
#view-permisos #permissionAudit p{margin:3px 0;line-height:1.3}
}
@media screen and (min-width:1000px){#view-permisos #grantForm{grid-template-columns:minmax(0,1.2fr) minmax(0,1.1fr) minmax(0,1fr) auto;align-items:end}#view-permisos #grantForm>button{min-height:29px;white-space:nowrap}}
@media screen and (max-width:760px){#view-permisos>.card{padding:7px 8px}#view-permisos .user-stats>div{min-height:34px}#view-permisos .admin-table-wrap tr{margin:4px 0;padding:5px;gap:4px}#view-permisos .admin-table-wrap td{padding:2px}#view-permisos #grantForm{grid-template-columns:1fr}#view-permisos #grantForm>button{min-height:36px}}
.person-results{display:grid;gap:4px;max-height:190px;overflow:auto}.person-results button{text-align:left;white-space:normal}.plan-identity p:empty{display:none}.pgs-support a{display:inline-block;margin:4px}.data-notice input[type=checkbox]{width:auto}#planPrint{display:none}
@media print{@page{size:A4;margin:12mm}body>*:not(#planPrint){display:none!important}body{display:block!important;background:white!important;padding:0!important}#planPrint{display:block!important;color:#111;font:10pt Arial,sans-serif;width:auto!important;margin:0!important}#planPrint h1{font-size:15pt}#planPrint h2{font-size:13pt}#planPrint p{margin:6pt 0}#planPrint table{width:100%;border-collapse:collapse;font-size:9pt}#planPrint th,#planPrint td{border:1px solid #bbb;padding:4pt;text-align:left}#planPrint tr{break-inside:avoid}#planPrint small{display:block;margin-top:8pt}}
