.portal-body{background:#eaf0eb;color:#213e41;font-size:16px;line-height:1.55}.portal-shell{max-width:1180px;margin:auto;min-height:100svh;background:#f7f8f3;box-shadow:0 0 80px #1b554311}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 38px;background:#fff;border-bottom:1px solid #d6e1dc}.portal-header .brand small{font-size:12px}#portal-content{padding:30px 38px 45px;min-height:65vh}.portal-footer{display:flex;gap:20px;flex-wrap:wrap;padding:24px 38px 35px;border-top:1px solid #d6e1dc;font-size:12px;color:#566d66}.portal-footer span{flex-basis:100%;font-size:11px}.role-badge{display:inline-block;background:#e4efe9;color:#275749;padding:7px 12px;border-radius:9px;font-size:12px;font-weight:650}.portal-body h1{font-size:36px;line-height:1.18;letter-spacing:-1px;margin:0 0 13px}.portal-body h2{font-size:24px;line-height:1.25;margin-bottom:13px}.portal-body h3{font-size:18px;margin-bottom:10px}.welcome-panel{position:relative;overflow:hidden;background:#e0ede4;border:1px solid #c8dace;border-radius:24px;padding:30px;margin-bottom:25px}.welcome-panel:after{content:"☀";position:absolute;right:35px;top:17px;font-size:94px;line-height:1;color:#dbb559;opacity:.7;pointer-events:none}.welcome-panel h1,.welcome-panel p{position:relative;z-index:1;max-width:70%}.welcome-panel p{margin-bottom:0;color:#48635b}.auth-wrap{max-width:570px;margin:0 auto}.form-card,.content-card{padding:28px;border:1px solid #d5e1d7;border-radius:20px;background:#fff;margin-bottom:18px}.form-card p:last-child,.content-card p:last-child{margin-bottom:0}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin-bottom:17px;min-width:0}.field>small{font-weight:400;line-height:1.5;color:#5a6d67;font-size:12px}.field input,.field select,.field textarea{width:100%;min-height:49px;padding:12px 13px;border:1px solid #9eb6ad;border-radius:11px;background:#fcfdfb;color:#203e37;font-weight:400;font-size:16px}.field textarea{min-height:100px;resize:vertical;line-height:1.6}.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid #9ebbaa;outline-offset:1px;border-color:#2f715a}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-grid .wide{grid-column:1/-1}.checkbox{display:flex;align-items:flex-start;gap:10px;margin:12px 0 20px;font-size:14px;line-height:1.6}.checkbox input{width:23px;height:23px;margin:0;flex-shrink:0;accent-color:#226654}.portal-body .button{font-size:14px;min-height:49px;padding:12px 20px;border-radius:12px}.button.danger{background:#fff4f0;color:#963d26;border-color:#d9aa9a}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:20px}.actions .button{flex-shrink:1}.link-button{border:0;background:none;color:#156175;min-height:44px;text-decoration:underline;text-underline-offset:3px;padding:8px 0;font-size:14px;cursor:pointer}.hint{font-size:13px;color:#586e63;line-height:1.65}.soft-notice{padding:15px 18px;background:#f4efd9;border-radius:12px;border:1px solid #e2d6b2;font-size:14px;margin:15px 0}.feedback{padding:15px 20px;border:1px solid #a5c8b0;background:#e6f4e9;border-radius:13px;margin-bottom:20px;white-space:pre-line;font-size:14px}.feedback.error{background:#fff0e9;border-color:#dbad9e;color:#893720}.portal-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:5px 0 22px;margin-bottom:4px}.portal-tabs button{min-height:48px;border-radius:12px;border:1px solid #c0d0c5;background:#fff;color:#36574a;padding:10px 16px;font-size:14px;font-weight:650;cursor:pointer}.portal-tabs button[aria-current=page]{color:#fff;background:#215c4f;border-color:#215c4f}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:22px}.workspace-top .field{margin:0;min-width:240px;max-width:100%}.workspace-top .field select{font-weight:650}.account-greeting{font-size:14px;color:#57705f;margin:0}.group-banner{display:flex;align-items:center;gap:14px;margin:5px 0 24px}.group-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#e5eede;border-radius:16px;width:58px;height:58px;color:#476841;font-size:28px}.group-banner h1{font-size:29px;margin-bottom:3px}.group-banner p{font-size:13px;color:#576e61;margin:0}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.week-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 20px}.week-nav button{width:46px;height:46px;border:1px solid #bfd0c5;background:white;border-radius:50%;color:#1c594d;font-size:23px}.week-nav span{font-size:14px;font-weight:600;text-align:center}.day-card{display:flex;gap:16px;border-top:1px solid #dde5dd;padding:17px 0}.day-card:first-child{border-top:0;padding-top:0}.day-date{width:46px;flex-shrink:0;color:#476557;font-size:12px;font-weight:650;text-align:center}.day-date strong{font-size:23px;display:block;font-weight:650;color:#22584b;line-height:1.3}.day-content{min-width:0;flex:1}.day-content p{font-size:15px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7;margin-bottom:8px}.bring{display:inline-block;max-width:100%;padding:8px 12px;background:#f6efd9;border-radius:9px;font-size:12px;color:#795d2c;white-space:pre-line;overflow-wrap:anywhere}.post-card{padding:20px;border:1px solid #d4e0d6;border-radius:16px;background:#fff;margin-bottom:14px}.post-card.important{border-left:5px solid #cd9b3e;background:#fffdf5}.post-card p{font-size:15px;white-space:pre-line;overflow-wrap:anywhere}.post-meta{font-size:12px;color:#566e61;margin-top:12px}.status-pill{display:inline-block;font-size:11px;font-weight:650;line-height:1.3;padding:6px 10px;border-radius:7px;background:#e6f1e5;color:#356039;margin-bottom:10px}.status-pill.draft{background:#f2ead8;color:#805e28}.status-pill.cancelled{background:#f6e9e4;color:#955239}.compact-list{display:grid;gap:10px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 17px;border:1px solid #dce5dc;border-radius:13px;background:#fff}.list-row strong{font-size:15px;display:block}.list-row small{font-size:12px;color:#617467}.list-row button{flex-shrink:0}.empty-friendly{padding:26px;text-align:center;background:#eef4e9;border:1px dashed #b3c7aa;border-radius:17px;color:#446146;font-size:15px}.editor-day{padding:20px;border-radius:15px;background:#f5f7ef;margin-bottom:14px;border:1px solid #dce5d2}.editor-day h3{font-size:17px;color:#45633a}.editor-day .field:last-child{margin-bottom:0}.choice-set{border:1px solid #cddbd0;padding:16px;border-radius:12px;margin-bottom:18px}.choice-set legend{font-size:14px;font-weight:600;padding:0 6px}.choice-set .checkbox{margin:8px 0}.inline-summary{font-size:14px;color:#506b59}.totp-code{font-family:ui-monospace,monospace;overflow-wrap:anywhere;display:block;padding:14px;background:#edf2e8;border-radius:12px;font-size:15px;letter-spacing:1px}.qr-box{margin:18px auto;text-align:center}.qr-box svg{width:216px;height:216px;max-width:100%;shape-rendering:crispEdges}.recovery-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px;list-style:none;background:#f5f4e8;border-radius:12px;font:14px ui-monospace,monospace}.invitation-link{width:100%;min-height:100px;padding:12px;border:1px solid #b8c7c0;border-radius:10px;overflow-wrap:anywhere;font:13px ui-monospace,monospace;background:#f7faf5}.step-label{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;font-weight:700;color:#477960;margin-bottom:12px}.portal-body dialog{width:min(580px,calc(100% - 28px));max-height:85svh;overflow:auto;border:1px solid #d4dccf;border-radius:23px;padding:30px;color:#234637;box-shadow:0 22px 90px #143a4655}.portal-body dialog::backdrop{background:#142e3e88;backdrop-filter:blur(4px)}.portal-body dialog h2{font-size:27px}.portal-body dialog p{white-space:pre-line;overflow-wrap:anywhere}.popup-badge{display:inline-block;background:#f5e9c9;color:#805c1f;padding:7px 12px;border-radius:8px;font-size:12px;font-weight:650;margin-bottom:18px}.portal-body dialog .actions{justify-content:flex-end}.audit-list{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.portal-body details>summary{min-height:44px;cursor:pointer;font-size:15px;font-weight:600;padding:10px 0}.portal-body details .hint{margin-top:10px}#privacy-cover{display:none;position:fixed;inset:0;background:#f7f8f3;color:#275848;z-index:999;padding:35px;font-size:22px}.privacy-hidden #privacy-cover{display:block}.privacy-hidden #portal-root,.privacy-hidden #popup{visibility:hidden}.mobile-notice{display:none}.forgot-box{margin-top:20px;padding-top:15px;border-top:1px solid #d9e2d7}.legal-list{font-size:13px;line-height:1.8;padding-left:20px}.welcome-tiles{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px}.welcome-tiles button{border:1px solid #c9dacf;border-radius:18px;background:#e3eee5;padding:21px;text-align:left;color:#235849;font:inherit;cursor:pointer}.welcome-tiles button:nth-child(2){background:#f1e9d2;border-color:#e2d6b5}.welcome-tiles strong{display:block;font-size:18px;margin-bottom:4px}.welcome-tiles span{font-size:12px;color:#536e5c}.notice-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:#f3ecd7;border:1px solid #e4d8b5;border-radius:14px;margin-bottom:20px;font-size:13px}.portal-body .text-button{font-size:13px}.portal-body .section-top h2{font-size:22px}.portal-body .section-top{margin-bottom:16px}.privacy-check{padding:12px 0}.privacy-check .checkbox{font-size:13px}.form-card .button:disabled{opacity:.6}.delete-note{font-size:12px;color:#8a4c33}@media(max-width:750px){#portal-content{padding:22px 20px 30px}.portal-header{padding:17px 20px}.portal-footer{padding:22px 20px}.portal-header .brand strong{font-size:22px}.portal-header .brand small{font-size:10px}.role-badge{font-size:10px;padding:6px 8px}.welcome-panel{padding:25px 22px}.welcome-panel:after{font-size:66px;right:17px;top:31px}.portal-body h1{font-size:31px}.welcome-panel h1,.welcome-panel p{max-width:80%}.dashboard-grid{grid-template-columns:1fr}.form-card,.content-card{padding:22px 20px}.form-grid{grid-template-columns:1fr}.portal-tabs{gap:6px;padding-bottom:18px}.portal-tabs button{padding:9px 12px;font-size:12px;min-height:45px}.workspace-top{gap:12px}.workspace-top .field{width:100%;min-width:0}.group-banner h1{font-size:26px}.portal-body h2{font-size:22px}.portal-body dialog{padding:24px 21px}.list-row{padding:14px;gap:9px}.list-row .button{font-size:12px;padding:9px 11px;min-height:43px}.week-nav{gap:8px}.welcome-tiles button{padding:17px}.welcome-tiles strong{font-size:16px}.actions .button{width:auto;flex-grow:1}.portal-footer{gap:14px}.day-content p{font-size:15px}.editor-day{padding:16px}.recovery-list{font-size:12px}}@media(max-width:350px){#portal-content{padding:20px 14px}.portal-header{padding:15px 14px}.brand img{width:43px;height:43px}.role-badge{max-width:86px;text-align:center}.welcome-panel:after{display:none}.welcome-panel h1,.welcome-panel p{max-width:100%}.portal-tabs button{font-size:11px;padding:8px 10px}.form-card,.content-card{padding:20px 16px}.day-card{gap:10px}.portal-body h1{font-size:28px}.recovery-list{grid-template-columns:1fr}.welcome-tiles{gap:10px}.welcome-tiles button{padding:15px 12px}}

.portal-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.portal-header{padding-top:max(22px,env(safe-area-inset-top));padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.portal-footer{padding-bottom:max(35px,env(safe-area-inset-bottom))}
