.portal-page{gap:18px}.portal-brand{align-items:center;gap:12px;padding-top:8px;display:flex}.portal-brand-name{flex-direction:column;min-width:0;line-height:1.2;display:flex}.portal-brand strong{letter-spacing:-.01em;font-size:1.05rem;font-weight:800}.portal-brand small{color:var(--text-muted);font-size:.82rem}.portal-main{flex-direction:column;gap:16px;display:flex}.portal-col{flex-direction:column;gap:16px;min-width:0;display:flex}.portal-hero{padding:6px 2px 0}.portal-hero h1{letter-spacing:-.02em;outline:none;margin:0 0 6px;font-size:clamp(1.7rem,7vw,2.3rem);line-height:1.1}.portal-hero .sub{margin:0}.portal-card{padding:20px}.portal-card h2{letter-spacing:-.01em;margin:0 0 12px;font-size:1.15rem}.portal-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin:0 0 4px;font-size:.75rem;font-weight:700}.portal-small{color:var(--text-muted);font-size:.88rem;margin:10px 0 14px!important}.portal-keep p{overflow-wrap:anywhere;margin:0}.portal-keep .btn{width:100%}.progress{gap:18px;margin:0;padding:22px 20px;list-style:none;display:grid}.step{grid-template-columns:28px 1fr;align-items:start;gap:14px;display:grid;position:relative}.step:not(:last-child):before,.step.is-done:not(:last-child):after{content:"";border-radius:2px;width:2px;position:absolute;top:30px;bottom:-16px;left:13px}.step:not(:last-child):before{background:var(--line)}.step.is-done:not(:last-child):after{background:var(--blue);transform-origin:top}.step-dot{z-index:1;background:var(--card);border:2px solid var(--line-strong);border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:relative}.step-dot svg{position:absolute}.step-tick{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:22;stroke-dashoffset:22px}.step.is-done .step-dot{background:var(--blue);border-color:var(--blue)}.step.is-done .step-tick{stroke-dashoffset:0}.step.is-now .step-dot{border-color:var(--blue);box-shadow:0 0 0 5px var(--blue-light)}.step.is-now .step-dot:after{content:"";background:var(--blue);border-radius:50%;width:10px;height:10px}.step-text{flex-direction:column;gap:2px;padding-top:3px;display:flex}.step-text strong{color:var(--text);font-size:.98rem}.step-text small{color:var(--text-muted);font-size:.85rem}.step.is-later .step-text strong{color:var(--text-muted);font-weight:600}.closed-mark{background:var(--bg-alt);width:40px;height:40px;color:var(--text-muted);border-radius:50%;place-items:center;margin-bottom:10px;display:grid}.closed-mark svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.portal-closed p{color:var(--text-muted);margin:0 0 14px}.portal-facts{gap:14px;margin:0;display:grid}.portal-facts dt{color:var(--text-muted);margin-bottom:2px;font-size:.8rem}.portal-facts dd{overflow-wrap:anywhere;margin:0;font-weight:600}.portal-detail{color:var(--text-muted);font-weight:500;display:block}.portal-message{white-space:pre-wrap;font-weight:500}.portal-follow .follow-label{margin-top:0}.portal-follow-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.portal-follow-row .btn{gap:8px}.portal-signout{flex:none;align-items:center;gap:8px;display:flex}.portal-signout small{color:var(--text-muted);white-space:nowrap;font-size:.8rem}.portal-signout-btn{border:1px solid var(--line-strong);background:var(--card);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;padding:6px 12px;font-size:.82rem;font-weight:700;transition:background-color .15s,border-color .15s}.portal-signout-btn:hover{border-color:var(--text-muted)}.portal-signout-btn:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.portal-signout-btn:disabled{color:var(--good);border-color:var(--good-light);background:var(--good-light)}@media (width<=420px){.portal-signout small{display:none}}.linklike{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.linklike:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}@media (prefers-reduced-motion:no-preference){.p-in{animation:p-rise .6s cubic-bezier(.22, 1, .36, 1) var(--t,0s) both}.step.is-done .step-dot{animation:dot-fill .5s cubic-bezier(.34, 1.4, .64, 1) var(--t) both}.step.is-done .step-tick{animation:tick-draw .28s cubic-bezier(.22, 1, .36, 1) calc(var(--t) + .16s) both}.step.is-done:not(:last-child):after{animation:line-draw calc(var(--line-time) - .22s) cubic-bezier(.45, 0, .25, 1) calc(var(--t) + .22s) both}.step.is-done .step-text strong,.step.is-now .step-text strong{animation:words-on .4s ease-out var(--t) both}.step.is-now .step-dot{animation:now-ring .7s cubic-bezier(.22, 1, .36, 1) var(--t) both}.step.is-now .step-dot:after{animation:now-dot .4s cubic-bezier(.34, 1.56, .64, 1) calc(var(--t) + .12s) both}.portal-done .done-circle{animation-delay:50ms}.portal-done .done-check{animation-delay:.38s}.portal-done .done-ripple{animation-delay:.55s}}@media (prefers-reduced-motion:reduce){.p-in{animation:.2s ease-out both p-fade}}@keyframes p-rise{0%{opacity:0;transform:translateY(12px)}}@keyframes p-fade{0%{opacity:0}}@keyframes dot-fill{0%{background:var(--card);border-color:var(--line-strong);transform:scale(1)}45%{background:var(--blue);border-color:var(--blue);transform:scale(1.18)}to{transform:scale(1)}}@keyframes tick-draw{0%{stroke-dashoffset:22px}to{stroke-dashoffset:0}}@keyframes line-draw{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes words-on{0%{color:var(--text-muted)}}@keyframes now-ring{0%{border-color:var(--line-strong);box-shadow:0 0 0 0 var(--blue-light)}55%{border-color:var(--blue);box-shadow:0 0 0 10px var(--blue-light)}to{border-color:var(--blue);box-shadow:0 0 0 5px var(--blue-light)}}@keyframes now-dot{0%{transform:scale(0)}to{transform:scale(1)}}.dportal .portal-brand{width:100%;max-width:1040px;margin:0 auto;padding-top:28px}.dportal .portal-main{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:32px;width:100%;max-width:1040px;margin:0 auto;display:grid}.dportal .portal-main--single{max-width:560px;display:block}.dportal .portal-hero h1{font-size:3rem}.dportal .portal-hero{padding:24px 0 8px}.portal-aside{flex-direction:column;gap:12px;display:flex}.portal-keep{padding:16px 18px}.stage-cards{flex-direction:column;gap:10px;min-width:0;display:flex}.stage-card{padding:0;overflow:hidden}.stage-head{text-align:left;align-items:center;gap:12px;width:100%;padding:16px 18px;display:flex}.stage-card.is-now .stage-head{flex-direction:column;align-items:flex-start;gap:2px;padding-bottom:6px}.stage-head h2{margin:0;font-size:1.05rem}.stage-card.is-now .stage-head h2{font-size:1.2rem}.stage-toggle{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}.stage-toggle:focus-visible{outline:3px solid var(--blue);outline-offset:-3px;border-radius:var(--radius-lg)}.stage-mark{background:var(--blue);color:#fff;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.stage-mark svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.stage-card.is-later .stage-mark{background:var(--card);border:2px solid var(--line-strong)}.stage-chevron{fill:none;stroke:var(--text-muted);stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;margin-left:auto;transition:transform .25s cubic-bezier(.22,1,.36,1)}.stage-card.is-open .stage-chevron{transform:rotate(180deg)}.stage-card.is-later{background:var(--bg);box-shadow:none}.stage-card.is-later .stage-head h2{color:var(--text-muted);font-weight:600}.stage-body{grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1);display:grid}.stage-card.is-open .stage-body{grid-template-rows:1fr}.stage-body-inner{min-height:0;padding:0 18px;overflow:hidden}.stage-card.is-open .stage-body-inner{padding-bottom:18px}.stage-card:not(.is-open) .stage-body-inner{visibility:hidden;transition:visibility 0s .32s}.stage-later{color:var(--text-muted);margin:0;font-size:.9rem}.stage-waiting{color:var(--text-muted);margin:0}.stage-topic{margin:6px 0 14px;font-weight:700}.stage-summary{white-space:pre-wrap;margin:4px 0 0;line-height:1.55}.stage-sub{color:var(--text-muted);margin:18px 0 8px;font-size:.8rem;font-weight:600}.fact-row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.stage-form{flex-direction:column;gap:8px;margin-top:4px;display:flex}.stage-form input,.stage-form textarea{box-sizing:border-box;width:100%;font:inherit;color:var(--text);border:1.5px solid var(--line-strong);border-radius:var(--radius);background:var(--card);padding:11px 12px;font-weight:500}.stage-form textarea{resize:vertical;min-height:64px}.stage-form input:focus,.stage-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-light);outline:none}.stage-form-note{color:var(--text-muted);margin:0;font-size:.82rem}.stage-form-row{gap:8px;display:flex}.stage-form-row .btn{flex:1;min-height:44px}.stage-form-row--end{justify-content:flex-end}.stage-form-row--end .btn{flex:none;padding:0 18px}.comment-list{gap:8px;margin:0 0 10px;padding:0;list-style:none;display:grid}.comment-list li{background:var(--bg);border-radius:var(--radius);padding:10px 12px}.comment-list p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 2px}.comment-list small{color:var(--text-muted);font-size:.78rem}.specialist{grid-template-columns:auto 1fr;align-items:center;gap:12px 14px;margin-top:6px;display:grid}.specialist-avatar{background:var(--blue-light);width:48px;height:48px;color:var(--blue-dark);border-radius:50%;place-items:center;font-weight:800;display:grid}.specialist-text{flex-direction:column;display:flex}.specialist-text small{color:var(--text-muted)}.specialist-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;display:grid}.specialist-actions .btn{min-height:44px}@media (prefers-reduced-motion:reduce){.stage-body,.stage-chevron{transition:none}}.dportal .portal-main{grid-template-areas:"hero aside""left cards"}.dportal .portal-hero{grid-area:hero;align-self:end}.dportal .portal-aside{grid-area:aside}.dportal .portal-left{grid-area:left}.dportal .stage-cards{grid-area:cards}.dportal .portal-aside{grid-template-columns:1fr;align-self:end;gap:10px;display:grid}.stage-card.is-waiting .stage-mark{background:var(--card);border:2px solid var(--blue)}.stage-card.is-waiting .stage-chevron{visibility:hidden}.stage-card.is-waiting .stage-toggle{cursor:default}@media (prefers-reduced-motion:no-preference){.stage-card.is-now:not(.is-waiting) .stage-head{animation:.45s cubic-bezier(.22,1,.36,1) both now-head}.stage-card.is-done .stage-mark{animation:dot-fill .5s cubic-bezier(.34, 1.4, .64, 1) var(--tick) both}.stage-card.is-done .stage-mark svg path{stroke-dasharray:22;animation:tick-draw .28s cubic-bezier(.22, 1, .36, 1) calc(var(--tick) + .16s) both}}@keyframes now-head{0%{opacity:0;transform:translateY(-4px)}}.portal-brand-name strong,.portal-brand-name small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (width<=480px){.portal-role{display:none}}.portal-left{flex-direction:column;gap:14px;min-width:0;display:flex}.ladder-actions{flex-direction:column;gap:10px;display:flex}.ladder-more label{font-weight:700}.ladder-more textarea{box-sizing:border-box;width:100%;font:inherit;color:var(--text);resize:vertical;border:1.5px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--card);min-height:84px;padding:12px 14px;font-weight:500}.ladder-more textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-light);outline:none}.ladder-more .btn.is-sent{background:var(--good);border-color:var(--good)}.ladder-choice{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ladder-choice .btn,.ladder-confirm .btn{min-height:48px}.ladder-confirm p{margin:0 0 10px;font-weight:600}.portal-quick{color:var(--text-muted);flex-wrap:nowrap;align-items:center;min-width:0;margin:12px 0 0;font-size:.9rem;display:flex}.portal-quick>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.portal-quick .quick-reach{flex:none}.portal-quick .quick-topic{flex:0 auto}.portal-quick .quick-sent{flex:none}.portal-quick>span+span:before{content:"·";color:var(--line-strong);margin:0 8px}.portal-info-btn{border:1px solid var(--line-strong);background:var(--card);color:var(--blue);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:4px;margin-left:12px;padding:6px 10px 6px 12px;font-size:.85rem;font-weight:700;transition:border-color .15s;display:inline-flex}.portal-info-btn svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.portal-info-btn:hover{border-color:var(--blue)}.portal-info-btn:hover svg{transform:translate(2px)}.portal-info-btn:focus-visible{outline:3px solid var(--blue);outline-offset:2px}@media (width<=480px){.portal-quick .quick-topic{display:none}}@media (width<=600px){.portal-quick .quick-reach{flex:0 auto;min-width:4ch}}@media (width<=440px){.portal-quick .quick-sent{display:none}}.portal-shell{--drawer:min(86vw, 420px);position:relative;overflow-x:clip}.info-drawer{width:calc(var(--drawer) + 32px);z-index:0;overscroll-behavior:contain;background:var(--bg-alt);padding:max(24px, env(safe-area-inset-top)) calc(22px + 32px) calc(24px + env(safe-area-inset-bottom)) 22px;box-sizing:border-box;position:fixed;inset:0 auto 0 0;overflow-y:auto}.info-inner{flex-direction:column;gap:14px;display:flex}.info-head{justify-content:space-between;align-items:center;display:flex}.info-head h2{letter-spacing:-.01em;margin:0;font-size:1.4rem}.info-close{border:1px solid var(--line-strong);background:var(--card);cursor:pointer;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.info-close svg{fill:none;stroke:var(--text);stroke-width:2.2px;stroke-linecap:round}.info-close:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.info-note{color:var(--text-muted);margin:0;font-size:.9rem}.info-facts{border-top:1px solid var(--line);padding-top:14px}.portal-screen{z-index:1;background:var(--bg);min-height:100dvh;position:relative}.portal-scrim{top:0;bottom:0;left:var(--drawer);z-index:2;cursor:pointer;background:0 0;border:0;position:fixed;right:0}.portal-shell.is-info .portal-screen{transform:translateX(var(--drawer));border-radius:22px 0 0 22px;overflow:hidden;box-shadow:-18px 0 48px #14100824}@media (prefers-reduced-motion:no-preference){.portal-screen{transition:transform .5s cubic-bezier(.32,.72,0,1),box-shadow .5s,border-radius .5s}.info-inner{opacity:.4;transition:transform .5s cubic-bezier(.32,.72,0,1),opacity .4s;transform:translate(-28px)}.portal-shell.is-info .info-inner{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.portal-shell.is-info .portal-screen{visibility:hidden;transform:none}.portal-shell.is-info .info-drawer{z-index:3;width:100%}.portal-scrim{display:none}}.portal-title{align-items:center;gap:14px;margin-bottom:6px;display:flex}.portal-title h1{margin:0}.portal-done{flex:none;width:52px;height:52px;margin:0}.dportal .portal-done,.dportal .portal-done svg{width:56px;height:56px}.portal-msg-btn{border:1px solid var(--line-strong);background:var(--card);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;margin-left:auto;padding:6px 12px;font-size:.82rem;font-weight:700;display:inline-flex;position:relative}.portal-msg-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round}.portal-msg-btn:hover{border-color:var(--text-muted)}.portal-msg-btn:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.portal-badge{background:var(--blue);color:#fff;box-sizing:border-box;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.72rem;display:inline-grid}@media (width<=480px){.portal-msg-label{display:none}}.msg-drawer{width:calc(var(--drawer) + 32px);z-index:0;box-sizing:border-box;background:var(--bg-alt);padding:max(24px, env(safe-area-inset-top)) 22px calc(16px + env(safe-area-inset-bottom)) calc(22px + 32px);flex-direction:column;display:flex;position:fixed;inset:0 0 0 auto}.msg-head{flex:none;margin-bottom:12px}.msg-thread{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:10px;padding:4px 2px 12px;display:flex;overflow-y:auto}.msg{background:var(--card);max-width:86%;box-shadow:var(--shadow);border-radius:16px;align-self:flex-start;padding:10px 12px}.msg p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.msg small{color:var(--text-muted);margin-top:4px;font-size:.75rem;display:block}.msg-label{letter-spacing:.04em;text-transform:uppercase;color:var(--gold);margin-bottom:2px;font-size:.72rem;font-weight:700;display:block}.msg--you{background:var(--blue);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.msg--you small,.msg--you .msg-label{color:#fffc}.msg--team,.msg--update{border-bottom-left-radius:6px}.msg--update{background:var(--card);border:1px solid var(--blue-light)}.msg--update .msg-label{color:var(--blue)}.msg-compose{border-top:1px solid var(--line);flex:none;padding-top:10px}.msg-compose-row{align-items:flex-end;gap:8px;display:flex}.msg-compose textarea{resize:none;box-sizing:border-box;min-height:44px;max-height:140px;font:inherit;color:var(--text);border:1.5px solid var(--line-strong);background:var(--card);field-sizing:content;border-radius:22px;flex:1;padding:11px 14px;font-weight:500}.msg-compose textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-light);outline:none}.msg-send{border-radius:50%;flex:none;width:44px;height:44px;min-height:44px;padding:0}.msg-send svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round}.portal-shell.is-messages .portal-screen{transform:translateX(calc(-1 * var(--drawer)));border-radius:0 22px 22px 0;overflow:hidden;box-shadow:18px 0 48px #14100824}.portal-scrim--messages{left:0;right:var(--drawer)}.portal-shell:not(.is-messages) .msg-drawer,.portal-shell:not(.is-info) .info-drawer{visibility:hidden}.portal-shell.is-messages .msg-drawer,.portal-shell.is-info .info-drawer{visibility:visible}@media (prefers-reduced-motion:no-preference){.msg-drawer>*{opacity:.4;transition:transform .5s cubic-bezier(.32,.72,0,1),opacity .4s;transform:translate(28px)}.portal-shell.is-messages .msg-drawer>*{opacity:1;transform:none}.portal-shell:not(.is-messages) .msg-drawer,.portal-shell:not(.is-info) .info-drawer{transition:visibility 0s .5s}}@media (prefers-reduced-motion:reduce){.portal-shell.is-messages .portal-screen{visibility:hidden;transform:none}.portal-shell.is-messages .msg-drawer{z-index:3;width:100%}}.info-added{border-top:1px solid var(--line);padding-top:14px}.msg-details{gap:6px;margin:0;display:grid}.msg-details dt{color:#ffffffbf;font-size:.72rem}.msg-details dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-weight:600}.msg-details-message dd{font-weight:500}.msg-event{text-align:center;max-width:92%;color:var(--text-muted);overflow-wrap:anywhere;align-self:center;margin:2px 0;font-size:.8rem}.msg-event small{font-size:.72rem;display:block}.p-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.info-inner{gap:16px}.info-close{color:var(--text)}.info-card{background:var(--card);border-radius:var(--radius-lg);box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:18px;display:flex}.info-card h3{letter-spacing:-.01em;margin:0;font-size:1rem}.info-card .info-note{margin:-6px 0 0}.info-form{flex-direction:column;gap:12px;display:flex}.info-field{color:var(--text-muted);flex-direction:column;gap:6px;font-size:.8rem;font-weight:600;display:flex}.info-input{box-sizing:border-box;border:1.5px solid var(--line-strong);border-radius:var(--radius);background:var(--card);min-height:46px;color:var(--text-muted);align-items:center;gap:10px;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex}.info-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-light);color:var(--blue)}.info-input input{min-width:0;font:inherit;color:var(--text);background:0 0;border:0;outline:none;flex:1;padding:0;font-size:.95rem;font-weight:600}.info-save{justify-content:center;align-items:center;gap:6px;min-height:46px;display:inline-flex}.info-save.is-saved:disabled{opacity:1;background:var(--good);border-color:var(--good);color:#fff}.info-rows{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.info-rows li{color:var(--text-muted);align-items:flex-start;gap:12px;display:flex}.info-rows li>span{min-width:0;color:var(--text);overflow-wrap:anywhere;flex-direction:column;gap:2px;font-weight:600;display:flex}.info-rows small{color:var(--text-muted);font-size:.78rem;font-weight:600}.info-rows em{white-space:pre-wrap;font-style:normal;font-weight:500}.info-sub{color:var(--text-muted);margin:4px 0 0;font-size:.78rem;font-weight:700}.portal-earlier{color:var(--text-muted);flex-direction:column;gap:2px;font-weight:500;display:flex}
