/* Team access workspace: light surfaces, existing grants and server contracts. */
.tp-page{--tp-text:var(--veconi-text,#172235);--tp-muted:#5f7083;--tp-line:#e1e8ee;--tp-accent:#087e75;--tp-soft:#e8faf5;box-sizing:border-box;color-scheme:light;max-width:1080px;margin:0 auto;padding:8px 0 24px;color:var(--tp-text);font-family:inherit;overflow-wrap:break-word}
.tp-page *,.tp-dialog *{box-sizing:border-box}.tp-page h1,.tp-page h2,.tp-page p{margin:0}.tp-page h1{font-size:clamp(24px,3vw,30px);line-height:1.2;letter-spacing:-.65px;font-weight:750}.tp-page h2{font-size:17px;line-height:1.35;font-weight:720}.tp-page p{font-size:13px;line-height:1.55;color:var(--tp-muted)}.tp-page svg{width:20px;height:20px;flex-shrink:0;stroke-width:1.8}.tp-page button,.tp-page input,.tp-dialog button{font:inherit}.tp-page button{cursor:pointer}.tp-page button:disabled,.tp-dialog button:disabled{cursor:not-allowed;opacity:.5}.tp-page button:focus-visible,.tp-page input:focus-visible,.tp-page summary:focus-visible,.tp-dialog button:focus-visible{outline:3px solid #078a80;outline-offset:3px}.tp-page #tp-title:focus{outline:none}
.tp-breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--tp-muted);margin-bottom:20px}.tp-breadcrumb button{display:inline-flex;align-items:center;gap:6px;min-height:44px;background:none;border:0;padding:0;color:var(--tp-accent);font-weight:650}.tp-breadcrumb svg{width:15px;height:15px}.tp-heading{display:flex;align-items:center;gap:16px;margin-bottom:22px}.tp-heading>div{flex:1;min-width:0}.tp-heading p{margin-top:7px;max-width:570px}.tp-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--tp-accent);margin-bottom:7px}
.tp-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 16px;border:1px solid #cdd8e0;border-radius:12px;background:white;color:#263b4b;font-size:13px;font-weight:680;line-height:1.3;word-break:normal;text-decoration:none;transition:background .15s,border-color .15s}.tp-button:hover:not(:disabled){background:#f0f8f6;border-color:#79baaf}.tp-primary{background:#0bb9aa;border-color:#0bb9aa;color:#052e33;box-shadow:0 3px 10px #087e7514}.tp-primary:hover:not(:disabled){background:#27cabb;border-color:#27cabb}.tp-help{background:transparent;border-color:transparent;color:var(--tp-muted);font-size:12px}.tp-help svg{width:19px;height:19px}
.tp-identity,.tp-presets,.tp-spaces{border:1px solid var(--tp-line);border-radius:20px;background:#fff;padding:22px;margin-bottom:16px;box-shadow:0 3px 16px #17364804}.tp-identity{display:flex;align-items:center;gap:16px}.tp-avatar{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;border-radius:50%;background:#e3f8f2;color:#087e75;font-weight:750;font-size:23px}.tp-person{flex:1;min-width:0}.tp-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}.tp-name h2{font-size:20px;letter-spacing:-.4px}.tp-person>p{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:3px}.tp-person>p svg{width:16px;height:16px}.tp-status{display:inline-flex;align-items:center;gap:5px;background:#def8ed;color:#08734f;font-size:11px;font-weight:650;padding:4px 9px;border-radius:99px;line-height:1.3}.tp-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.tp-status.is-inactive{background:#eef1f4;color:#657383}.tp-switch{font-size:12px}
.tp-block-heading{display:flex;gap:12px;align-items:center}.tp-block-heading>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;flex-shrink:0;background:var(--tp-soft);color:var(--tp-accent)}.tp-block-heading>div{min-width:0}.tp-block-heading p{margin-top:3px;font-size:12px}.tp-permissions-heading{margin:25px 3px 14px}.tp-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.tp-preset{display:flex;align-items:center;gap:10px;min-height:90px;text-align:left;padding:15px 13px;color:var(--tp-text);border:1px solid #dfe5eb;border-radius:14px;background:#fff;transition:background .15s,border-color .15s}.tp-preset>svg{width:23px;height:23px;color:#617183}.tp-preset>span:nth-child(2){flex:1;min-width:0}.tp-preset b,.tp-preset small{display:block}.tp-preset b{font-size:13px;line-height:1.4;margin-bottom:4px}.tp-preset small{font-size:11px;line-height:1.5;color:var(--tp-muted)}.tp-preset[aria-pressed=true]{border-color:#31af9e;background:#effbf7;box-shadow:inset 0 0 0 1px #31af9e33}.tp-preset[aria-pressed=true]>svg{color:var(--tp-accent)}.tp-preset-dot{width:18px;height:18px;border:1.5px solid #b0bec8;border-radius:50%;flex-shrink:0}.tp-preset[aria-pressed=true] .tp-preset-dot{border:5px solid #149f8e}.tp-page .tp-note{font-size:11px;line-height:1.55;color:#637486;margin-top:13px;max-width:790px}
.tp-space-mode{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--tp-line);border-radius:12px;padding:3px;margin-top:17px;background:#f9fbfc;gap:4px}.tp-space-mode label{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:9px;font-size:12px;cursor:pointer}.tp-space-mode label:has(input:checked){border-color:#a5ddd1;background:#e3f8f1;color:#086a60;font-weight:650}.tp-space-mode input{width:17px;height:17px;accent-color:#0b9183;margin:0;flex-shrink:0}.tp-space-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tp-space-chips label{display:flex;align-items:center;gap:7px;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #dbe3e9;border-radius:12px;cursor:pointer;background:#fff;font-size:12px;color:#526375}.tp-space-chips label:has(input:checked){background:#effbf6;border-color:#7fcbb9;color:#087266}.tp-space-chips input{width:17px;height:17px;flex-shrink:0;accent-color:#0b9183;margin:0}.tp-space-chips span{display:flex;gap:6px;align-items:center;min-width:0;overflow-wrap:anywhere}.tp-space-chips svg{width:16px;height:16px}
.tp-permission-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.tp-section{min-width:0;overflow:hidden;border:1px solid var(--tp-line);border-radius:17px;background:white;box-shadow:0 2px 8px #17364803}.tp-section>summary{display:flex;align-items:center;gap:12px;min-height:70px;padding:15px 20px;list-style:none;cursor:pointer;font-size:16px;font-weight:710}.tp-section>summary::-webkit-details-marker{display:none}.tp-section-icon{display:grid;place-items:center;width:26px;height:32px;color:var(--tp-accent);flex-shrink:0}.tp-section-icon svg{width:24px;height:24px}.tp-category-name{flex:1;min-width:0}.tp-category-name small{display:block;font-size:11px;font-weight:450;color:var(--tp-muted);margin-top:3px}.tp-count{padding:5px 8px;border-radius:7px;white-space:nowrap;font-size:11px;font-weight:650;color:#586c7a;background:#f0f4f7}.tp-section>summary>svg{width:18px;height:18px;color:#657787;transition:transform .15s}.tp-section[open]>summary>svg{transform:rotate(180deg)}.tp-section-content{padding:0 22px 12px}.tp-section-goals[open]{border-color:#b1dfd4}.tp-section-goals[open]>summary{background:#f0fbf7}.tp-category-note{padding:13px 0 12px;font-size:12px!important}.tp-category-help{margin:0 0 8px;padding:10px 12px;border-radius:10px;background:#f5f8fb;color:#536a79;font-size:12px}.tp-category-help>summary{display:flex;gap:7px;align-items:center;cursor:pointer;min-height:26px;font-weight:600}.tp-category-help>p{font-size:12px;margin-top:7px}.tp-category-help svg{width:16px;height:16px}
.tp-row{display:flex;gap:20px;align-items:center;min-height:76px;padding:14px 0;border-top:1px solid #edf1f4}.tp-row-copy{flex:1;min-width:0}.tp-row-copy>label{display:block;font-size:13px;line-height:1.5;font-weight:620;cursor:pointer}.tp-row-copy>small{display:block;max-width:740px;font-size:12px;line-height:1.55;color:#637486;margin-top:3px}.tp-row-copy>.tp-dependency{display:flex;align-items:flex-start;gap:5px;color:#875419;font-size:11px;margin-top:6px}.tp-dependency svg{width:14px;height:14px;margin-top:2px}.tp-toggle{appearance:none;-webkit-appearance:none;position:relative;display:block;flex-shrink:0;width:48px;height:44px;margin:0;border:0;border-radius:9px;background:transparent;cursor:pointer}.tp-toggle:after{content:'';position:absolute;inset:9px 0;height:26px;border-radius:20px;background:#d5dee6;border:1px solid #c5d0d9;transition:background .15s}.tp-toggle:before{content:'';position:absolute;left:3px;top:12px;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #1f435533;z-index:1;transition:transform .15s}.tp-toggle:checked:after{background:#0cb6a2;border-color:#0cb6a2}.tp-toggle:checked:before{transform:translateX(22px)}.tp-toggle:disabled{cursor:not-allowed;opacity:.45}
.tp-linked-list{margin-top:4px;border-top:1px solid #edf1f4}.tp-linked{display:flex;align-items:flex-start;gap:9px;padding:12px 0}.tp-linked-symbol{display:flex;padding-top:1px;color:#71818c}.tp-linked-symbol svg{width:16px;height:16px}.tp-linked>div{flex:1;min-width:0}.tp-linked b{display:block;font-size:12px;font-weight:600;line-height:1.45}.tp-linked small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:#687b88}.tp-linked-state{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding-top:2px;color:#73808b;font-size:10px}.tp-linked-state svg{width:12px;height:12px}.tp-linked-state.is-enabled{color:#087f68}
.tp-dashboard-preview{display:flex;gap:11px;align-items:flex-start;padding:15px;margin:9px 0 3px;border:1px solid #c9e8de;border-radius:13px;background:#f0faf6;color:#087564}.tp-dashboard-preview>svg{margin-top:2px}.tp-dashboard-preview>div{min-width:0}.tp-dashboard-preview span{display:block;font-size:9px;font-weight:750;letter-spacing:1px;margin-bottom:4px}.tp-dashboard-preview b{display:block;font-size:14px}.tp-dashboard-preview p{font-size:12px;color:#3f6a61;margin-top:4px}.tp-dashboard-preview small{display:block;color:#5d786f;font-size:10px;line-height:1.5;margin-top:7px}.tp-dashboard-preview[data-mode=none]{background:#f5f7fa;color:#566d7c;border-color:#dbe4eb}.tp-dashboard-preview[data-mode=none] p,.tp-dashboard-preview[data-mode=none] small{color:#627481}
.tp-rollout-note{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;margin-top:15px;border:1px solid #d8e4ee;border-radius:13px;background:#f2f7fc;color:#36576e}.tp-rollout-note>svg{width:18px;height:18px;margin-top:2px}.tp-rollout-note b{font-size:12px}.tp-rollout-note p{font-size:11px;line-height:1.55;margin-top:3px;color:#557083}.tp-compat{margin-top:12px;border:1px solid var(--tp-line);border-radius:12px;background:#fff;padding:10px 14px}.tp-compat>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:28px;font-size:12px;color:#536b78}.tp-compat>summary>svg:first-child{width:16px;height:16px;color:var(--tp-accent)}.tp-compat>summary>svg:last-child{margin-left:auto;width:15px;height:15px}.tp-compat>p{font-size:12px;line-height:1.6;margin:8px 0 3px}.tp-feedback{font-size:12px;line-height:1.6;margin-top:12px;padding:12px 15px;border:1px solid #b5dfcf;border-radius:12px;background:#effaf5;color:#176344}.tp-feedback:empty{display:none}.tp-feedback.is-error{background:#fff3f1;color:#9b382d;border-color:#efc5bd}
.tp-savebar{position:sticky;bottom:calc(var(--tp-bottom-offset,0px) + 8px);z-index:20;display:flex;align-items:center;gap:10px;margin-top:20px;padding:14px 16px;border:1px solid #e0e8ec;border-radius:16px;background:#fffffffa;box-shadow:0 -4px 24px #1e41530b}.tp-savebar>div{min-width:0;flex:1}.tp-savebar b,.tp-savebar small{display:block}.tp-savebar b{font-size:12px;font-weight:650}.tp-savebar small{font-size:10px;color:#667e8b;margin-top:4px}.tp-savebar .tp-primary{min-width:200px}.tp-savebar .tp-button{flex-shrink:0}
.tp-dialog-bg{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:#0a25336b;padding:20px}.tp-dialog{width:min(560px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden;padding:24px;border:1px solid #dce7e9;border-radius:22px;background:white;color:#172b3c;box-shadow:0 22px 80px #0b2d3d30;color-scheme:light;font-family:inherit}.tp-dialog h2{margin:0 0 17px;font-size:22px;line-height:1.3;letter-spacing:-.4px}.tp-dialog h3{font-size:13px;margin:16px 0 6px;color:#196a61}.tp-dialog p,.tp-dialog li{font-size:13px;line-height:1.65;color:#536979}.tp-dialog ul{padding-left:21px}.tp-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.tp-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-shrink:0}.tp-caution{background:#fff8ea;border:1px solid #ead7b0;border-radius:12px;padding:12px;color:#79561c!important;font-size:12px!important;line-height:1.6!important}
@media(max-width:700px){.tp-page{padding:0 0 20px}.tp-breadcrumb{margin-bottom:12px}.tp-heading{align-items:flex-start;margin-bottom:17px;gap:10px}.tp-heading p{font-size:12px}.tp-help{padding:6px;min-width:44px}.tp-help span{display:none}.tp-eyebrow{font-size:9px}.tp-identity,.tp-presets,.tp-spaces{padding:16px;border-radius:17px;margin-bottom:12px}.tp-identity{gap:11px;flex-wrap:wrap}.tp-avatar{width:52px;height:52px;font-size:19px}.tp-name h2{font-size:17px}.tp-person{min-width:150px}.tp-switch{margin-left:auto;min-height:44px;border:0;padding:4px 0;background:none;color:var(--tp-accent);font-size:11px}.tp-switch svg{width:14px;height:14px}.tp-block-heading{gap:10px}.tp-block-heading h2{font-size:16px}.tp-block-heading>span{width:37px;height:37px;border-radius:11px}.tp-block-heading p{font-size:11px}.tp-preset-grid{grid-template-columns:1fr;gap:8px;margin-top:14px}.tp-preset{min-height:65px;padding:11px 12px;gap:12px}.tp-preset b{font-size:13px;margin-bottom:1px}.tp-preset small{font-size:11px}.tp-page .tp-note{font-size:10px;margin-top:10px}.tp-space-mode{margin-top:14px}.tp-space-mode label{padding:7px 5px;font-size:11px;gap:6px}.tp-space-mode input{width:16px;height:16px}.tp-space-chips{gap:7px;margin-top:12px}.tp-space-chips label{font-size:11px;padding:8px 10px}.tp-permissions-heading{margin:22px 0 12px}.tp-section{border-radius:15px}.tp-section>summary{min-height:68px;padding:13px 14px;gap:9px;font-size:14px}.tp-category-name small{font-size:10px}.tp-count{font-size:10px;padding:4px 6px}.tp-section-content{padding:0 15px 10px}.tp-row{gap:14px;padding:13px 0;min-height:84px}.tp-row-copy>label{font-size:13px}.tp-row-copy>small{font-size:11px}.tp-row-copy>.tp-dependency{font-size:10px}.tp-linked{flex-wrap:wrap}.tp-linked-state{margin-left:25px}.tp-linked>div{flex-basis:calc(100% - 35px)}.tp-category-note{font-size:11px!important}.tp-dashboard-preview{padding:12px;gap:9px}.tp-dashboard-preview b{font-size:13px}.tp-dashboard-preview p{font-size:11px}.tp-savebar{padding:12px;margin-top:17px;gap:8px;flex-wrap:wrap;border-radius:14px}.tp-savebar>div{flex-basis:100%;display:flex;align-items:center;gap:8px}.tp-savebar b{font-size:11px}.tp-savebar small{margin:0 0 0 auto;font-size:9px;text-align:right}.tp-savebar .tp-button{padding:10px 12px;font-size:12px}.tp-savebar>[data-tp-back]{flex:1;min-width:78px}.tp-savebar .tp-primary{flex:2;min-width:0;white-space:nowrap}.tp-savebar .tp-primary svg{width:17px;height:17px}.tp-dialog-bg{padding:12px}.tp-dialog{max-height:calc(100dvh - 24px);padding:19px;border-radius:18px}.tp-dialog h2{font-size:20px}.tp-dialog-actions{gap:8px}.tp-dialog-actions .tp-button{flex:1;padding:10px;font-size:12px}.tp-rollout-note{padding:12px;font-size:11px}.tp-feedback{font-size:12px}}
@media(min-width:480px) and (max-width:700px){.tp-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tp-preset{flex-wrap:wrap;gap:6px;align-content:start}.tp-preset>span:nth-child(2){flex-basis:100%;order:2}.tp-preset-dot{margin-left:auto}}
@media(max-height:500px){.tp-savebar>div{display:none}.tp-savebar{padding:9px 12px}.tp-dialog-bg{padding:9px}.tp-dialog{max-height:calc(100dvh - 18px);padding:15px}.tp-dialog h2{margin-bottom:10px}.tp-dialog-actions{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.tp-page *,.tp-page *:before,.tp-page *:after{transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.tp-toggle{appearance:auto}.tp-toggle:before,.tp-toggle:after{display:none}.tp-preset[aria-pressed=true]{outline:2px solid Highlight}.tp-primary{border:2px solid ButtonText}}

.tp-linked-list>summary{display:flex;align-items:center;gap:7px;min-height:44px;color:#526c78;font-size:11px;list-style:none;cursor:pointer}.tp-linked-list>summary>svg{width:15px;height:15px}.tp-linked-list>summary>svg:last-child{margin-left:auto}.tp-linked-list[open]>summary>svg:last-child{transform:rotate(180deg)}.tp-row input{scroll-margin-top:100px;scroll-margin-bottom:calc(var(--tp-bottom-offset,0px) + 130px)}
/* The app hides horizontal overflow on body. clip preserves the viewport as the sticky scrollport only while this editor is open. */ body:has([data-permission-editor]){overflow-x:clip;overflow-y:visible}
#app .tp-page input.tp-toggle{flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:44px;min-height:44px}
