@font-face{font-family:Jakarta;src:url('./assets/PlusJakartaSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Jakarta;src:url('./assets/PlusJakartaSans-Medium.ttf') format('truetype');font-weight:500 600;font-display:swap}
@font-face{font-family:Jakarta;src:url('./assets/PlusJakartaSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}

:root{--ink:#20252b;--muted:#6b7077;--line:#e6e6e1;--line-strong:#cdd0ce;--paper:#fafaf7;--surface:#fff;--quiet:#f4f4f0;--plum:#4b326e;--plum-light:#f1edf6;--cyan:#007a87;--positive:#367153;--caution:#8a6525;--sidebar:232px;--font:Jakarta,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}
html{color-scheme:light;scrollbar-gutter:stable}
body{margin:0;background:var(--surface);color:var(--ink);font:14px/1.55 var(--font);-webkit-font-smoothing:antialiased}
body:has(dialog[open]){overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.48}
button,a,input,select,textarea,summary{outline-offset:3px}
:focus-visible{outline:3px solid #a887c9}
button{border:0;background:none}
a{color:var(--plum);text-underline-offset:3px}
img{display:block;max-width:100%}
svg{display:block}
h1,h2,h3,p{margin:0}
h1{font-size:28px;line-height:1.24;letter-spacing:-.85px;font-weight:700}
h2{font-size:17px;line-height:1.4;letter-spacing:-.3px;font-weight:700}
h3{font-size:14px;line-height:1.5;font-weight:700}
strong,b{font-weight:700}
[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;top:8px;left:12px;z-index:200;padding:10px 16px;background:var(--plum);color:#fff;border-radius:5px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.icon{display:block;width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.subtle{color:var(--muted);font-size:13px;line-height:1.6}
.eyebrow{color:var(--muted);font-size:12px;font-weight:500}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;color:var(--ink);font-weight:500;line-height:1.4;text-decoration:none;white-space:nowrap}
.button:hover:not(:disabled){background:var(--paper);border-color:#a6aca8}
.button.primary{border-color:var(--plum);background:var(--plum);color:#fff}
.button.primary:hover:not(:disabled){border-color:#37244f;background:#37244f}
.button.quiet{border-color:transparent;background:transparent;color:var(--muted)}
.button.quiet:hover:not(:disabled){background:var(--quiet);color:var(--ink)}
.button.danger{color:#9a3c35;border-color:#e5c5c1}
.button.small{min-height:44px;padding:8px 12px;font-size:12px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid transparent;border-radius:6px;color:var(--muted);background:transparent}
.icon-button:hover:not(:disabled){background:var(--quiet);color:var(--ink)}
.button .icon{width:17px;height:17px;flex-basis:17px}
.avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden;border-radius:9px;background:#eeedf1;color:var(--plum);font-size:12px;font-weight:700;line-height:1}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar.small{width:28px;height:28px;flex-basis:28px;border-radius:7px;font-size:11px}

/* The workspace shares the paper, ink and plum of the entrance. */
.portal-shell,.portal-dialog{--ink:#29282d;--muted:#716c77;--line:#e6e1e7;--line-strong:#d2cbd5;--paper:#f4f2eb;--surface:#fff;--quiet:#f3eff6;--sidebar:250px;--workspace-topbar-height:76px;--workspace-nav-height:0px;color:var(--ink)}
.portal-shell{min-height:100dvh;background:#f7f5f0}
.portal-shell .subtle,.portal-dialog .subtle{color:var(--muted);font-size:13px;line-height:1.65}
.portal-shell :focus-visible,.portal-dialog :focus-visible{outline-color:#9872b0}
.portal-shell .button,.portal-dialog .button{min-height:44px;padding:11px 16px;border-radius:11px;font-size:13px;line-height:1.45;white-space:normal}
.portal-shell .button.small,.portal-dialog .button.small{min-height:44px;padding:9px 12px;font-size:12px}
.portal-shell .button.quiet,.portal-dialog .button.quiet{color:#716779}
.portal-shell .icon-button,.portal-dialog .icon-button{border-radius:11px}
.portal-shell .avatar,.portal-dialog .avatar{border-radius:50%;background:#eeE8f2;color:var(--plum)}
.portal-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;width:var(--sidebar);height:100dvh;padding:30px 18px 19px;border-right:1px solid #e2ded5;background:#f0eee7;overflow-y:auto;overscroll-behavior:contain}
.portal-brand{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;color:#202630;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:-.9px;line-height:1}
.portal-sidebar .portal-brand{gap:9px;min-height:40px;padding:0 11px;color:#29282d;font-size:26px;letter-spacing:-1.1px}
.portal-brand img{width:29px;height:29px;object-fit:contain;filter:brightness(.45)}
.project-lockup{display:flex;align-items:center;gap:11px;margin:30px 10px 25px;padding:0;min-width:0}
.project-lockup>div{min-width:0}
.project-lockup p,.project-lockup span{display:block;color:#746f76;font-size:12px;line-height:1.5}
.project-lockup strong{display:block;color:#353039;font-size:13px;font-weight:600;letter-spacing:-.15px}
.project-symbol{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #dfd8e2;border-radius:12px;background:#fff;color:var(--cyan)!important;font-size:16px!important;font-weight:500}
.portal-nav{display:flex;flex-direction:column;gap:5px}
.nav-item{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:11px 13px;border:1px solid transparent;border-radius:12px;color:#706977;text-align:left;text-decoration:none;font-size:13px;font-weight:500;line-height:1.5}
.nav-item:hover{background:#e9e5df;color:var(--ink)}
.nav-item.is-active,.nav-item[aria-current=page]{border-color:#e3dce7;background:#fff;color:var(--plum)}
.nav-item.is-active .icon,.nav-item[aria-current=page] .icon{color:var(--plum)}
.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;border-radius:7px;background:#e9e0ef;color:var(--plum);font-size:11px;font-variant-numeric:tabular-nums}
.sidebar-foot{display:flex;flex-direction:column;gap:22px;margin-top:auto;padding:40px 10px 0}
.partner-lockup{display:flex;align-items:center;gap:14px}
.partner-lockup img{width:auto;max-width:83px;max-height:23px;object-fit:contain;object-position:left}
.partner-lockup img[src*=psicomanager]{max-width:91px;max-height:23px}
.user-chip{display:flex;align-items:center;gap:10px;width:100%;padding:19px 0 0;border-top:1px solid #ddd7d0;text-align:left;color:var(--ink);min-width:0}
.user-chip>span:not(.avatar),.user-chip>div{min-width:0}
.user-chip strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
.user-chip small{display:block;margin-top:2px;color:var(--muted);font-size:11px}
.user-chip .icon{width:15px;height:15px;flex-basis:15px;margin-left:auto}
.user-chip img[src*=sintropia-mark]{width:13px;height:15px;flex-basis:13px}
.portal-shell .logout-button{justify-content:flex-start;margin:-14px 0 0;padding-left:0;font-size:12px}
.logout-button .icon{width:16px;height:16px;flex-basis:16px}
.portal-workspace{min-width:0;margin-left:var(--sidebar)}
.portal-topbar{position:sticky;top:var(--workspace-top-offset,0px);z-index:15;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:var(--workspace-topbar-height);padding:12px 38px;border-bottom:1px solid #e8e3dc;background:#f7f5f0f5}
.topbar-title{display:flex;align-items:center;gap:12px;min-width:0;font-size:13px;font-weight:500;color:#514a57}
.topbar-title>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.topbar-actions .subtle{font-size:12px}
#header-luma{border-color:#e4dce8;background:#fff;color:var(--plum);border-radius:999px;padding-left:13px;padding-right:16px}
.connection-state{font-size:11px;color:#716d73}
.connection-state::before{content:'';display:inline-block;width:5px;height:5px;margin:0 6px 1px 0;border-radius:50%;background:#738970}
.connection-state.is-offline{color:#8a6525}
.connection-state.is-offline::before{background:#a57c32}
.account-mode{display:inline-flex;align-items:center;gap:6px;margin-left:3px;color:#726978;font-size:11px}
.account-mode img{width:13px;height:14px;object-fit:contain}
.mobile-menu,.mobile-bottom-nav{display:none}
.portal-main{max-width:1360px;margin:0 auto;padding:39px 42px 60px;min-width:0}
.page-view{min-width:0}
.page-heading,.home-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-width:0;margin-bottom:28px}
.page-heading>div:first-child,.home-context{min-width:0}
.page-heading h1,.home-greeting{font-size:34px;font-weight:500;letter-spacing:-1.25px;line-height:1.23}
.page-heading p,.home-description{max-width:640px;margin-top:10px;color:var(--muted);font-size:14px;line-height:1.75}
.home-kicker,.home-context>.eyebrow{display:block;margin-bottom:9px;color:#7a6d80;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.045em}
.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:48%;flex-shrink:0}
.text-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--plum);font-size:12px;text-decoration:none}
.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 31px;min-width:0}
.home-summary:empty{display:none}
.home-metric{display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px 14px;align-content:center;min-width:0;min-height:132px;padding:22px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--ink);text-align:left}
.home-metric>.icon{grid-column:1;grid-row:1/4;align-self:start;width:40px;height:40px;padding:9px;border:1px solid #ece6ef;border-radius:12px;background:#f7f3f9;color:var(--plum)}
.home-metric>strong{grid-column:2;font-size:30px;font-weight:500;line-height:1.15;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.home-metric>span{grid-column:2;font-size:13px;font-weight:500}
.home-metric>small{grid-column:2;color:var(--muted);font-size:12px;line-height:1.5}
.home-metric:hover{border-color:#b8a7c6;background:#fdfbfe}
.home-clear-state{display:flex;align-items:flex-start;gap:11px;grid-column:1/-1;max-width:100%;padding:16px 18px;border:1px solid #dddcd2;border-radius:13px;background:#f4f3eE;color:#676a60;font-size:13px;line-height:1.7}
.home-clear-state .icon{flex-basis:18px;width:18px;height:18px;margin-top:2px;color:var(--positive)}
.work-section{min-width:0;margin-top:30px}
.work-section:first-child{margin-top:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:13px}
.section-heading h2{font-size:18px;font-weight:500;letter-spacing:-.35px;line-height:1.45}
.section-heading .subtle{font-size:12px}
.section-heading .button{font-size:12px}
.request-list{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}
.request-list:empty{border:0;background:none}
.request-row,.request-table-head{display:grid;grid-template-columns:minmax(180px,1.85fr) minmax(120px,1fr) minmax(120px,1fr) minmax(105px,auto) 123px;align-items:center;gap:18px;min-width:0;width:100%;min-height:96px;padding:19px 20px;border-bottom:1px solid var(--line);background:#fff;text-align:left;color:inherit;text-decoration:none}
.request-row:last-child{border-bottom:0}
.request-row:hover{background:#fdfcfa}
.request-table-head{min-height:33px;margin-bottom:8px;padding:0 20px;border:0;background:transparent;color:#716477;font-size:11px;font-weight:500}
.request-table-head span:nth-child(4){text-align:right}
.request-open{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:44px;width:100%;padding:0;text-align:left;color:inherit;background:transparent}
.request-document-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:42px;border:1px solid #e5dce9;border-radius:10px;background:#faf7fc;color:#8b719d}
.request-document-mark>.icon{width:19px;height:19px;flex-basis:19px}
.request-copy{display:block;min-width:0}
.request-open:hover .request-name{text-decoration:underline;text-underline-offset:4px}
.request-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;width:123px;padding:9px 10px;border:1px solid #e2d7eb;border-radius:11px;background:#f6f1f9;color:var(--plum);font-size:12px;font-weight:500;line-height:1.45;text-align:center;white-space:normal}
.request-primary-action .icon{width:16px;height:16px;flex-basis:16px}
.request-primary-action:hover{border-color:#b6a1c7;background:#eee4f5}
.deadline{display:block;color:var(--muted);font-size:12px;line-height:1.55}
.deadline.overdue{color:#9a3c35}
.list-caption{margin-top:15px;font-size:12px}
.request-name{display:block;min-width:0;overflow-wrap:anywhere;font-weight:600;font-size:14px;line-height:1.6}
.request-name strong{font-weight:600}
.request-name .subtle,.request-meta{display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.65}
.request-meta{display:flex;align-items:center;gap:6px 11px;flex-wrap:wrap}
.request-version{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid #e8dfee;border-radius:5px;background:#faf7fc;color:#7c648c;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.45}
.request-person{display:flex;align-items:center;gap:8px;min-width:0;color:#645a6b;font-size:12px}
.request-person>span:not(.avatar),.request-person>div{min-width:0;overflow-wrap:anywhere}
.request-person small{display:block;color:#7a737e;font-size:11px}
.request-row.compact .request-person{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 7px}
.request-row.compact .request-person::before{content:attr(data-label);grid-column:1/-1;color:#79717f;font-size:11px}
.request-state{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;text-align:right}
.request-state .icon{width:15px;height:15px;flex-basis:15px;color:#978a9f}
.status-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 9px;border-radius:999px;background:#f1f0ee;color:#625d67;font-size:11px;font-weight:500;line-height:1.45;white-space:nowrap}
.status-badge::before{content:'';flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:currentColor}
.status-badge.draft{background:#efede7;color:#70675e}
.status-badge.requested{background:#fbf2df;color:#805d20}
.status-badge.submitted{background:#eaf0f6;color:#3d5e7b}
.status-badge.changes_requested{background:#fbebe4;color:#914c34}
.status-badge.accepted{background:#e8f2ea;color:#326347}
.status-badge.waived{background:#f0e8f6;color:#694582}
.empty-state{padding:32px 22px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--muted);text-align:center;font-size:13px;line-height:1.75}
.empty-state .icon{width:28px;height:28px;margin:0 auto 13px;color:#988aa1;stroke-width:1.4}
.empty-state strong{display:block;margin-bottom:6px;color:var(--ink);font-size:15px;font-weight:500}
.empty-state p{max-width:470px;margin:0 auto}
.empty-state .button{margin-top:18px}
.request-list>.empty-state{border:0}
#view-minha-area.is-preparing-admin .work-section .empty-state{padding:20px;text-align:left}
#view-minha-area.is-preparing-admin .work-section .empty-state p{max-width:none;margin:0}
.workspace-searchbar,.request-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;min-width:0;margin-bottom:14px}
.workspace-searchbar>.search-field,.workspace-searchbar>.field{flex:1;max-width:530px}
.search-field{display:flex;align-items:center;gap:10px;min-width:0;min-height:47px;width:100%;max-width:460px;padding:0 14px;border:1px solid var(--line-strong);border-radius:12px;background:#fff}
.search-field .icon{flex-basis:18px;width:18px;height:18px;color:#83768c}
.search-field input{width:100%;min-width:0;min-height:45px;padding:0;border:0;outline:0;background:transparent;font-size:13px}
.search-field:focus-within{outline:2px solid #9872b0;outline-offset:2px}
.filters{display:flex;align-items:flex-end;gap:13px;min-width:0}
.filters>label{flex:1;min-width:0}
.filters select,.request-toolbar>select{min-width:0;min-height:45px;max-width:100%;padding:10px 31px 10px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;font-size:13px}
.filter-panel{min-width:0;margin:0 0 24px;border:1px solid var(--line);border-radius:15px;background:#fff}
.filter-panel>summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 17px;list-style:none;color:#62536c;font-size:13px;font-weight:500;cursor:pointer}
.filter-panel>summary::-webkit-details-marker{display:none}
.filter-panel>summary::after{content:'+';margin-left:auto;color:#8b7799;font-size:21px;font-weight:400;line-height:1}
.filter-panel[open]>summary{border-bottom:1px solid var(--line)}
.filter-panel[open]>summary::after{content:'−'}
.filter-panel>summary .icon{width:17px;height:17px;flex-basis:17px}
.filter-panel>summary>.icon:last-child{display:none}
.filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:#eee5f4;color:var(--plum);font-size:11px}
.filter-count:empty{display:none}
.filter-panel>.filter-panel-body{display:none;padding:17px}
.filter-panel[open]>.filter-panel-body{display:block}
.filter-panel-body>.filters{max-width:760px}
.filter-panel-body .management-toolbar{margin:0;padding:0;border:0}
.management-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;min-width:0;margin:0 0 24px;border:1px solid var(--line);border-radius:17px;background:#fff}
.management-summary>div,.management-summary>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:0;min-height:112px;padding:21px 23px;border-right:1px solid var(--line);background:#fff;text-align:left;color:var(--ink)}
.management-summary>:last-child{border-right:0}
.management-summary strong{font-size:33px;font-weight:500;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.management-summary span,.management-summary small{max-width:100%;color:var(--muted);font-size:12px;line-height:1.5}
.management-summary button:hover{background:#fbf8fd}
.management-summary button[aria-pressed=true]{background:#f5eff9;box-shadow:inset 0 -3px var(--plum)}
.management-summary button[aria-pressed=true] strong{color:var(--plum)}
.management-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
.management-toolbar>.field,.management-filter{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--muted);font-size:12px;font-weight:500}
.management-toolbar select,.management-filter select{width:100%;min-width:0;min-height:45px;max-width:100%;padding:10px 30px 10px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;color:var(--ink);font-size:13px;font-weight:400}
.management-toolbar>.button{align-self:end}
.management-queue{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}
.management-queue-heading,.management-list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;min-width:0;margin:0 0 13px}
.management-queue-heading h2{font-size:18px;font-weight:500}
.management-queue-heading p,.management-queue-heading span{color:var(--muted);font-size:12px}
.management-row{display:grid;grid-template-columns:minmax(190px,1.8fr) minmax(145px,1fr) minmax(120px,.8fr) auto;align-items:center;gap:20px;min-width:0;padding:22px;border-bottom:1px solid var(--line);background:#fff}
.management-row:last-child{border-bottom:0}
.management-row>div{min-width:0}
.management-title>strong,.management-title>button,.management-title>a{display:block;max-width:100%;min-height:44px;padding:0;color:var(--ink);font-size:15px;font-weight:600;line-height:1.6;text-align:left;text-decoration:none;overflow-wrap:anywhere}
.management-title>button:hover,.management-title>a:hover{text-decoration:underline;text-underline-offset:4px}
.management-title>p,.management-title>small,.management-title>.subtle{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.management-people{display:flex;flex-direction:column;gap:10px}
.management-people>div,.management-person{display:grid;grid-template-columns:51px minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;color:#706777;font-size:12px}
.management-people>div strong{min-width:0;color:#514758;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.management-people>div>.subtle{font-size:11px}
.management-people>div>span,.management-person>span{min-width:0;overflow-wrap:anywhere}
.management-people small,.management-person small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.management-people .avatar{width:28px;height:28px;flex-basis:28px}
.management-state{display:flex;align-items:flex-start;flex-direction:column;gap:9px;color:var(--muted);font-size:12px;line-height:1.6}
.management-state p,.management-state small{font-size:12px;line-height:1.6}
.management-state .overdue{color:#9a3c35}
.management-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:185px}
.management-actions .button{font-size:12px;padding-left:11px;padding-right:11px}
.management-actions .button:last-child{border-color:#e4dbea;background:#f6f1f9;color:var(--plum)}
.management-flags{display:flex;flex-wrap:wrap;gap:5px 7px;margin-top:9px}
.management-flag{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 7px;border:1px solid #e9dfc8;border-radius:7px;background:#fcf8ef;color:#80632e;font-size:11px;font-weight:400;line-height:1.5}
.management-flag::before{content:'';flex:0 0 4px;width:4px;height:4px;border-radius:50%;background:currentColor}
.management-flag.neutral,.management-flag.info{border-color:#e6e1e7;background:#f8f6fa;color:#766c7e}
.management-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0;color:var(--muted);font-size:12px;line-height:1.7}
.management-footnote{margin-top:16px}
.management-footer{display:flex;align-items:center;justify-content:space-between;gap:15px 24px;flex-wrap:wrap;margin-top:17px}
.management-footer .management-footnote{flex:1;min-width:200px;max-width:720px;margin-top:0}
.management-footer>.text-link{flex-shrink:0;font-size:12px}
#management-luma{display:inline-flex;align-items:center;min-height:44px;margin-top:5px}
.management-empty{padding:30px;text-align:left}
.management-empty p{max-width:560px;margin:0}

/* Conversations feel like one continuous work surface. */
.portal-main.is-conversations{max-width:1510px;padding-top:24px;padding-bottom:24px}
.chat-layout{display:grid;grid-template-columns:294px minmax(0,1fr);height:calc(var(--workspace-viewport-height,100dvh) - var(--workspace-top-offset,0px) - var(--workspace-topbar-height) - 48px);min-height:420px;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff}
.room-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line);background:#fcfbf8}
.room-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:76px;padding:14px 17px}
.room-toolbar h2,.room-toolbar strong{font-size:18px;font-weight:500;letter-spacing:-.35px}
.room-toolbar .button{font-size:12px}
.room-toolbar .icon-button{flex-basis:44px;width:44px;border:1px solid #e4dce9;background:#fff;color:var(--plum)}
.room-search{min-height:44px;max-width:none;width:calc(100% - 32px);margin:0 16px 13px;padding:0 11px;border-color:#e2dce5;border-radius:11px;background:#fff}
.room-search input{min-height:42px;font-size:12px}
.room-list{flex:1;min-height:0;overflow-y:auto;padding:0 9px 9px}
.room-row{display:flex;align-items:center;gap:11px;width:100%;min-width:0;min-height:82px;padding:15px 12px;border:1px solid transparent;border-radius:13px;background:transparent;text-align:left}
.room-row:hover{background:#f3eff5}
.room-row.is-active{border-color:#e2d6ea;background:#f0e8f5}
.room-row>div,.room-row>span:not(.avatar):not(.room-unread){flex:1;min-width:0}
.room-row .avatar{flex-basis:38px;width:38px;height:38px;font-size:12px}
.room-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3b3341;font-size:13px;font-weight:600}
.room-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.room-heading .room-name{flex:1;min-width:0}
.room-time{flex-shrink:0;color:#807087;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.5;white-space:nowrap}
.room-preview{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;font-weight:400}
.room-unread{display:flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:7px;background:var(--plum);color:#fff;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.room-scope-note{padding:14px 17px;border-top:1px solid var(--line);color:#75697d;font-size:11px;line-height:1.7}
.chat-thread,.active-room{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;background:#fff}
.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:76px;padding:13px 23px;border-bottom:1px solid var(--line)}
.chat-header>div,.chat-header-copy{flex:1;min-width:0}
.chat-header h2{font-size:16px;font-weight:600;letter-spacing:-.2px}
.chat-header p{margin-top:3px;color:var(--muted);font-size:12px}
.chat-header-copy h2,.chat-header-copy p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-header .button{font-size:12px}
.chat-header .chat-back{display:none}
.chat-messages{display:flex;flex:1;flex-direction:column;gap:23px;min-width:0;min-height:0;padding:28px 26px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;background:#fff}
.chat-messages:empty::before{content:'Ainda não há mensagens nesta conversa.';align-self:center;margin:auto;color:var(--muted);font-size:13px}
.message{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:11px;min-width:0;max-width:min(96%,700px);align-self:flex-start}
.message>.avatar{grid-row:1/4;flex-basis:32px;width:32px;height:32px;margin-top:3px;font-size:11px}
.message-body{min-width:0}
.message-author{font-size:12px;font-weight:600;line-height:1.65}
.message-meta{display:flex;align-items:center;gap:8px;min-width:0;color:#807286;font-size:11px}
.message-meta .message-author{color:#5b4e64}
.message-text{min-width:0;margin-top:5px;padding:13px 16px;border:1px solid #eae5ee;border-radius:0 15px 15px 15px;background:#f8f6fa;color:#39323e;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.message.mine{align-self:flex-end;max-width:min(94%,700px)}
.message.mine .message-author{color:var(--plum)}
.message.mine .message-text{border-color:#e3d6ec;border-radius:15px 0 15px 15px;background:#f0e8f6;color:#41304f}
.message-avatar{grid-row:1/4}
.chat-message-day{display:flex;align-items:center;align-self:stretch;gap:13px;margin:5px 0;color:#817687;font-size:11px;text-align:center}
.chat-message-day::before,.chat-message-day::after{content:'';flex:1;height:1px;background:#ede8ee}
.request-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;margin-top:7px;padding:9px 11px;border:1px solid #e2d7eb;border-radius:10px;background:#fff;color:var(--plum);font-size:12px;line-height:1.5;text-align:left;overflow-wrap:anywhere}
.message.pending{opacity:.65}
.message-error{grid-column:2;margin-top:7px;color:#9a3c35;font-size:12px}
.chat-composer{flex-shrink:0;margin:0 19px 18px;padding:15px 15px 11px;border:1px solid #d9cfe0;border-radius:15px;background:#fff}
.chat-composer:focus-within{border-color:#9c7aaf;box-shadow:0 0 0 2px #f1eaf6}
.chat-composer textarea{display:block;width:100%;min-height:50px;max-height:160px;resize:vertical;padding:0;border:0;outline:none;background:transparent;color:var(--ink);font-size:14px;line-height:1.75}
.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
.composer-actions .subtle{font-size:11px}
.composer-actions .button{min-height:44px;padding:9px 14px;font-size:12px}
.room-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:230px;padding:34px;text-align:center;color:var(--muted)}
.room-empty>.icon{width:44px;height:44px;padding:11px;border:1px solid #e6dcec;border-radius:14px;background:#f7f2fa;color:#8a6aa2;box-sizing:content-box}
.room-empty h2{color:var(--ink);font-size:21px;font-weight:500;letter-spacing:-.5px}
.room-empty p{max-width:330px;font-size:14px;line-height:1.75}
.room-empty .button{margin-top:9px}

/* People, versions and the decision beside each request. */
.person-list{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}
.person-row{display:flex;align-items:center;gap:15px;min-width:0;min-height:94px;padding:20px;border-bottom:1px solid var(--line)}
.person-row:last-child{border-bottom:0}
.person-copy{flex:1;min-width:0}
.person-copy strong{display:block;color:#3b3341;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.person-copy p,.person-copy small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.6}
.person-state{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--muted);font-size:12px}
.person-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0;max-width:100%}
.person-actions .button{min-height:44px;max-width:100%;font-size:12px}
.version-list{overflow:hidden;min-width:0;margin-top:12px;border:1px solid var(--line);border-radius:13px}
.version-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:16px;border-bottom:1px solid var(--line)}
.version-row:last-child{border-bottom:0}
.version-row>div,.version-copy{min-width:0;flex:1}
.version-row strong{display:block;color:#4d4057;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.version-row p,.version-row small,.version-meta{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.65}
.version-row a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;white-space:nowrap}
.version-number{display:flex;align-items:center;justify-content:center;flex:0 0 35px;width:35px;height:41px;border:1px solid #e4dce9;border-radius:9px;background:#f7f3f9;color:#776382;font-size:12px}
.activity-list{margin-top:15px;padding-left:12px;border-left:1px solid #e5dce9}
.activity-row{position:relative;padding:0 0 24px 16px;color:#63566d;font-size:13px;line-height:1.75}
.activity-row::before{content:'';position:absolute;top:7px;left:-16px;width:7px;height:7px;border:1px solid #a38aae;border-radius:50%;background:#fff}
.activity-row:last-child{padding-bottom:0}
.activity-row time,.activity-row small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.upload-box{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0;padding:21px;border:1px dashed #c8b9d1;border-radius:15px;background:#faf7fc}
.upload-box strong{font-size:14px;font-weight:500}
.upload-box p,.upload-box small{color:var(--muted);font-size:12px;line-height:1.75}
.upload-box input[type=file]{display:block;width:100%;min-width:0;font-size:12px;line-height:1.5}
.upload-box input[type=file]::file-selector-button{min-height:44px;margin-right:12px;padding:9px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.upload-progress{width:100%;height:7px;accent-color:var(--plum)}
.upload-box.is-dragging{border-color:#9b78b0;background:#f1e7f8}
.upload-box>.field{width:100%}
.request-detail-summary{padding-bottom:23px;margin-bottom:23px;border-bottom:1px solid var(--line)}
.request-detail-grid,.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:21px}
.request-detail-grid dt,.detail-field>span:first-child,.detail-field dt{display:block;color:var(--muted);font-size:12px}
.request-detail-grid dd,.detail-field>strong,.detail-field>span+span,.detail-field dd{display:block;margin:7px 0 0;color:#4b3d57;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.detail-field{min-width:0;padding:14px 15px;border:1px solid #e8e0ed;border-radius:13px;background:#faf7fc}
.detail-person{display:flex!important;align-items:center;gap:8px;min-width:0}
.detail-person>span:last-child{min-width:0;overflow-wrap:anywhere}
.request-detail-section,.detail-section{margin-top:3px;padding-top:24px;border-top:1px solid var(--line)}
.request-detail-section h3,.detail-section>h3{margin-bottom:13px;font-size:16px;font-weight:500;letter-spacing:-.25px}
.request-detail-description,.request-description{color:#6c6174;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.request-detail-title{font-size:27px;font-weight:500;letter-spacing:-.8px;line-height:1.35}
.detail-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:12px}
.request-review-actions,.inline-actions,.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.inline-actions{margin-top:13px}
.request-progress{display:flex;align-items:flex-start;gap:0;margin:24px 0 0;padding:0;list-style:none}
.request-progress .step{position:relative;flex:1;min-width:0;padding:15px 8px 0 0;border-top:2px solid #e6dfea;color:#75697d;font-size:12px;line-height:1.6}
.request-progress .step::before{content:'';position:absolute;top:-5px;left:0;width:8px;height:8px;border:1px solid #d4c4df;border-radius:50%;background:#fff}
.request-progress .step.is-current{border-top-color:#ae8ac5;color:var(--plum)}
.request-progress .step.is-current::before{border-color:var(--plum);background:var(--plum)}
.request-progress .step.is-done{border-top-color:#9bb39f;color:var(--positive)}
.request-progress .step.is-done::before{border-color:var(--positive);background:var(--positive)}
.helper-text{color:var(--muted);font-size:12px;line-height:1.75}
.detail-section>form{display:flex;flex-direction:column;gap:16px;min-width:0}
.detail-section>form>.button{align-self:flex-start}
.member-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}
.member-chip{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:#f6f2f8;color:#72637c;font-size:12px;line-height:1.5}
button.member-chip{min-height:44px}
.badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;background:var(--quiet);color:var(--muted);font-size:11px}
.request-metadata{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:15px 0 0;color:var(--muted);font-size:12px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:500}
.field input,.field select,.field textarea{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;font-size:14px;font-weight:400;line-height:1.65}
.field textarea{min-height:100px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #9872b0;outline-offset:2px}
.field small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.7}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.check-list{display:flex;flex-direction:column;max-height:280px;overflow-y:auto;padding:5px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}
.checkbox-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:49px;padding:8px 0;font-size:13px;font-weight:400}
.checkbox-row input{flex-shrink:0;width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--plum)}
.checkbox-row+.checkbox-row{border-top:1px solid #eee7f2}
.checkbox-row>span{min-width:0;overflow-wrap:anywhere}
.checkbox-row .avatar{flex-basis:28px;width:28px;height:28px;font-size:11px}
.check-list .checkbox-row input:focus-visible{outline-offset:2px}
.portal-dialog{width:600px;max-width:calc(100vw - 40px);max-height:90dvh;margin:auto;padding:0;overflow:auto;border:1px solid #d9ccE2;border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 22px 85px #2a1f361f}
.portal-dialog::backdrop{background:#28212f66}
.portal-dialog.wide,.portal-dialog#request-dialog{width:810px}
.dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 25px;border-bottom:1px solid var(--line);background:#fff}
.dialog-head h2{font-size:18px;font-weight:500;letter-spacing:-.35px;overflow-wrap:anywhere}
.dialog-head p{margin-top:4px;color:var(--muted);font-size:12px}
.dialog-head .icon-button{margin-right:-8px}
.dialog-body{display:flex;flex-direction:column;gap:22px;min-width:0;padding:25px}
.dialog-body>.subtle{font-size:13px}
.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 0 0;border-top:1px solid var(--line);background:#fff}
.dialog-actions .button{font-size:13px}
.dialog-body>.dialog-actions{position:sticky;bottom:-25px;margin:0 -25px -25px;padding:16px 25px 19px;z-index:1}
.error-message{padding:12px 14px;border:1px solid #e8c8c1;border-radius:10px;background:#fff7f4;color:#943f32;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.notice-message{padding:12px 15px;border:1px solid #e0d9df;border-radius:11px;background:#f7f3f9;color:#75617e;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.notice-message .button{margin-top:8px}
.toast{--workspace-nav-height:0px;position:fixed;right:24px;bottom:24px;z-index:100;max-width:430px;padding:14px 18px;border:1px solid #ded3e5;border-radius:13px;background:#fff;color:#4d3e57;box-shadow:0 6px 24px #2a1f3612;font-size:13px;line-height:1.7}
.invite-result{display:flex;flex-direction:column;gap:13px;padding:17px;border:1px solid var(--line);border-radius:13px;background:#faf7fc}
.invite-result input,.invite-result textarea{width:100%;min-width:0;padding:11px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.invite-result p{color:var(--muted);font-size:12px;line-height:1.75}
.invite-link{display:block;width:100%;min-width:0;min-height:85px;padding:12px;border:1px solid var(--line-strong);border-radius:10px;background:#faf7fc;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all;resize:none}
.copy-state{color:var(--positive);font-size:12px}
.access-scope{display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:12px;line-height:1.7}
.access-scope .icon{flex-basis:15px;width:15px;height:15px;margin-top:3px}
.sidebar-overlay{display:none}

/* An edit is a proposal until its explicit save is confirmed. */
#edit-request-dialog{width:740px}
#edit-request-dialog .dialog-body{gap:21px}
.edit-fields,.edit-review{display:flex;flex-direction:column;gap:19px;min-width:0}
.edit-sharing-live{min-width:0}
.edit-dirty-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #e4d6bc;border-radius:11px;background:#fcf8ef;color:#7f632d;font-size:13px;line-height:1.75}
.edit-dirty-banner p{max-width:490px}
.edit-dirty-banner .button{flex-shrink:0}
.edit-review-panel{min-width:0;padding:21px;border:1px solid #ded0e7;border-radius:14px;background:#fcfafe}
.edit-review-panel>h3{margin:0 0 8px;color:var(--plum);font-size:17px;font-weight:500}
.edit-review-panel>p{margin-bottom:17px;color:var(--muted);font-size:13px;line-height:1.75}
.edit-review-panel .button-row{margin-top:19px;padding-top:16px;border-top:1px solid #e4dfe9}
.edit-diff-row{display:grid;grid-template-columns:105px minmax(0,1fr) minmax(0,1fr);gap:14px;min-width:0;padding:14px 0;border-top:1px solid #e7dfea;font-size:13px;line-height:1.8}
.edit-diff-row>strong,.edit-diff-row>dt{margin:0;color:var(--muted);font-size:12px;font-weight:500}
.edit-diff-row>div,.edit-diff-row>span,.edit-diff-row>dd{min-width:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.edit-diff-row>del,.edit-diff-row>ins{display:block;min-width:0;text-decoration:none;white-space:pre-wrap;overflow-wrap:anywhere}
.edit-diff-row>del,.edit-diff-row .before,.edit-diff-row [data-before]{color:var(--muted)}
.edit-diff-row>ins,.edit-diff-row .after,.edit-diff-row [data-after]{color:#4b326e;font-weight:500}
.edit-diff-row small{display:block;margin-bottom:5px;color:var(--muted);font-size:12px;white-space:normal}
.edit-share-preview{padding:17px;border:1px solid var(--line);border-radius:12px;background:#f8f6f1;color:#6c6273;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.edit-share-preview>strong{display:block;margin-bottom:7px;color:var(--ink);font-size:13px;font-weight:600}
.edit-share-preview p+p{margin-top:9px}
.edit-share-preview .member-chips{margin-top:10px}
.edit-share-preview .member-chip{background:#fff;font-size:12px}
.edit-conflict{padding:18px;border:1px solid #d5c6a7;border-radius:13px;background:#fcf8ef;color:#7c6030;font-size:13px;line-height:1.8}
.edit-conflict>strong{display:block;margin-bottom:8px;color:#624b25;font-size:15px}
.edit-conflict .button-row,.edit-conflict .inline-actions{margin-top:13px}
.edit-conflict .edit-review-panel{margin-top:16px;border-color:#e2d8c4;background:#fffdfa}
.edit-field-note{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.7}
.activity-changes,.activity-change{display:flex;flex-direction:column;gap:7px;margin-top:9px;padding:12px 14px;border-left:2px solid #cdb5dc;border-radius:0 9px 9px 0;background:#faf7fc;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.activity-changes strong,.activity-change strong{color:#6e6077;font-size:12px;font-weight:500}
.activity-changes .edit-diff-row{padding:5px 0;border:0;font-size:12px}
.activity-change p{margin-top:3px;color:var(--ink);font-size:12px;white-space:pre-wrap}
.request-comments{min-width:0}
.request-comments>h3{margin-bottom:7px}
.request-comments>p{color:var(--muted);font-size:13px;line-height:1.75}
.request-comment{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:11px;min-width:0;padding:19px 0;border-bottom:1px solid var(--line)}
.request-comment>.avatar{grid-row:1/4;flex-basis:32px;width:32px;height:32px}
.request-comment>div{min-width:0}
.request-comment header,.request-comment-meta{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:5px;color:var(--muted);font-size:12px}
.request-comment header strong,.request-comment-meta strong{color:var(--ink);font-size:13px;font-weight:600}
.request-comment time,.request-comment small{color:var(--muted);font-size:12px}
.request-comment p,.request-comment-text{color:#46394f;font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.request-comment-form{display:flex;flex-direction:column;gap:12px;margin-top:19px;padding:16px;border:1px solid #dacde3;border-radius:14px;background:#fff}
.request-comment-form label{font-size:13px;font-weight:500}
.request-comment-form textarea{width:100%;min-width:0;min-height:88px;max-height:260px;resize:vertical;padding:0;border:0;outline:0;background:transparent;font-size:14px;line-height:1.8}
.request-comment-form:focus-within{border-color:#9872b0;box-shadow:0 0 0 2px #f1edf6}
.request-comment-form>.button,.request-comment-form .button-row{align-self:flex-end}
.request-comment-form .subtle,.request-comments-empty{color:var(--muted);font-size:12px;line-height:1.7}
.portal-loading{display:flex;align-items:center;justify-content:center;min-height:100dvh;background:var(--paper);color:var(--muted);font-size:13px}

@media(max-width:1200px){
 .portal-shell{--sidebar:226px}
 .portal-sidebar{padding-left:13px;padding-right:13px}
 .portal-main{padding-left:28px;padding-right:28px}
 .portal-topbar{padding-left:28px;padding-right:28px}
 .request-row,.request-table-head{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(105px,auto) 44px;gap:13px;padding-left:17px;padding-right:17px}
 .request-primary-action{width:44px;padding:0}
 .request-primary-action>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .management-row{grid-template-columns:minmax(190px,1.7fr) minmax(140px,1fr) minmax(115px,.8fr);gap:17px}
 .management-actions{grid-column:1/-1;justify-content:flex-start;max-width:none;margin-top:-5px}
 .management-summary>div,.management-summary>button{padding-left:18px;padding-right:18px}
 .chat-layout{grid-template-columns:265px minmax(0,1fr)}
 .home-metric{gap:4px 10px;padding:18px}
}
@media(max-width:900px){
 .portal-shell{--workspace-topbar-height:66px;--workspace-nav-height:calc(72px + env(safe-area-inset-bottom,0px))}
 .portal-sidebar{z-index:50;width:262px;padding-top:24px;transform:translateX(-100%);transition:transform .16s ease}
 .portal-sidebar.is-open{transform:none}
 .portal-workspace{margin-left:0}
 .sidebar-overlay:not([hidden]){position:fixed;inset:0;z-index:45;display:block;width:100%;height:100%;padding:0;background:#28212f66}
 .mobile-menu{display:inline-flex}
 .portal-topbar{min-height:var(--workspace-topbar-height);gap:12px;padding:10px 19px}
 .topbar-title{gap:6px;font-size:13px}
 .topbar-actions{gap:6px}
 .topbar-actions>.subtle{display:none}
 .connection-state{font-size:0}
 .connection-state::before{width:6px;height:6px;margin:0}
 .account-mode{min-width:23px;height:26px;margin-left:3px;font-size:0;gap:0}
 .account-mode img{width:15px;height:16px}
 #header-luma{display:inline-flex;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;font-size:0}
 #header-luma img{width:25px;height:25px}
 .portal-main{padding:28px 24px calc(var(--workspace-nav-height) + 28px)}
 .page-heading h1,.home-greeting{font-size:31px;letter-spacing:-1.05px}
 .page-actions{max-width:52%}
 .home-metric{grid-template-columns:34px minmax(0,1fr);padding:19px 16px;gap:4px 10px}
 .home-metric>.icon{width:34px;height:34px;padding:8px}
 .mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:40;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:center;min-height:var(--workspace-nav-height);padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid #e3dbe8;background:#fff}
 .mobile-bottom-nav>a,.mobile-bottom-nav>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:54px;padding:6px 3px;border:0;border-radius:11px;background:transparent;color:#807186;text-decoration:none;font-size:10px;font-weight:500;line-height:1.4}
 .mobile-bottom-nav .icon{width:21px;height:21px;flex-basis:21px;stroke-width:1.7}
 .mobile-bottom-nav img{width:23px;height:23px;object-fit:contain}
 .mobile-bottom-nav>a.is-active,.mobile-bottom-nav>a[aria-current=page],.mobile-bottom-nav>button[aria-pressed=true]{background:#f4edf9;color:var(--plum)}
 .mobile-nav-badge{position:absolute;top:2px;left:calc(50% + 7px);display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:var(--plum);color:#fff;font-size:9px;line-height:1;font-variant-numeric:tabular-nums}
 .mobile-bottom-nav>a:hover,.mobile-bottom-nav>button:hover{background:#f7f2fa;color:var(--plum)}
 .portal-shell.keyboard-open{--workspace-nav-height:0px}
 .portal-shell.keyboard-open .mobile-bottom-nav{display:none}
 .portal-main.is-conversations{padding:14px 17px calc(var(--workspace-nav-height) + 14px)}
 .chat-layout{height:calc(var(--workspace-viewport-height,100dvh) - var(--workspace-top-offset,0px) - var(--workspace-topbar-height) - var(--workspace-nav-height) - 28px);min-height:220px;grid-template-columns:252px minmax(0,1fr);border-radius:16px}
 .room-scope-note{padding:13px 15px;font-size:11px}
 .chat-messages{padding:22px 20px}
 .chat-composer{margin:0 13px 13px;padding:13px}
 .composer-actions .subtle{font-size:11px}
 .toast{--workspace-nav-height:calc(72px + env(safe-area-inset-bottom,0px));bottom:calc(var(--workspace-nav-height) + 14px)}
 .portal-shell.keyboard-open~.toast{--workspace-nav-height:0px}
}
@media(max-width:650px){
 .portal-topbar{padding:9px 13px}
 .topbar-title{max-width:calc(100% - 110px)}
 .portal-main{padding:25px 16px calc(var(--workspace-nav-height) + 25px)}
 .page-heading,.home-hero{flex-wrap:wrap;gap:17px;margin-bottom:24px}
 .page-heading h1,.home-greeting{font-size:29px;letter-spacing:-1px}
 .page-heading p,.home-description{max-width:100%;font-size:14px;line-height:1.75}
 .page-actions{justify-content:flex-start;max-width:100%;width:100%;gap:7px}
 .page-actions .button{font-size:12px}
 .home-kicker{font-size:11px}
 .home-summary{gap:8px;margin-bottom:27px}
 .home-metric{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:105px;padding:15px 11px;border-radius:14px}
 .home-metric>.icon{display:none}
 .home-metric>strong{font-size:27px;letter-spacing:-.7px}
 .home-metric>span{font-size:12px;line-height:1.5}
 .home-metric>small{display:none}
 .home-clear-state{padding:14px;font-size:12px}
 .work-section{margin-top:27px}
 .section-heading{align-items:flex-start;gap:10px;margin-bottom:12px}
 .section-heading h2{font-size:18px}
 .section-heading .subtle{font-size:12px}
 .request-table-head{display:none}
 .request-list{display:flex;flex-direction:column;gap:12px;overflow:visible;border:0;border-radius:0;background:transparent}
 .request-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;min-height:0;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff}
 .request-row:last-child{border-bottom:1px solid var(--line)}
 .request-row>.request-name,.request-row>div:first-child,.request-row>.request-open{grid-column:1/-1;grid-row:1;min-width:0}
 .request-row .request-name{font-size:15px;line-height:1.65}
 .request-row>.request-person{grid-column:1;grid-row:2;align-self:start;margin-top:0;font-size:12px}
 .request-row>.request-person:nth-child(3){grid-column:2}
 .request-row .request-person{display:grid;grid-template-columns:26px minmax(0,1fr);gap:5px 7px}
 .request-row .request-person::before{content:attr(data-label);grid-column:1/-1;color:#7b6b84;font-size:11px}
 .request-row .request-person .avatar{width:26px;height:26px;flex-basis:26px;font-size:10px}
 .request-row>.request-state{grid-column:1/-1;grid-row:3;align-self:start;align-items:center;justify-content:flex-start;flex-wrap:wrap;text-align:left}
 .request-row>.request-primary-action{grid-column:1/-1;grid-row:4;align-self:start;width:100%;padding:10px 13px;font-size:12px}
 .request-primary-action>span{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;white-space:normal}
 .request-row .request-meta{font-size:12px;line-height:1.65}
 .status-badge{padding:5px 8px;font-size:11px}
 .workspace-searchbar,.request-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:12px}
 .workspace-searchbar>.search-field,.workspace-searchbar>.field,.request-toolbar .search-field{width:100%;max-width:none;flex:1 1 100%}
 .workspace-searchbar>.button{flex-shrink:0}
 .filters{width:100%;flex-direction:column;align-items:stretch;gap:13px}
 .filters select,.request-toolbar>select{width:100%;max-width:none;font-size:16px}
 .search-field input,.field input,.field select,.field textarea,.management-toolbar select,.management-filter select{font-size:16px}
 .filter-panel{margin-bottom:21px;border-radius:13px}
 .filter-panel>summary{padding:12px 15px;font-size:13px}
 .filter-panel>.filter-panel-body{padding:15px}
 .management-toolbar{grid-template-columns:1fr;gap:14px}
 .management-toolbar>.field,.management-filter{font-size:12px}
 .management-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px;border-radius:16px}
 .management-summary>div,.management-summary>button{gap:8px;min-height:106px;padding:18px}
 .management-summary>:nth-child(even){border-right:0}
 .management-summary>:nth-child(n+3){border-top:1px solid var(--line)}
 .management-summary strong{font-size:31px}
 .management-summary span,.management-summary small{font-size:12px}
 .management-list-heading{align-items:center;margin-bottom:12px}
 .management-list-heading .subtle{font-size:12px}
 .management-queue{display:flex;flex-direction:column;gap:12px;overflow:visible;border:0;border-radius:0;background:transparent}
 .management-row{grid-template-columns:minmax(0,1fr) minmax(100px,.72fr);gap:17px 12px;padding:18px;border:1px solid var(--line);border-radius:16px}
 .management-row:last-child{border-bottom:1px solid var(--line)}
 .management-title{grid-column:1/-1}
 .management-title>strong,.management-title>button,.management-title>a{font-size:15px}
 .management-title>p{font-size:12px}
 .management-people{align-self:start;gap:11px}
 .management-people>div,.management-person{grid-template-columns:1fr;gap:2px;font-size:12px}
 .management-people>div strong{font-size:13px}
 .management-people>div>.subtle{font-size:11px}
 .management-state{align-self:start;gap:9px;font-size:12px}
 .management-actions{grid-column:1/-1;justify-content:flex-start;gap:8px;max-width:none;margin-top:0}
 .management-actions .button{flex:1;min-width:0;font-size:12px}
 .management-flags{gap:6px;margin-top:9px}
 .management-flag{font-size:11px}
 .management-caption{font-size:12px}
 .empty-state{padding:25px 18px;font-size:13px}
 .person-list{border:0;border-radius:0;background:transparent;overflow:visible}
 .person-row{gap:11px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
 .person-row:last-child{border-bottom:1px solid var(--line)}
 .person-row>.avatar{flex-basis:34px;width:34px;height:34px;font-size:11px}
 .person-copy{min-width:calc(100% - 49px)}
 .person-copy strong{font-size:14px}
 .person-copy p,.person-copy small{font-size:12px}
 .person-state{justify-content:space-between;width:100%;padding-left:45px;gap:8px}
 .person-actions{justify-content:flex-start;width:100%;padding-left:45px}
 .person-actions .button{font-size:12px}
 .portal-main.is-conversations{padding:12px 12px calc(var(--workspace-nav-height) + 12px)}
 .chat-layout{display:block;height:calc(var(--workspace-viewport-height,100dvh) - var(--workspace-top-offset,0px) - var(--workspace-topbar-height) - var(--workspace-nav-height) - 24px);min-height:200px;margin:0;border-radius:15px}
 .room-sidebar{height:100%;border-right:0}
 .room-toolbar{min-height:67px;padding:11px 15px}
 .room-toolbar h2{font-size:20px}
 .room-row{min-height:86px;padding:15px 12px}
 .room-row .avatar{flex-basis:40px;width:40px;height:40px}
 .room-name{font-size:14px}
 .room-preview{font-size:13px}
 .chat-thread{display:none;height:100%}
 .chat-layout.has-room .room-sidebar{display:none}
 .chat-layout.has-room .chat-thread{display:flex}
 .chat-header{min-height:64px;padding:10px 11px;gap:7px}
 .chat-header>div{flex:1}
 .chat-header h2{font-size:15px}
 .chat-header p{font-size:12px}
 .chat-header .chat-back{display:inline-flex}
 .chat-header .button{padding:8px;font-size:12px}
 .chat-messages{gap:21px;padding:21px 13px}
 .message{max-width:96%;grid-template-columns:27px minmax(0,1fr);column-gap:8px}
 .message>.avatar{flex-basis:27px;width:27px;height:27px;font-size:10px}
 .message-meta{flex-wrap:wrap;gap:5px 7px;font-size:11px}
 .message-author{font-size:12px}
 .message-text{padding:11px 13px;font-size:14px;line-height:1.8}
 .chat-composer{margin:0 10px 10px;padding:12px;border-radius:13px}
 .chat-composer textarea{min-height:46px;max-height:110px;font-size:16px;line-height:1.6;resize:none}
 .composer-actions .subtle{display:none}
 .composer-actions{justify-content:flex-end;gap:8px}
 .composer-actions .button{min-height:44px;padding:9px 15px;font-size:12px}
 .room-empty{min-height:200px;padding:25px 18px}
 .room-empty p{font-size:13px}
 .field-row{grid-template-columns:1fr;gap:18px}
 .portal-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:20px 20px 0 0;border-bottom:0}
 .dialog-head{padding:15px 18px;gap:12px}
 .dialog-head h2{font-size:17px}
 .dialog-body{padding:21px 18px;gap:21px}
 .dialog-actions{flex-wrap:wrap;gap:8px;padding-top:15px}
 .dialog-body>.dialog-actions{bottom:-21px;margin:0 -18px -21px;padding:14px 18px max(17px,env(safe-area-inset-bottom,0px))}
 .dialog-actions .button{font-size:12px}
 .dialog-actions .button.primary{flex:1}
 .request-detail-title{font-size:24px;letter-spacing:-.7px}
 .request-detail-grid,.detail-grid{gap:11px;margin-top:20px}
 .detail-field{padding:12px}
 .detail-field>span:first-child{font-size:11px}
 .detail-field>strong{font-size:13px}
 .request-detail-description,.request-description{font-size:14px}
 .request-detail-section,.detail-section{margin-top:0;padding-top:22px}
 .detail-section>h3{font-size:16px}
 .upload-box{padding:17px;gap:12px}
 .upload-box p,.upload-box small{font-size:12px}
 .version-row{align-items:flex-start;gap:11px;padding:14px}
 .version-row strong{font-size:13px}
 .version-row p,.version-row small{font-size:12px}
 .version-row a{font-size:12px}
 .edit-review-panel{padding:16px}
 .edit-diff-row{grid-template-columns:1fr 1fr;gap:8px 13px;padding:13px 0;font-size:13px}
 .edit-diff-row>strong,.edit-diff-row>dt{grid-column:1/-1;font-size:12px}
 .edit-dirty-banner{flex-wrap:wrap;padding:13px;font-size:13px}
 .edit-dirty-banner .button{width:100%}
 .edit-share-preview,.edit-conflict{padding:15px}
 .edit-review-panel .button-row .button{flex:1;white-space:normal}
 .request-comment{column-gap:9px}
 .request-comment p,.request-comment-text{font-size:14px}
 .request-comment-form{padding:14px}
 .request-comment-form textarea{font-size:16px}
 .toast{left:14px;right:14px;bottom:calc(var(--workspace-nav-height) + 12px);max-width:none;padding:13px 15px;font-size:13px}
}
@media(max-width:360px){
 .portal-main{padding-left:13px;padding-right:13px}
 .portal-topbar{padding-left:9px;padding-right:10px}
 .page-heading h1,.home-greeting{font-size:27px}
 .home-metric{padding-left:9px;padding-right:9px}
 .home-metric>span{font-size:11px}
 .management-row{grid-template-columns:minmax(0,1fr) minmax(96px,.75fr);gap:16px 9px;padding:16px}
 .management-summary>div,.management-summary>button{padding:16px}
 .management-summary strong{font-size:29px}
 .management-actions .button{padding-left:9px;padding-right:9px}
 .person-actions{padding-left:0}
 .person-state{padding-left:0}
 .edit-diff-row{grid-template-columns:1fr;gap:6px}
 .mobile-bottom-nav{padding-left:7px;padding-right:7px}
 .mobile-bottom-nav>a,.mobile-bottom-nav>button{font-size:9px}
}
@media(max-width:900px) and (max-height:480px){
 .portal-shell{--workspace-topbar-height:58px;--workspace-nav-height:calc(64px + env(safe-area-inset-bottom,0px))}
 .portal-topbar{padding-top:7px;padding-bottom:7px}
 .portal-main.is-conversations{padding-top:8px;padding-bottom:calc(var(--workspace-nav-height) + 8px)}
 .chat-layout{height:calc(var(--workspace-viewport-height,100dvh) - var(--workspace-top-offset,0px) - var(--workspace-topbar-height) - var(--workspace-nav-height) - 16px);min-height:180px}
 .toast{--workspace-nav-height:calc(64px + env(safe-area-inset-bottom,0px))}
 .mobile-bottom-nav{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}
 .mobile-bottom-nav>a,.mobile-bottom-nav>button{min-height:48px;gap:3px}
}

/* A quiet, account-bound entrance with a tactile four-dot PIN control. */
.auth-screen{--auth-paper:#f4f2eb;--auth-key:64px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:100dvh;background:var(--auth-paper)}
.auth-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:38px;min-width:0;padding:48px clamp(36px,5.7vw,88px) 42px}
.auth-brand-top{width:100%}
.auth-brand-caption{display:block;margin-top:10px;color:#7b717b;font-size:10px;font-weight:400;line-height:1.5;letter-spacing:.1em}
.auth-brand .portal-brand{padding:0;font-size:27px;letter-spacing:-1.1px}
.auth-brand .portal-brand img{width:33px;height:33px}
.auth-brand-copy{width:100%;min-width:0;margin:0;padding:0}
.auth-brand-copy>.eyebrow,.auth-brand-copy>.subtle{color:#77736f;font-size:11px;letter-spacing:.13em;text-transform:uppercase}
.auth-brand h1{max-width:620px;margin-top:17px;font-size:clamp(41px,4.7vw,74px);font-weight:500;line-height:1.06;letter-spacing:-.065em;overflow-wrap:anywhere;color:#29282d}
.auth-brand-copy p{max-width:360px;margin-top:24px;color:#6e686f;font-size:15px;line-height:1.8}
.auth-workflow{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;width:100%;max-width:410px;margin:8px 0;padding:10px 0}
.auth-workflow::before{content:'';position:absolute;left:24px;right:22%;top:35px;height:1px;background:#d5d1c9}
.auth-workflow-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;color:#6e6c69;font-size:11px;line-height:1.5}
.auth-workflow-step .icon,.auth-workflow-step>svg{box-sizing:content-box;width:20px;height:20px;padding:14px;border:1px solid #d5d1c9;border-radius:50%;background:var(--auth-paper);color:#57505f;stroke-width:1.5}
.auth-workflow-step>span{max-width:100%;overflow-wrap:anywhere}
.auth-brand .partner-lockup{gap:24px;min-height:30px;padding-top:22px}
.auth-brand .partner-lockup img{width:auto;max-width:111px;max-height:26px;object-fit:contain}
.auth-brand .partner-lockup img[src*=psicomanager]{max-width:119px;max-height:29px}
.auth-panel{display:flex;align-items:center;justify-content:center;min-width:0;padding:35px clamp(28px,4vw,64px) 35px 14px}
.auth-card{width:100%;max-width:404px;min-width:0;padding:34px 36px 25px;border:1px solid #e8e4de;border-radius:25px;background:#fff;box-shadow:0 18px 55px #29202e06}
.auth-form{display:flex;flex-direction:column;align-items:stretch;gap:13px;width:100%;min-width:0;text-align:center}
.auth-form h2{max-width:310px;margin:0 auto;color:#29282d;font-size:25px;font-weight:500;line-height:1.3;letter-spacing:-.8px}
.auth-project{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:2px;color:#786e7d;font-size:10px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
.auth-project::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--cyan)}
.auth-form>header p,.auth-form>.subtle{max-width:280px;margin:0 auto;color:#766b7c;font-size:12px;line-height:1.75}
.auth-identity{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;margin:2px 0 0}
.auth-identity-monogram{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#f1edf4;color:var(--plum);font-size:9px;font-weight:700;letter-spacing:.01em}
.auth-identity>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.auth-identity strong{color:#5a535f;font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.auth-identity>div>span{color:#786c80;font-size:10px;line-height:1.6}
.auth-pin-fields{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;margin-top:1px}
.pin-label,#password-label{display:block;color:#746b78;font-size:11px;line-height:1.6}
.pin-entry{position:relative;display:flex;align-items:center;justify-content:center;width:168px;min-height:48px;margin:0 auto;border-radius:999px}
.pin-entry:has(.pin-native-input:focus-visible){outline:2px solid #9b78b0;outline-offset:2px}
.pin-dots{display:flex;align-items:center;justify-content:center;gap:23px;min-height:38px;pointer-events:none}
.pin-dot{display:block;flex:0 0 12px;width:12px;height:12px;border:1.5px solid #9a89a4;border-radius:50%;background:transparent;transition:background .12s ease,border-color .12s ease,transform .12s ease}
.pin-dot.is-filled{border-color:var(--plum);background:var(--plum);transform:scale(1.03)}
.pin-entry:has(.pin-native-input[aria-invalid=true]) .pin-dot{border-color:#a76359}
.pin-entry:has(.pin-native-input[aria-invalid=true]) .pin-dot.is-filled{background:#a76359}
.auth-form .pin-native-input{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:999px;background:transparent;opacity:0;color:transparent;caret-color:transparent;font-size:16px;cursor:text}
.pin-step-message,.password-help{display:block;max-width:270px;min-height:17px;margin:0 auto;color:#786982;font-size:11px;line-height:1.65}
.pin-keypad{display:grid;grid-template-columns:repeat(3,var(--auth-key));justify-content:center;gap:10px 24px;width:100%;margin:5px auto 2px}
.pin-key{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;width:var(--auth-key);height:var(--auth-key);min-height:44px;margin:0;padding:0;border:1px solid #eae6ec;border-radius:50%;background:#f7f5f8;color:#322b3a;font:400 27px/1 var(--font);font-variant-numeric:tabular-nums;transition:background .12s ease,border-color .12s ease,transform .12s ease,color .12s ease;user-select:none;-webkit-user-select:none}
.pin-key:hover:not(:disabled){border-color:#d7cadd;background:#efe8f3;color:var(--plum)}
.pin-key:active:not(:disabled){transform:scale(.94);border-color:var(--plum);background:var(--plum);color:#fff}
.pin-key:focus-visible{outline:2px solid #aa88be;outline-offset:3px}
.pin-key small,.pin-key .pin-key-letters{margin-top:4px;color:#95899d;font-size:8px;font-weight:500;line-height:1;letter-spacing:.1em}
.pin-key:active small,.pin-key:active .pin-key-letters{color:#e5d8ef}
.pin-key-placeholder{width:var(--auth-key);height:var(--auth-key);pointer-events:none}
#pin-delete{border-color:transparent;background:transparent;color:#897d92}
#pin-delete:hover:not(:disabled){background:#f4eff6;color:var(--plum)}
#pin-delete .icon,#pin-delete svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}
#pin-back{align-self:center;min-height:44px;margin:-2px auto 0;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:#7a6986;font-size:11px;line-height:1.5}
#pin-back:hover:not(:disabled){background:#f4eff6;color:var(--plum)}
.pin-keypad #pin-back{width:var(--auth-key);height:var(--auth-key);margin:0;font-size:11px}
.auth-form .button.primary{width:100%;min-height:46px;margin-top:2px;border-radius:11px;font-size:12px;font-weight:500;letter-spacing:0}
.auth-forget{align-self:center;min-height:44px;margin:0;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:#7a6c83;font:400 11px/1.5 var(--font);text-decoration:none}
.auth-forget:hover{background:#f5f1f7;color:var(--plum)}
.auth-footer{max-width:265px;margin:2px auto 0;color:#786a82;font-size:10px;line-height:1.75}
.auth-status{color:#7b7082;font-size:12px;line-height:1.7;text-align:center}
.auth-card>.auth-status{padding:22px 0}
.auth-card>.button{width:100%;margin-top:18px;border-radius:10px;font-size:12px}
.auth-form .auth-status:empty{display:none}
.auth-form .error-message{padding:9px 11px;border-radius:8px;font-size:11px;line-height:1.6;text-align:left}
.auth-form.is-link-required{gap:19px;padding:24px 0 16px}
.auth-form.is-link-required h2{max-width:280px;font-size:27px}
.auth-form.is-link-required .auth-footer{margin-top:22px;padding-top:18px;border-top:1px solid #eee9ef}
.auth-switch{display:inline-flex;align-items:center;min-height:44px;font-size:11px;text-decoration:none}
@media(max-width:1150px){
 .auth-brand{padding:38px 38px 34px;gap:30px}
 .auth-panel{padding-right:30px;padding-left:4px}
 .auth-brand h1{font-size:clamp(38px,4.8vw,54px)}
 .auth-card{padding:30px 27px 23px}
 .auth-workflow{gap:10px}
}
@media(min-width:761px) and (max-height:930px){
 .auth-screen{--auth-key:56px}
 .auth-panel{padding-top:24px;padding-bottom:24px}
 .auth-card{padding-top:27px;padding-bottom:20px}
 .auth-form{gap:10px}
 .auth-form h2{font-size:24px}
 .pin-keypad{gap:8px 25px;margin-top:4px}
 .pin-entry{min-height:43px}
 .auth-forget{min-height:44px}
}
@media(max-width:760px){
 .auth-screen{--auth-key:60px;display:flex;flex-direction:column;min-height:100dvh;background:#fbfaf7}
 .auth-brand{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 18px;width:100%;padding:22px 28px 18px;border-bottom:1px solid #eae6df;background:#f4f2eb}
 .auth-brand-top{grid-column:1;grid-row:1}
 .auth-brand-caption{margin-top:5px;font-size:10px;letter-spacing:.035em}
 .auth-brand .portal-brand{font-size:24px;letter-spacing:-1px}
 .auth-brand .portal-brand img{width:27px;height:27px}
 .auth-brand-copy{grid-column:1;grid-row:2;width:auto;margin:0;padding:0}
 .auth-brand-copy>.eyebrow,.auth-brand-copy>.subtle,.auth-brand-copy p,.auth-workflow{display:none}
 .auth-brand h1{margin:4px 0 0;color:#786e79;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.01em}
 .auth-brand .partner-lockup{grid-column:2;grid-row:1/3;justify-self:end;gap:0;min-height:0;padding:0}
 .auth-brand .partner-lockup img{width:78px;max-width:78px;max-height:23px}
 .auth-brand .partner-lockup img[src*=psicomanager]{display:none}
 .auth-panel{flex:1;align-items:center;justify-content:center;width:100%;padding:26px 27px 28px}
 .auth-card{max-width:350px;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 .auth-form{gap:11px}
 .auth-project{font-size:9px;letter-spacing:.09em}
 .auth-form h2{font-size:24px;line-height:1.25;letter-spacing:-.75px}
 .auth-form>.subtle{max-width:275px;font-size:11px;line-height:1.7}
 .auth-identity{margin-top:2px}
 .auth-identity-monogram{flex-basis:28px;width:28px;height:28px}
 .auth-identity strong{font-size:11px}
 .auth-identity>div>span{font-size:10px}
 .auth-pin-fields{gap:2px}
 .pin-entry{min-height:41px}
 .pin-step-message,.password-help{font-size:10px;min-height:16px;line-height:1.6}
 .pin-keypad{gap:9px 26px;margin-top:7px;margin-bottom:4px}
 .pin-key{font-size:26px;background:#f0edf1;border-color:#e5dfe7}
 .pin-key small,.pin-key .pin-key-letters{font-size:7px}
 #pin-back{min-height:44px;font-size:11px}
 .auth-form .button.primary{min-height:45px;border-radius:11px;font-size:12px}
 .auth-forget{min-height:44px;font-size:11px}
 .auth-footer{max-width:245px;font-size:10px;line-height:1.6}
 .auth-form.is-link-required{max-width:300px;margin:auto;padding:27px 0}
 .auth-form.is-link-required h2{font-size:26px}
}
@media(max-width:760px) and (max-height:790px){
 .auth-screen{--auth-key:53px}
 .auth-brand{padding-top:16px;padding-bottom:13px}
 .auth-panel{padding-top:21px;padding-bottom:21px}
 .auth-form{gap:8px}
 .auth-form h2{font-size:22px}
 .auth-project{margin:0;font-size:8px}
 .auth-form>.subtle{font-size:11px;line-height:1.65}
 .pin-keypad{gap:7px 27px;margin-top:4px;margin-bottom:1px}
 .pin-entry{min-height:37px}
 .pin-dot{flex-basis:11px;width:11px;height:11px}
 .pin-key{font-size:24px}
 .auth-form .button.primary{min-height:44px}
 .auth-forget{min-height:44px}
 .auth-footer{font-size:10px}
}
@media(max-width:360px){
 .auth-brand{padding-left:22px;padding-right:22px}
 .auth-panel{padding-left:25px;padding-right:25px}
 .auth-form h2{font-size:22px}
 .auth-brand .portal-brand{font-size:22px}
 .auth-brand .partner-lockup img{width:69px;max-width:69px}
}
/* Luma is a private working margin, opened deliberately by an administrator. */
body.portal-luma-open{overflow:hidden}
.portal-luma-overlay{position:fixed;inset:0;z-index:100;background:#20252b4d}
.portal-luma-panel{position:fixed;inset:0 0 0 auto;z-index:101;display:flex;flex-direction:column;width:min(440px,100vw);height:100dvh;max-height:100dvh;border-left:1px solid #d5d1dc;background:#fff;box-shadow:-12px 0 46px #18212b16;overscroll-behavior:contain;color:var(--ink)}
.portal-luma-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:83px;padding:17px 20px;border-bottom:1px solid var(--line)}
.portal-luma-brand{display:flex;align-items:center;gap:11px;min-width:0}
.portal-luma-brand img{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
.portal-luma-brand h2,.portal-luma-brand strong{display:block;font-size:17px;line-height:1.4;letter-spacing:-.3px}
.portal-luma-brand p,.portal-luma-brand small{display:block;margin-top:2px;color:var(--muted);font-size:11px;line-height:1.5}
.portal-luma-status{max-width:220px;overflow-wrap:anywhere}
.portal-luma-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}
.portal-luma-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border-radius:5px;color:var(--muted)}
.portal-luma-actions button:hover{background:var(--quiet);color:var(--ink)}
.portal-luma-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 20px 0;padding:10px 12px;border:1px solid #e1d9e9;border-radius:5px;background:#f8f5fa;color:var(--plum);font-size:11px;line-height:1.6;overflow-wrap:anywhere;flex-shrink:0}
.portal-luma-context>div,.portal-luma-context>span{min-width:0}
.portal-luma-context strong{display:block;font-weight:500}
.portal-luma-context button{min-width:44px;min-height:44px;flex-shrink:0;padding:7px;color:var(--plum);font-size:11px}
.portal-luma-messages{display:flex;flex:1;flex-direction:column;gap:24px;min-height:0;min-width:0;padding:24px 22px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.portal-luma-welcome{padding:5px 0 8px;min-width:0}
.portal-luma-eyebrow{display:block;margin-bottom:10px;color:var(--muted);font-size:11px;line-height:1.6;font-weight:500}
.portal-luma-welcome h3{max-width:300px;font-size:23px;line-height:1.4;letter-spacing:-.55px;font-weight:500;color:var(--ink)}
.portal-luma-welcome p{margin-top:13px;color:var(--muted);font-size:14px;line-height:1.8}
.portal-luma-message{min-width:0;padding:0;color:#394149}
.portal-luma-message.user{padding:13px 15px;border:1px solid #ece8ef;border-radius:6px;background:#faf8fb}
.portal-luma-role{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:500;line-height:1.5}
.portal-luma-message.assistant .portal-luma-role{color:var(--plum)}
.portal-luma-text{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.portal-luma-text p+p{margin-top:12px}
.portal-luma-text ul,.portal-luma-text ol{padding-left:20px;margin:10px 0}
.portal-luma-text li+li{margin-top:6px}
.portal-luma-reference{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;max-width:100%;margin:1px 3px;padding:4px 7px;border:1px solid #e3dde9;border-radius:4px;background:#fcfafd;color:var(--plum);font-size:11px;line-height:1.6;vertical-align:middle;text-align:left;overflow-wrap:anywhere}
.portal-luma-reference:hover{border-color:#c8b7d7;background:var(--plum-light)}
.portal-luma-message-state{margin-top:10px;color:#8a6525;font-size:11px;line-height:1.7}
.portal-luma-refs{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;margin-top:12px;padding-top:9px;border-top:1px solid #efedf1;font-size:11px;color:var(--muted)}
.portal-luma-refs button,.portal-luma-refs a{display:inline-flex;align-items:center;gap:5px;min-height:44px;max-width:100%;padding:5px 9px;border:1px solid #e3dde9;border-radius:4px;background:#fff;color:var(--plum);font-size:11px;line-height:1.6;text-align:left;text-decoration:none;overflow-wrap:anywhere}
.portal-luma-refs button:hover,.portal-luma-refs a:hover{background:var(--plum-light);border-color:#c8b7d7}
.portal-luma-suggestions{display:flex;flex-direction:column;gap:8px;padding:0 20px 16px;flex-shrink:0}
.portal-luma-suggestions>p{margin-bottom:2px;color:var(--muted);font-size:11px}
.portal-luma-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#4c4656;font-size:12px;line-height:1.6;text-align:left}
.portal-luma-suggestions button:hover{border-color:#c9bbd5;background:#faf8fc}
.portal-luma-suggestions .button.quiet{border-color:var(--line);background:#fff;color:#4c4656}
.portal-luma-suggestions .button.quiet:hover{border-color:#c9bbd5;background:#faf8fc}
.portal-luma-clear-confirm{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:14px 20px 0;padding:11px 12px;border:1px solid #e4d6bc;border-radius:5px;background:#fcf8ef}
.portal-luma-clear-confirm p{flex:1 1 100%;color:#7f632d;font-size:12px;line-height:1.6}
.portal-luma-clear-confirm .button{font-size:11px;min-height:44px;padding:8px}
.portal-luma-composer{flex-shrink:0;margin:0 20px 12px;padding:13px 13px 10px;border:1px solid var(--line-strong);border-radius:6px;background:#fff}
.portal-luma-modes{display:flex;gap:3px;margin:-3px -3px 11px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.portal-luma-modes .button{flex:1;min-width:0;min-height:44px;padding:8px 10px;font-size:11px}
.portal-luma-modes .button[aria-pressed=true]{background:var(--plum-light);color:var(--plum)}
.portal-luma-composer:focus-within{border-color:#917aa7;box-shadow:0 0 0 2px #f1edf6}
.portal-luma-composer textarea{display:block;width:100%;min-height:62px;max-height:160px;padding:0;border:0;outline:0;resize:vertical;background:transparent;font-size:14px;line-height:1.7}
.portal-luma-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px}
.portal-luma-composer-actions small,.portal-luma-composer-actions span{color:var(--muted);font-size:11px;line-height:1.5}
.portal-luma-composer-actions button{min-height:44px}
.portal-luma-error{margin:0 20px 12px;padding:12px 13px;border:1px solid #e8c8c1;border-radius:5px;background:#fff7f4;color:#943f32;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.portal-luma-error button{min-height:44px;margin-top:6px;color:#873c31;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.portal-luma-proposal{margin-top:18px;padding:16px;border:1px solid #dcd3e6;border-radius:6px;background:#fcfbfd;min-width:0}
.portal-luma-proposal>h3,.portal-luma-proposal>strong{display:block;color:var(--plum);font-size:14px;line-height:1.55}
.portal-luma-proposal>p{margin:6px 0 14px;color:var(--muted);font-size:12px;line-height:1.7}
.portal-luma-proposal .button{margin-top:15px;width:100%;font-size:12px;white-space:normal}
.portal-luma-proposal-fields{display:grid;grid-template-columns:1fr;gap:11px;margin:0;min-width:0}
.portal-luma-proposal-fields>div{padding-top:11px;border-top:1px solid #e8e1ee;min-width:0}
.portal-luma-proposal-fields dt{margin-bottom:3px;color:var(--muted);font-size:11px}
.portal-luma-proposal-fields dd{margin:0;font-size:12px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}
.portal-luma-disclaimer{flex-shrink:0;margin:0;padding:0 22px 17px;color:var(--muted);font-size:11px;line-height:1.65}
.portal-luma-composer>.portal-luma-disclaimer{margin-top:12px;padding:11px 0 0;border-top:1px solid var(--line);font-size:11px;line-height:1.65}
.portal-luma-proposal>.portal-luma-disclaimer{margin-top:12px;padding:0;font-size:11px;line-height:1.7}


@media(max-width:650px){
 .portal-luma-panel{width:100vw;border-left:0}
 .portal-luma-header{min-height:75px;padding:13px 15px}
 .portal-luma-header .portal-luma-actions{gap:0}
 .portal-luma-context{margin:14px 16px 0;padding:9px 10px}
 .portal-luma-clear-confirm{margin-left:16px;margin-right:16px}
 .portal-luma-messages{padding:21px 17px;gap:23px}
 .portal-luma-suggestions{padding:0 16px 14px;gap:7px}
 .portal-luma-composer{margin:0 15px 11px;padding:12px}
 .portal-luma-composer textarea{min-height:57px}
 .portal-luma-composer-actions>small,.portal-luma-composer-actions>span{max-width:150px}
 .portal-luma-error{margin-left:16px;margin-right:16px}
 .portal-luma-disclaimer{padding:0 17px max(14px,env(safe-area-inset-bottom));font-size:11px}
}
@media(max-width:360px){
 .portal-luma-brand{gap:8px}
 .portal-luma-brand img{width:34px;height:34px;flex-basis:34px}
 .portal-luma-actions button{min-width:44px;padding:7px}
 .portal-luma-composer-actions{align-items:flex-start}
 .portal-luma-composer-actions>small,.portal-luma-composer-actions>span{max-width:125px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{
 .portal-sidebar,.portal-topbar,.mobile-bottom-nav,.page-actions,.chat-composer,.room-sidebar,.sidebar-overlay,.toast,.portal-luma-overlay,.portal-luma-panel{display:none!important}
 .portal-workspace{margin-left:0}
 .portal-main{max-width:none;padding:0}
 .page-view{break-inside:auto}
 .request-row,.person-row,.version-row{break-inside:avoid}
 .chat-layout{display:block;border:0;height:auto;min-height:0;overflow:visible}
 .chat-thread{display:block!important;height:auto}
 .chat-messages{overflow:visible;height:auto}
 .button,.icon-button{display:none}
}

/* Shared progress and guide access. */
#header-guide{width:44px;min-width:44px;height:44px;flex-shrink:0;color:var(--plum)}
.topbar-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
