.portal-language {display:flex;gap:0;align-items:center;justify-content:center;margin-bottom:8px;}
.portal-language button {border:1px solid #a8b9b2;background:#fff;color:#202926;padding:7px 12px;cursor:pointer;font:inherit;font-size:13px;}
.portal-language button:first-child {border-radius:4px 0 0 4px;}
.portal-language button:last-child {border-radius:0 4px 4px 0;}
.portal-language button[aria-pressed="true"] {background:#176b4e;color:#fff;}
.workspace-actions .portal-language {margin:0;}
.portal-language[hidden] {display:none;}
.company-contacts {padding:4px 12px 12px 36px;font-size:13px;overflow-wrap:anywhere;}
.company-contacts summary {cursor:pointer;font-weight:600;}
.company-contacts p {margin:8px 0;}
.company-contact {padding:8px 0;}
.company-contact + .company-contact {border-top:1px solid #e0e5e3;}
.company-contact label {display:flex;align-items:center;gap:8px;margin:5px 0 0;}
.company-contact label input {width:16px;height:16px;margin:0;flex:none;}
.group-company-entry {border-bottom:1px solid #e0e5e3;}
.mail-preview {border-top:1px solid #d5ded9;padding-top:8px;min-width:0;}
.mail-preview summary {cursor:pointer;font-weight:600;}
.mail-preview pre {white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;max-height:230px;overflow:auto;background:#f3f7f5;padding:12px;}
.mail-preview select {width:100%;min-width:0;}
#notification-email-modal .modal-sheet {max-height:90dvh;overflow-y:auto;}
#portal-tasks h3 {font-size:18px;margin:24px 0 10px;}
.task-list {list-style:none;margin:0;padding:0;}
.task-list li {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #d6dfda;}
.task-list li > div {min-width:0;overflow-wrap:anywhere;}
.task-list li > button {flex-shrink:0;}
.task-list p {margin:6px 0;color:#46554e;font-size:14px;}
.survey-file-picker {display:inline-flex;position:relative;border:1px solid #a8b9b2;border-radius:4px;padding:9px 14px;background:#fff;cursor:pointer;max-width:100%;margin-bottom:8px;}
.survey-file-picker input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;}
.survey-file-picker:focus-within {outline:2px solid #176b4e;outline-offset:2px;}
#survey-modal .section-head {flex-wrap:wrap;}
#survey-modal .portal-language {margin:0;}
@media(max-width:600px) {.workspace-actions {flex-wrap:wrap;}.task-list li {align-items:flex-start;gap:12px;flex-wrap:wrap;}.company-contacts {padding-left:12px;}}
@media(max-width:1100px) {
  body.workspace-mode-portal, .workspace-mode-portal .app-shell {height:auto;overflow:visible;}
  .workspace-mode-portal .workspace {height:auto;min-height:100dvh;grid-template-rows:auto auto auto auto;grid-template-areas:"header" "message" "workarea" "dashboard";overflow:visible;}
  .workspace-mode-portal .workspace-workarea, .workspace-mode-portal .content-stack {height:auto;overflow:visible;}
}
