.portal-shell{min-height:720px}.portal-shell .workspace-sidebar{min-width:0}.portal-shell .workspace-sidebar small{overflow-wrap:anywhere;font-size:11px;letter-spacing:.01em}.portal-shell .workspace-main{padding:28px;min-width:0}.portal-shell .workspace-top{align-items:flex-start}.portal-shell .workspace-top h2{font-size:30px;line-height:1.2}.portal-shell .workspace-top .icon-button{flex-shrink:0;width:44px;height:44px}.portal-context{display:flex;align-items:center;gap:10px 15px;flex-wrap:wrap;padding:14px 16px;background:#edf4ff;border:1px solid #cdddf1;border-radius:9px;font-size:13px;line-height:1.7;color:#456184;margin-bottom:22px}.portal-context .text-button{min-height:40px;color:#1d579f;font-size:13px}.portal-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.portal-entry-grid .workspace-card{margin:0;background:#f7faff}.portal-entry-grid .button{font-size:14px;min-height:48px;width:100%;justify-content:space-between}.portal-private-note{font-size:13px;color:#526780;line-height:1.8}.portal-shell .workspace-card{margin-top:18px;padding:24px}.portal-shell .workspace-card h3{font-size:21px;line-height:1.35}.portal-shell .workspace-card p{font-size:15px;color:#4a6385;line-height:1.8}.portal-shell .workspace-stats{margin-top:20px}.portal-shell .workspace-stat span,.portal-shell .workspace-stat small{font-size:12px}.portal-shell form{display:grid;gap:16px;margin-top:20px}.portal-shell .field{margin:0;min-width:0}.portal-shell input,.portal-shell select,.portal-shell textarea{font-size:16px;width:100%;max-width:100%;min-width:0}.portal-shell textarea{min-height:95px}.portal-shell .field label{font-size:14px}.portal-shell .consent-row input{width:18px;height:18px;flex:0 0 18px}.portal-shell .consent-row{font-size:14px;line-height:1.7}.portal-shell .button{font-size:14px;min-height:44px;white-space:normal;text-align:left}.portal-shell .text-button{font-size:14px;min-height:44px;text-align:left}.portal-shell .state-pill{font-size:12px;white-space:normal}.portal-shell .workspace-sidebar nav button{font-size:14px;min-height:44px}.portal-shell .workspace-sidebar .workspace-exit{font-size:13px;line-height:1.7}.portal-info{display:grid;grid-template-columns:130px 1fr;gap:13px 18px;font-size:15px;line-height:1.8;margin:24px 0}.portal-info dt{color:#5b708d}.portal-info dd{margin:0;overflow-wrap:anywhere}.portal-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:20px 0}.portal-toolbar p{max-width:520px;font-size:15px;color:#4d6588}.portal-toolbar .button{flex-shrink:0}.portal-id{font-size:12px!important;overflow-wrap:anywhere}.portal-phases{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.portal-phases span{font-size:12px;padding:8px 10px;border:1px solid #d5e1ef;border-radius:6px;color:#5a7191;background:#fafcff}.portal-phases span.current{background:#1769d2;border-color:#1769d2;color:#fff;font-weight:600}.portal-inline-form{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:end;margin-top:18px}.portal-task-filters{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.portal-task-filters .filter{font-size:13px;min-height:44px}.portal-task-form{grid-template-columns:1fr 1fr}.portal-task-form .field:last-of-type{grid-column:1/-1}.portal-task-form button{justify-self:start}.portal-task-owner{font-size:13px!important;color:#2f5e9f!important}.portal-muted{font-size:13px!important;color:#546d8b!important;line-height:1.8}.portal-shell .workspace-card>small{display:block;color:#5a708c;font-size:12px;line-height:1.7;margin-top:15px}.portal-update{padding:16px 0;border-top:1px solid #dce6f2;margin-top:18px}.portal-update strong{font-size:13px;color:#3b5f8c}.portal-update p{white-space:pre-line;margin:8px 0 0}.portal-activity{font-size:13px!important;padding:10px 0;border-bottom:1px solid #e1e9f4;overflow-wrap:anywhere}.portal-empty{padding:28px;border:1px dashed #b7cee9;border-radius:10px;color:#526987;line-height:1.9;margin-top:22px;font-size:15px}.portal-delivery{background:#fff8de;border:1px solid #e6d28b;border-radius:9px;padding:18px;margin:20px 0}.portal-delivery.accepted{background:#eaf6ef;border-color:#badcc8}.portal-delivery strong{font-size:16px;color:#695615}.portal-delivery.accepted strong{color:#235e3c}.portal-delivery p{font-size:14px;line-height:1.8;margin:10px 0 0;color:#5e573c}.portal-delivery.accepted p{color:#3d624e}.result-actions a{min-height:48px}.portal-shell .workspace-actions{gap:10px}.portal-shell .workspace-actions .button{font-size:14px;min-height:44px}.portal-shell .quote-price{font-size:38px}.portal-shell .quote-price small{display:block;margin-top:8px;font-size:13px}.portal-shell .document-row{font-size:15px}.portal-shell .document-row small{font-size:12px;color:#526987;line-height:1.8}.portal-shell .workspace-card .workspace-card-head{align-items:flex-start}.portal-shell .workspace-card .workspace-card-head h3{flex:1;min-width:0}.portal-shell .workspace-notice{font-size:14px;line-height:1.8}
@media(max-width:1000px){.portal-shell{grid-template-columns:170px 1fr}.portal-shell .workspace-main{padding:22px}.portal-entry-grid{grid-template-columns:1fr}.portal-shell .workspace-sidebar{padding:20px 14px}.portal-shell .workspace-sidebar nav button{font-size:13px}.portal-toolbar{flex-wrap:wrap}.portal-shell .workspace-stats{grid-template-columns:1fr}.portal-shell .workspace-stat{display:grid;grid-template-columns:1fr auto;gap:3px 14px;align-items:center}.portal-shell .workspace-stat strong{grid-column:2;grid-row:1/3}.portal-shell .workspace-card{padding:20px}.portal-shell .workspace-top h2{font-size:27px}}
@media(max-width:700px){.workspace-modal{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:0}.portal-shell{grid-template-columns:1fr;min-height:0}.portal-shell .workspace-sidebar{border-radius:12px 12px 0 0;padding:16px}.portal-shell .workspace-sidebar .brand-logo{display:none}.portal-shell .workspace-sidebar small{display:block;margin:0 0 12px;font-size:11px}.portal-shell .workspace-sidebar .workspace-name{font-size:16px}.portal-shell .workspace-sidebar nav{display:flex;flex-wrap:wrap;gap:5px}.portal-shell .workspace-sidebar nav button{min-height:44px;font-size:12px;padding:8px 10px}.portal-shell .workspace-sidebar .workspace-exit{display:block;margin-top:8px;padding:8px 3px;min-height:40px}.portal-shell .workspace-main{padding:20px 16px;border-radius:0 0 12px 12px}.portal-shell .workspace-top h2{font-size:26px}.portal-shell .workspace-top .eyebrow{font-size:10px;line-height:1.6}.portal-shell .workspace-card{padding:18px;margin-top:16px}.portal-shell .workspace-card h3{font-size:20px}.portal-shell .workspace-card p{font-size:15px}.portal-shell .workspace-card-head{flex-wrap:wrap}.portal-info{grid-template-columns:1fr;gap:5px;margin:18px 0;font-size:14px}.portal-info dd{margin-bottom:12px}.portal-context{font-size:12px;padding:12px;gap:8px}.portal-shell .button{width:auto;max-width:100%;font-size:14px;line-height:1.6}.portal-shell .workspace-actions .button{flex:1 1 auto;font-size:13px}.portal-task-form{grid-template-columns:1fr}.portal-task-form .field:last-of-type{grid-column:auto}.portal-inline-form{grid-template-columns:1fr}.portal-phases{gap:6px}.portal-phases span{font-size:11px;padding:7px 9px}.portal-shell .document-row{align-items:flex-start;flex-wrap:wrap}.portal-shell .document-row .button{font-size:13px}.portal-shell .state-pill{font-size:11px}.portal-shell .workspace-card .workspace-card-head h3{flex-basis:100%}.portal-entry-grid .button{width:100%}.portal-delivery{padding:15px}.portal-delivery strong{font-size:15px}.portal-delivery p{font-size:14px}.result-actions a{font-size:14px;white-space:normal;line-height:1.6}}

.portal-task-card>summary{cursor:pointer;list-style:none;position:relative;padding-right:28px}.portal-task-card>summary::-webkit-details-marker{display:none}.portal-task-card>summary::after{content:"+";position:absolute;right:0;top:0;font-size:24px;line-height:1.3;color:#1769d2}.portal-task-card[open]>summary::after{content:"−"}.portal-task-card>summary .workspace-card-head{margin-bottom:6px}.portal-task-card>summary h3{font-size:18px!important;margin:0}.portal-task-card>summary p{margin:5px 0 0}.portal-task-card>summary:focus-visible{outline:3px solid #1769d2;outline-offset:6px;border-radius:3px}

.portal-shell .workspace-top{position:sticky;top:0;z-index:3;background:#f4f7fc;padding:6px 0 14px}
@media(max-width:700px){.portal-shell .workspace-sidebar nav{flex-wrap:nowrap;overflow-x:auto;max-width:100%;min-width:0;gap:6px;scrollbar-width:thin;scrollbar-color:#6d8bb9 transparent;padding-bottom:7px;scroll-snap-type:x proximity}.portal-shell .workspace-sidebar nav button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}.portal-shell .workspace-top{padding-top:4px}}

.modal{overscroll-behavior:contain}.portal-shell .workspace-sidebar{position:sticky;top:0;align-self:start;height:calc(100dvh - 52px);overflow-y:auto}
@media(max-width:700px){.portal-shell .workspace-sidebar{position:relative;top:auto;height:auto;overflow:visible}}
