:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:#14263b;background:#e8edf1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}html,body,#root{min-height:100%}#root{min-height:100dvh;display:flex;flex-direction:column;padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e58a34;outline-offset:3px}.site-top{width:min(100%,1060px);min-height:65px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px}.site-top>a:first-child{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:800;letter-spacing:-.5px;text-decoration:none}.site-top .site-mark{width:42px;height:42px;border-radius:6px;object-fit:contain;background:#fff}.site-top .site-wordmark>span{font-weight:400;color:#4c6576}.web-label{font-size:12px;color:#506575}.help-link{font-size:12px;font-weight:600;text-decoration:none}.app-window{width:min(100%,1060px);height:calc(100dvh - 113px);min-height:560px;display:flex;flex-direction:column;margin:0 auto;border:1px solid #c8d2dc;border-radius:10px;overflow:hidden;background:#f3f5f8;box-shadow:0 8px 28px #1830440a}.app-window>div{min-height:0}.home-window{overflow:auto}.home-screen{max-width:820px;width:100%;margin:0 auto;padding:32px 34px}.home-brand{display:flex;gap:13px;align-items:center;margin-bottom:26px}.app-monogram{width:48px;height:48px;flex-shrink:0;display:block;border-radius:22%;object-fit:contain}.home-brand h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0 0 5px}.home-brand p{margin:0;font-size:13px;color:#526276}.home-tabs{display:flex;background:#e3e9f1;padding:4px;border-radius:6px;gap:4px}.home-tabs button{border:0;border-radius:4px;flex:1;min-height:46px;background:transparent;color:#25354a;font-size:14px;font-weight:700}.home-tabs button[aria-selected=true]{background:#173a60;color:#fff}.home-notice{border:1px solid #e3cf96;border-radius:5px;background:#fff3d2;padding:12px 14px;margin-top:16px;color:#6e531d;display:flex;flex-direction:column;gap:5px}.home-notice strong{font-size:13px}.home-notice span{font-size:12px;line-height:1.65}.home-intro{color:#526276;font-size:13px;line-height:1.8;margin:20px 0 17px}.group-title{font-size:13px;margin:20px 0 10px;color:#526276;letter-spacing:.03em}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sheet-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:87px;padding:18px;border:1px solid #b5c3d1;border-radius:6px;background:#fff;color:#14263b;text-align:left}.sheet-card strong{font-size:16px;padding-right:20px}.sheet-card>span{font-size:12px;color:#637489}.sheet-card i,.start-msp i,.case-library i{position:absolute;right:17px;top:50%;transform:translateY(-50%);font-size:26px;line-height:1;font-style:normal;color:#526276}.sheet-card:hover{background:#edf3f9;border-color:#173a60}.pse-card{min-height:68px;justify-content:center}.start-msp,.case-library{position:relative;display:block;width:100%;padding:19px;text-align:left;border:1px solid #173a60;border-radius:6px;background:#173a60;color:#fff;margin-top:13px}.start-msp strong,.case-library strong{display:block;font-size:17px;padding-right:20px}.start-msp small,.case-library small{display:block;font-size:12px;line-height:1.7;margin-top:6px}.start-msp i{color:#d9e7f8}.case-library{background:#fff;color:#14263b;border-color:#b5c3d1}.case-library small{color:#526276}.home-footnote{margin-top:26px;margin-bottom:0;font-size:11px;color:#637489;line-height:1.8}.tool-footer{width:min(100%,1060px);min-height:48px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px;font-size:10px;color:#526276}.tool-footer>span{margin-right:auto}.tool-footer button{padding:5px 0;background:transparent;color:inherit;border:0;font-size:10px;text-decoration:underline;text-underline-offset:3px}.tool-footer a{font-size:10px}.evaluation-screen{display:flex;flex:1;min-height:0;flex-direction:column}.screen-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 13px;min-height:59px;background:#fff;border-bottom:1px solid #d4dce7}.screen-toolbar h2{font-size:16px;text-align:center;margin:0;line-height:1.3}.back-button{border:0;padding:10px 5px;background:transparent;font-size:14px;font-weight:650;color:#173a60}.print-button{border:1px solid #173a60;color:#173a60;font-weight:650;font-size:11px;border-radius:4px;padding:9px 11px;white-space:nowrap;background:#fff;min-height:39px}.session-warning{color:#775313;font-size:11px;font-weight:700;background:#fff2c9;margin:0;padding:9px 13px}.worksheet-container{display:flex;flex:1;min-height:0;justify-content:center;background:#e7ebef}.worksheet{width:min(100%,840px);height:100%;border:0;background:#fff}.export-hint{margin:0;padding:8px 13px;background:#fff;border-top:1px solid #d4dce7;font-size:10px;color:#526276;line-height:1.6}.web-dialog{border:1px solid #b1bdca;border-radius:8px;padding:25px;color:#14263b;width:min(460px,calc(100% - 32px));box-shadow:0 10px 80px #102a4030}dialog::backdrop{background:#1023338c}.web-dialog h2{margin:0 0 15px;font-size:20px;letter-spacing:-.3px}.web-dialog p{margin:0 0 16px;font-size:13px;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:23px}.primary-button,.danger-button,.quiet-button{min-height:43px;border:1px solid #173a60;border-radius:5px;padding:9px 14px;font-size:12px;font-weight:650;color:#fff;background:#173a60}.danger-button{background:#a13737;border-color:#a13737}.quiet-button{background:#fff;color:#25354a;border-color:#aab7c7}.signature-dialog{width:min(850px,calc(100% - 24px));height:min(660px,calc(100dvh - 28px));border:1px solid #bbc6d2;border-radius:6px;padding:0;overflow:hidden}.signature-dialog iframe{width:100%;height:100%;display:block;border:0}.print-frame{position:fixed;width:0;height:0;right:0;bottom:0;border:0}.privacy-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;width:min(620px,calc(100% - 32px))}.privacy-dialog form{margin-top:20px;text-align:right}.birth-age{margin-bottom:12px}.birth-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.birth-row label{width:30%;max-width:150px;flex-shrink:0;font-size:13px;font-weight:600;line-height:1.4;color:#25354a}.birth-row input{min-width:0;flex:1;min-height:44px;border:1px solid #a9b5c5;border-radius:5px;background:#fff;padding:9px;color:#14263b;font-size:15px}.clear-date{background:transparent;border:0;min-height:44px;padding:4px;font-size:11px;color:#173a60;text-decoration:underline;text-underline-offset:3px}.computed-age{display:flex;align-items:center;gap:15px;min-height:44px}.computed-age>span{font-size:13px;font-weight:600}.computed-age output{font-size:19px;font-weight:650}.computed-age small,.field-hint{font-size:11px;color:#526276}.field-hint{margin:5px 0 0;line-height:1.7}@media(min-width:900px){.app-window:not(.home-window){width:880px}}@media(max-width:600px){#root{padding:0}.site-top{padding:0 15px;min-height:49px;gap:12px}.site-top>a:first-child{font-size:15px}.web-label{display:none}.help-link{font-size:11px}.app-window{width:100%;height:calc(100dvh - 106px);min-height:460px;border-radius:0;border-inline:0;box-shadow:none}.home-screen{padding:23px 16px}.home-brand{gap:11px;margin-bottom:22px}.home-brand h1{font-size:24px}.home-brand p{font-size:11px}.app-monogram{width:40px;height:40px}.home-tabs button{font-size:13px;min-height:44px}.home-notice{padding:11px 12px}.home-notice span{font-size:11px}.sheet-grid{grid-template-columns:1fr;gap:8px}.sheet-card{min-height:73px;padding:15px}.pse-card{min-height:59px}.home-intro{font-size:12px;margin-top:18px}.tool-footer{padding:7px 15px;min-height:44px;font-size:9px;gap:7px 13px}.tool-footer>.tool-copyright{display:block;flex-basis:100%;margin-right:0;text-align:right;line-height:1.6}.screen-toolbar{padding-inline:8px;gap:7px}.screen-toolbar h2{font-size:13px}.print-button{padding-inline:7px;font-size:10px}.back-button{font-size:13px}.export-hint{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
