/* A compact project workspace. Scoped so the public entry, checkout and dialogs keep their contracts. */
body.swiss-app.owner-shell{--g-canvas:#f4f5f7;--g-surface:#fff;--g-raised:#fff;--g-ink:#242735;--g-muted:#687082;--g-line:#e0e3e9;--g-accent:#ec5a35;--g-accent-hover:#d84925;--g-accent-text:#bd3e20;--g-accent-soft:#fff0e9;--g-action:#d84925;--g-action-hover:#c54021;--g-success:#257751;--g-warning:#946000;--g-danger:#b53232;--topbar:#252735;color-scheme:light;background:var(--g-canvas);color:var(--g-ink)}
body.swiss-app.owner-shell .bg-motion{display:none}
body.swiss-app.workspace-active>.wrap{max-width:none;margin-left:224px;margin-right:0;padding:0 32px;width:calc(100% - 224px)}
body.swiss-app.owner-shell .topbar{background:#252735!important;border-bottom:1px solid #353747;min-height:62px;height:62px;backdrop-filter:none}
body.swiss-app.owner-shell .topbar>.wrap{max-width:none;padding:0 24px}
body.swiss-app.owner-shell .topbar .brand{flex:1!important}
body.swiss-app.owner-shell .topbar .brand-light{display:block!important;filter:brightness(0) invert(1)}
body.swiss-app.owner-shell .topbar .brand-dark{display:none!important}
body.swiss-app.owner-shell .topbar .btn,body.swiss-app.owner-shell .topbar .iconbtn,body.swiss-app.owner-shell .topbar .langsel{color:#fff;border-color:#555868;background:transparent;font-size:12px;min-height:34px}
body.swiss-app.workspace-active #appnav,body.swiss-app.workspace-active #menuBtn,body.swiss-app.owner-shell #themeBtn{display:none!important}
body.swiss-app.workspace-active .sec{max-width:1280px;padding-top:30px;margin:0 auto;padding-bottom:48px}
body.swiss-app.workspace-active .radar-wrap{max-width:1280px;padding-top:30px;margin:0 auto}
body.swiss-app.owner-shell .card{border-radius:7px;box-shadow:none}
body.swiss-app.owner-shell .btn{border-radius:12px!important;font-size:13px;min-height:42px}
.pw-sidebar{position:fixed;left:0;top:62px;bottom:0;width:224px;border-right:1px solid #dfe2e8;background:#f9fafb;z-index:90;overflow-y:auto;padding:22px 12px;color:#303443}
.pw-sidebar[hidden],#workspaceAudit[hidden],#workspaceReports[hidden],#workspaceSettings[hidden]{display:none!important}
.pw-project{margin:0 8px 25px;padding:0 3px 21px;border-bottom:1px solid #e0e3e9}
.pw-project>span{font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#6c7280;display:block;margin-bottom:9px}
.pw-project strong{display:block;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.pw-project button{font:inherit;font-size:11px;color:#747b89;border:0;background:none;padding:8px 0 0;cursor:pointer}
.pw-sidebar nav{display:flex;flex-direction:column;gap:5px}
.pw-sidebar nav button{width:100%;border:0;background:transparent;text-align:left;border-radius:5px;padding:11px 10px;color:#596071;font:inherit;font-size:13px;font-weight:500;display:flex;gap:11px;align-items:center;cursor:pointer;min-height:40px}
.pw-sidebar nav button:hover{background:#edf0f4;color:#242735}
.pw-sidebar nav button[aria-current=page]{background:#feeee7;color:#b33d20;font-weight:650}
.pw-nav-primary,.pw-nav-secondary{display:grid;gap:4px}
.pw-icon{display:block;flex:none;width:20px;height:20px;color:currentColor}
.pw-nav-label{min-width:0;overflow-wrap:anywhere}
.pw-nav-short{display:none}
.workspace-active #screen-results .reshero,.workspace-active #screen-results #detailedWrap,.workspace-active #screen-results #journeyPanel,.workspace-active #screen-results #resHeadExtra{display:none!important}
.workspace-active[data-workspace-view=tasks] #screen-results #journeyPanel{display:block!important}
.workspace-active[data-workspace-view=settings] #journeyOverview{display:none!important}
.workspace-active[data-workspace-view=tasks].workspace-materials #screen-results #detailedWrap{display:block!important}
.workspace-active[data-workspace-view=tasks].workspace-materials #detailedWrap>.score-explain,.workspace-active[data-workspace-view=tasks].workspace-materials #detailedWrap>#convCard,.workspace-active[data-workspace-view=tasks].workspace-materials #allChecksBox{display:none!important}
.workspace-active #screen-dash>.sec>.tabs{display:none!important}
.pw-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px}
.pw-heading h1{font-size:28px;font-weight:650;line-height:1.2;letter-spacing:-.025em;margin:4px 0 9px}
.pw-heading p{color:var(--g-muted);font-size:12px;margin:0;line-height:1.6}
.pw-heading .pw-eyebrow{font-size:11px;font-weight:600;color:var(--g-muted)}
.pw-button{font:inherit;font-size:13px;font-weight:600;line-height:1.4;display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:10px 15px;background:#fff;color:#485063;border:1px solid #d7dbe4;border-radius:10px;text-decoration:none;cursor:pointer;white-space:normal;flex-shrink:0;max-width:100%}
.pw-button:hover{border-color:#a9b0be;background:#f9fafb}
.pw-button.pw-primary{color:#fff;border-color:#d84925;background:#d84925}
.pw-button.pw-primary:hover{background:#c54021}
.pw-button:focus-visible,.pw-sidebar button:focus-visible,.pw-tabs button:focus-visible,.pw-url:focus-visible{outline:3px solid #ef9e85;outline-offset:3px}
:where(.sec) .pw-card{background:#fff;border:1px solid var(--g-line);border-radius:12px;padding:22px;margin:0 0 20px;min-width:0}
:where(.sec) .pw-card h2{font-size:16px;font-weight:650;line-height:1.4;margin:0 0 12px;letter-spacing:-.01em}
:where(.sec) .pw-card p,.pw-note{font-size:13px;color:var(--g-muted);line-height:1.65;margin:7px 0}
.pw-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 13px}
.pw-card-head h2{display:flex;align-items:center;gap:8px;margin:0}
.pw-metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-bottom:20px}
.pw-metric{background:#fff;border:1px solid var(--g-line);border-radius:7px;padding:21px 22px;min-width:0}
.pw-metric h2{font-size:12px;color:#626a7b;font-weight:600;margin:0 0 14px}
.pw-metric>strong{display:block;font-size:31px;font-weight:650;line-height:1.15;letter-spacing:-.04em;color:#303747}
.pw-metric p{color:var(--g-muted);font-size:11px;line-height:1.55;margin:11px 0 0;max-width:380px}
.pw-coverage{display:flex;align-items:center;gap:24px;padding-top:18px;padding-bottom:18px}
.pw-coverage>div{flex:1}.pw-coverage h2{margin-bottom:4px}.pw-coverage p{margin:0;max-width:370px}
.pw-coverage dl,.pw-ai-counts{display:flex;gap:28px;margin:0}.pw-coverage dt,.pw-ai-counts dt,.pw-method dt{font-size:10px;color:var(--g-muted);line-height:1.5;margin-bottom:6px}
.pw-coverage dd,.pw-ai-counts dd{font-size:24px;font-weight:650;letter-spacing:-.03em;margin:0}
.pw-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pw-columns .pw-card{margin-bottom:0}
.pw-empty-state{font-size:17px!important;color:#3f4658!important;margin:25px 0 15px!important;font-weight:550}
.pw-actions{list-style:none;counter-reset:task;margin:0;padding:0}.pw-actions li{counter-increment:task;display:flex;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #edf0f4}.pw-actions li:first-child{border-top:0;padding-top:5px}.pw-actions li:last-child{padding-bottom:0}
.pw-actions li:before{content:counter(task);flex:none;font-size:12px;font-weight:650;display:grid;place-items:center;background:#f1f3f7;width:29px;height:29px;border-radius:50%;color:#737b8c}
.pw-actions li>div{flex:1;min-width:0}.pw-actions strong{font-size:13px;font-weight:650;line-height:1.5}.pw-actions p{font-size:12px;margin:5px 0 0;max-width:800px}
.pw-notice{border:1px solid #e6d1a7;border-left:3px solid #bb8a25;background:#fffaf0;border-radius:4px;padding:13px 16px;font-size:12px;line-height:1.6;margin:0 0 20px;color:#7e612a}
.pw-blockers{border-left:3px solid #d05b40;background:#fffaf8}.pw-blockers h2 span{color:#b93d23;font-size:12px;margin-left:5px}.pw-blockers details{padding:10px 0;border-top:1px solid #f0e3dd;font-size:12px;line-height:1.6}.pw-blockers summary{cursor:pointer;font-weight:550}.pw-blockers a{color:#b04b30;overflow-wrap:anywhere}
.pw-tabs{display:flex;gap:24px;border-bottom:1px solid #dfe3ea;margin-top:26px}.pw-tabs button{font:inherit;font-size:13px;padding:11px 0 13px;background:transparent;border:0;border-bottom:2px solid transparent;color:#747c8b;cursor:pointer}.pw-tabs button.is-active{color:#ca4827;border-color:#ec5a35;font-weight:650}
.pw-audit-body{border-top:0;border-radius:0 0 7px 7px}.pw-audit-body>.pw-card{border:0;margin:0;padding:0}
.pw-filters{display:flex;gap:14px;align-items:flex-end;margin-bottom:20px}.pw-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--g-muted)}.pw-filters label:first-child{flex:1}.pw-filters input,.pw-filters select{font:inherit;font-size:12px;color:#364052;border:1px solid #d8dde6;background:#fff;border-radius:4px;height:37px;padding:8px 11px;min-width:0}.pw-filters select{min-width:165px}
.pw-table-scroll{overflow-x:auto}.pw-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:normal}.pw-table th{color:#727b8d;font-size:10px;font-weight:600;background:#f8f9fb;padding:11px 13px;border-top:1px solid #edf0f4;border-bottom:1px solid #e4e8ee}.pw-table td{border-bottom:1px solid #e8ebf0;padding:15px 13px;vertical-align:top;line-height:1.5}.pw-table td:first-child{width:70%}.pw-table strong{font-size:12px;font-weight:600}.pw-table p{margin:6px 0;font-size:11px}.pw-table small{display:block;color:#858b98;font-size:10px;margin-top:5px}.pw-table summary{font-size:11px;color:#64708b;cursor:pointer}.pw-url{display:block;text-align:left;background:none;border:0;font:inherit;color:#446287;font-size:11px;overflow-wrap:anywhere;padding:7px 0;cursor:pointer;max-width:100%}.pw-url-cell{overflow-wrap:anywhere;min-width:180px;font-size:11px}.pw-badge{display:inline-block;padding:3px 7px;border-radius:4px;font-size:10px;line-height:1.5;font-weight:600;white-space:nowrap;background:#eef1f5;color:#697389}.pw-badge.pw-issues{background:#fff0e8;color:#b65a28}.pw-badge.pw-passed{background:#ebf5ee;color:#367751}.pw-badge.pw-unknown{background:#f1eff8;color:#79678b}.pw-empty{padding:32px 0;color:#737c8c;font-size:12px}.pw-inspection{border-top:2px solid #ed805f;padding-top:22px;margin-top:25px}.pw-inspection:focus{outline:none}.pw-page-finding{padding:13px 0;border-top:1px solid #e9edf1;font-size:12px}.pw-method{margin:22px 0 0;display:grid;gap:15px}.pw-method>div{display:flex;justify-content:space-between;gap:24px;padding-bottom:10px;border-bottom:1px solid #edf0f4}.pw-method dt{margin:0}.pw-method dd{margin:0;font-size:11px;overflow-wrap:anywhere}.pw-button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pw-settings-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:20px;border-bottom:1px solid #e8ecf1}.pw-settings-row:last-child{border:0}.pw-settings-row h2{margin:0;font-size:14px}
.workspace-active .journey-heading{margin-top:0}.workspace-active .journey-heading h2{font-size:28px}.workspace-active .journey-heading p{font-size:13px}.workspace-active .journey-task{border-radius:7px;padding:22px}.workspace-active .journey-task h3,.workspace-active .journey-focus h3{font-size:20px}.workspace-active .journey-task p{font-size:12px}.workspace-active .journey-grid{grid-template-columns:1fr 1fr 1fr}.workspace-active .journey-detail{background:#fff;border-radius:7px}.workspace-active .journey-detail h3{font-size:23px}.workspace-active .journey-detail h4{font-size:11px}.workspace-active .journey-detail p,.workspace-active .journey-detail li{font-size:13px}
@media(min-width:1500px){body.swiss-app.workspace-active>.wrap{padding-inline:44px}.pw-metrics{gap:20px}}
@media(max-width:1100px){.pw-sidebar{width:190px}body.swiss-app.workspace-active>.wrap{width:calc(100% - 190px);margin-left:190px;padding-inline:22px}.pw-coverage{flex-wrap:wrap}.pw-coverage>div{flex:1 1 100%}.pw-coverage dl{flex:1}.pw-columns{grid-template-columns:1fr}.workspace-active .journey-grid{grid-template-columns:1fr}.pw-metrics{gap:11px}.pw-metric{padding:18px 16px}.pw-metric>strong{font-size:27px}}

@media(prefers-reduced-motion:reduce){.workspace-active *{scroll-behavior:auto!important}}

/* Owner entry: one next action, with evidence and tools always available. */
.pw-owner-focus{border-top:3px solid var(--g-accent);padding:28px;max-width:100%}
.pw-owner-focus .pw-eyebrow{font-size:11px;letter-spacing:.06em;color:var(--g-accent-text);font-weight:650;text-transform:uppercase;margin-bottom:12px}
.pw-owner-focus h2{font-size:25px;line-height:1.3;max-width:850px;margin-bottom:14px}
.pw-owner-focus .pw-owner-evidence{font-size:15px;line-height:1.7;color:#424a5a;max-width:850px}
.pw-owner-tags{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.pw-owner-tags span,.journey-execution{display:inline-block;padding:5px 9px;border-radius:4px;background:#f0f2f6;color:#566174;font-size:12px}
.pw-owner-reason{max-width:850px}.pw-owner-next,.journey-next-step{margin:18px 0;padding:16px 18px;background:#f6f7f9;border-left:2px solid #d7dce5;border-radius:4px;line-height:1.6}
.pw-owner-next>b{font-size:12px}.pw-owner-next p{margin:6px 0 0;font-size:14px}
.pw-owner-focus>.pw-button{margin-top:4px;font-size:14px;min-height:44px}
.pw-return h2{margin-bottom:12px}.pw-change-list{list-style:none;padding:0;margin:16px 0}.pw-change-list li{display:flex;gap:18px;align-items:baseline;padding:11px 0;border-top:1px solid #edf0f4;font-size:13px}.pw-change-kind{min-width:155px;font-weight:600;color:#4f596a}
.pw-owner-footnote{font-size:11px!important;color:#737d8c!important;margin-top:17px!important}
.pw-owner-radar h3{font-size:18px;margin:16px 0 10px}.pw-owner-radar>a{text-decoration:none;display:inline-flex;align-items:center}
.pw-owner-details>summary,.journey-other-actions>summary,.journey-delegate>summary,.journey-acceptance>summary{cursor:pointer;color:#556176;font-size:13px;padding:15px 0;font-weight:600}
.pw-owner-details[open]>summary{margin-bottom:10px}.pw-nav-tools{border-top:1px solid #e0e3e9;margin-top:14px;padding-top:9px}.pw-nav-tools>summary{cursor:pointer;color:#737b89;font-size:11px;padding:12px 10px;line-height:1.5}.pw-nav-tools>button{font-size:12px!important}
.workspace-active .journey-focus{max-width:100%;margin-bottom:16px}.workspace-active .journey-other-actions .journey-grid{grid-template-columns:1fr 1fr}.journey-remaining{list-style:none;padding:0;display:grid;gap:8px}.journey-remaining .btn{white-space:normal;text-align:left}
.journey-self{border:1px solid #dfe5ee;border-radius:6px;padding:18px;margin:18px 0}.journey-self>h4{margin-top:0!important}.journey-self .journey-actions{margin-top:18px}.journey-delegate{margin:18px 0;border-top:1px solid #e0e3e9}.journey-acceptance{margin:18px 0}.journey-drafts pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}.journey-drafts p,.journey-acceptance a{overflow-wrap:anywhere}
.journey-page{overflow-wrap:anywhere;font-size:12px!important}.journey-page a{color:#446287}
.pw-owner-feedback{padding:12px 15px;background:#fff8ee;border:1px solid #ebd7b3;border-radius:5px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.pw-owner-feedback:empty{display:none}
.workspace-active .pw-button:focus-visible,.workspace-active summary:focus-visible{outline:2px solid #a6371a;outline-offset:3px}


/* Resolve language, account and route before showing a screen from saved state. */
#appEntry{display:none}
html[data-app-boot] body.owner-shell>.wrap,html[data-app-boot] body.owner-shell>.topbar .wrap,html[data-app-boot] .pw-sidebar{visibility:hidden}
html[data-app-boot] #appEntry{position:fixed;inset:62px 0 0;z-index:80;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;background:var(--g-canvas);padding:28px;text-align:center}
#appEntry strong{font-size:25px;letter-spacing:-.04em;color:var(--g-ink)}
#appEntry p{font-size:14px;line-height:1.6;color:var(--g-muted);max-width:400px;margin:0}
#appEntryRetry{display:none;border:1px solid var(--g-action);border-radius:5px;padding:11px 18px;background:var(--g-action);color:#fff;font:inherit;font-size:14px;cursor:pointer}
html[data-app-boot=failed] #appEntryRetry{display:inline-block}

/* Entry screens use the header menu when the project sidebar is not present. */
body.swiss-app.owner-shell .topbar.menu-open .topright{background:#252735!important;border-color:#555868}
body.swiss-app.owner-shell .topbar .langsel option{background:#252735;color:#fff}

/* Workspace cards are document sections; modal dimensions belong to .paywall. */
body.swiss-app.owner-shell :where(#journeyOverview,#workspaceAudit,#workspaceReports,#workspaceSettings) .pw-card{
  width:100%;max-width:none;max-height:none;overflow:visible;text-align:left;
  border-radius:12px!important;box-shadow:none!important;
}
body.swiss-app.owner-shell .card{border-radius:12px!important;box-shadow:none!important}
body.swiss-app.owner-shell .topbar :is(.btn,.iconbtn,.langsel){
  border-color:#606575!important;border-radius:10px!important;min-height:42px;
}
body.swiss-app.owner-shell .topbar .iconbtn{min-width:42px}
body.swiss-app.owner-shell .pw-sidebar nav button{border-radius:10px;min-height:42px}
body.swiss-app.owner-shell .pw-button{border-radius:10px;min-height:42px}
body.swiss-app.owner-shell :is(.pw-badge,.pw-owner-tags span,.journey-execution){border-radius:999px}
body.swiss-app.owner-shell .pw-owner-focus h2{max-width:36ch;font-size:24px}
body.swiss-app.owner-shell .pw-owner-evidence{max-width:76ch}
body.swiss-app.owner-shell :is(.pw-heading,.pw-card-head)>:first-child{min-width:0}
body.swiss-app.owner-shell :is(.pw-heading,.pw-card-head){flex-wrap:wrap}
body.swiss-app.owner-shell .pw-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
body.swiss-app.owner-shell .pw-owner-details{margin:26px 0 0;padding-top:24px;border-top:1px solid var(--g-line)}
body.swiss-app.owner-shell .pw-owner-details>h2{font-size:18px;margin:0 0 16px}
body.swiss-app.owner-shell #workspaceTools{margin-top:18px;padding-top:14px}
body.swiss-app.owner-shell #workspaceTools :is(h2,h3){margin:0;padding:8px 10px;color:#697384;font-size:11px;font-weight:650}
body.swiss-app.owner-shell .pw-saved-findings{margin-top:20px}
body.swiss-app.owner-shell .pw-finding-summary{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
body.swiss-app.owner-shell .pw-finding-summary>span{padding:5px 10px;background:#f3f5f8;border-radius:999px;color:#566174}
body.swiss-app.owner-shell .pw-saved-findings .pw-actions small{display:block;margin-top:5px;color:#687082;font-size:11px;line-height:1.5}
body.swiss-app.owner-shell .pw-unknown-findings li::before{content:'?';background:#f1eff8;color:#79678b}
body.swiss-app.owner-shell .pw-audit-status{margin:10px 0;color:#566174;font-size:13px;line-height:1.6}
body.swiss-app.owner-shell :is(.pw-button,.pw-sidebar button,.pw-tabs button,.pw-url,summary,input,select,textarea):focus-visible{
  outline:3px solid #a6371a;outline-offset:3px;
}
body.swiss-app.owner-shell .pw-inspection:focus{outline:2px solid #a6371a;outline-offset:5px}

/* One compact health snapshot replaces repeated metric and coverage cards. */
body.swiss-app.owner-shell .pw-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;padding:20px 22px}
.pw-health{display:flex;align-items:center;gap:18px;min-width:0}
.pw-score-ring{display:block;flex:none;width:88px;height:88px;overflow:visible}
.pw-score-track{fill:none;stroke:#e9edf1;stroke-width:7}
.pw-score-value{fill:none;stroke:var(--g-accent);stroke-width:7;stroke-linecap:round}
.pw-score-number{fill:var(--g-ink);font:650 25px var(--body,sans-serif);letter-spacing:-1px}
.pw-score-unit{fill:var(--g-muted);font:12px var(--body,sans-serif)}
.pw-health-copy{min-width:0}
body.swiss-app.owner-shell .pw-health-copy h2{font-size:16px;margin:0 0 5px}
body.swiss-app.owner-shell .pw-health-copy p{font-size:12px;line-height:1.5;margin:0}
.pw-health-status{min-width:0;align-self:center}
.pw-status-bar{display:flex;gap:3px;width:100%;height:7px;border-radius:99px;overflow:hidden;background:#e9edf1}
.pw-status-segment{display:block;height:100%;min-width:0;border-radius:99px}
.pw-status-segment:is(.pw-passed,.passed){background:#45936b}
.pw-status-segment:is(.pw-issues,.issues){background:#e67b4f}
.pw-status-segment:is(.pw-unknown,.unknown){background:#b8b1cb}
.pw-status-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}
.pw-status-item{font:inherit;color:var(--g-ink);border:0;border-radius:8px;background:transparent;padding:6px;min-height:52px;text-align:left;cursor:pointer;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.pw-status-item:hover{background:#f3f5f8}
.pw-status-item strong{display:block;font-size:22px;font-weight:650;line-height:1.2}
.pw-status-item span{display:block;font-size:12px;line-height:1.35;color:var(--g-muted);margin-top:3px;overflow-wrap:anywhere}
body.swiss-app.owner-shell .pw-mixed-note{font-size:12px;line-height:1.5;margin:7px 0 0}
.pw-snapshot-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--g-line);padding-top:12px}
.pw-snapshot-footer>:is(small,span){flex:1 1 160px;font-size:12px;line-height:1.5;color:var(--g-muted);overflow-wrap:anywhere}
.pw-snapshot-footer .pw-button{font-size:12px;padding:8px 12px}

body.swiss-app.owner-shell .pw-owner-focus{padding:20px 22px}
.pw-focus-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.pw-owner-focus .pw-focus-top .pw-eyebrow{margin:0;line-height:1.4}
body.swiss-app.owner-shell .pw-owner-focus h2{max-width:46ch;font-size:22px;line-height:1.3;margin-bottom:7px}
body.swiss-app.owner-shell .pw-owner-focus .pw-owner-evidence{font-size:14px;line-height:1.55;margin:6px 0}
.pw-focus-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px}
.pw-focus-role{font-size:12px;line-height:1.45;color:var(--g-muted);flex:1 1 170px}
.pw-focus-bottom .pw-button{min-height:44px}
body.swiss-app.owner-shell .pw-saved-findings{margin-top:0}
body.swiss-app.owner-shell .pw-saved-findings .pw-card-head{margin-bottom:4px}
.pw-finding-list{list-style:none;margin:0;padding:0}
.pw-finding-list>li+li{border-top:1px solid #edf0f4}
.pw-finding-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;min-height:64px;border:0;background:transparent;padding:12px 0;text-align:left;font:inherit;color:var(--g-ink);cursor:pointer;border-radius:6px}
.pw-finding-row:hover{background:#f8f9fb}
.pw-finding-icon{display:grid;place-items:center;width:30px;height:30px;background:#fff1e9;color:#b65a28;border-radius:9px}
.pw-finding-icon .pw-icon{width:18px;height:18px}
.pw-finding-icon.pw-unknown{background:#f1eff8;color:#79678b}
.pw-finding-body{min-width:0;overflow-wrap:anywhere}
.pw-finding-body strong{display:block;font-size:14px;font-weight:600;line-height:1.4}
.pw-finding-body small{display:block;font-size:12px;color:var(--g-muted);line-height:1.45;margin-top:3px}
.pw-finding-count{display:grid;place-items:center;min-width:26px;min-height:26px;padding:3px 6px;background:#f2f4f7;border-radius:7px;font-size:12px;font-weight:650;line-height:1.3}
.pw-chevron{grid-column:4;width:16px;height:16px;color:#8c95a4}
.pw-chevron .pw-icon{width:16px;height:16px}
.pw-return-grid,.pw-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
body.swiss-app.owner-shell :is(.pw-return-grid,.pw-tools-grid)>.pw-card{margin:0}
.pw-return-grid>.pw-card:only-child{grid-column:1/-1}
body.swiss-app.owner-shell .pw-return-grid .pw-card{padding:20px}
body.swiss-app.owner-shell .pw-return-grid h2{font-size:16px;margin-bottom:8px}
body.swiss-app.owner-shell .pw-return-grid h3{font-size:15px;line-height:1.4;margin:10px 0 6px;overflow-wrap:anywhere}
body.swiss-app.owner-shell .pw-return-grid p{font-size:13px;line-height:1.55;margin:7px 0}
body.swiss-app.owner-shell .pw-return-grid .pw-owner-footnote{margin-top:10px!important;font-size:12px!important}
body.swiss-app.owner-shell .pw-return-grid .pw-radar-next{color:#485366}
body.swiss-app.owner-shell .pw-tools-grid .pw-card{padding:16px 18px}
body.swiss-app.owner-shell .pw-tools-grid h2{font-size:14px;margin-bottom:6px}
body.swiss-app.owner-shell .pw-tools-grid p{font-size:12px;line-height:1.5;margin:6px 0 10px}
body.swiss-app.owner-shell :is(.pw-status-item,.pw-finding-row):focus-visible{outline:3px solid #a6371a;outline-offset:3px}

/* The shared header collapses its account controls at 1240px. */
@media(max-width:1240px){
  body.swiss-app.workspace-active .topbar #menuBtn{display:inline-flex!important;align-items:center;justify-content:center}
}

/* Phone shell: a 52px header, a single tool strip and four bottom destinations. */
@media(max-width:760px){
  body.swiss-app.workspace-active{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  body.swiss-app.owner-shell .topbar{position:sticky;top:0;z-index:100;height:52px;min-height:52px}
  body.swiss-app.owner-shell .topbar>.wrap{padding:4px 12px;min-height:52px;gap:8px}
  body.swiss-app.owner-shell .topbar .brand{min-width:100px;height:32px}
  body.swiss-app.owner-shell .topbar .brand .brand-logo{width:100px;height:25px!important}
  body.swiss-app.owner-shell .topbar #menuBtn{flex:none;width:44px;height:44px;padding:0}
  body.swiss-app.owner-shell .topright{left:auto;right:12px;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 142px);overflow-y:auto;gap:8px}
  body.swiss-app.owner-shell .topright .langsel{font-size:16px;min-height:44px}
  body.swiss-app.workspace-active #chatFab{top:4px;right:64px!important;bottom:auto!important;width:44px!important;height:44px!important;z-index:101;background:#252735!important;border-color:#606575!important;border-radius:10px!important;box-shadow:none!important}
  body.swiss-app.workspace-active #chatFab>.glowl-signal{width:29px;height:29px}
  body.swiss-app.workspace-active #chatFab.gl-hide{transform:none;opacity:1;pointer-events:auto}
  body.swiss-app.workspace-active #chatPanel{top:var(--pw-chat-top,60px);right:8px;left:8px;bottom:var(--pw-chat-bottom,calc(76px + env(safe-area-inset-bottom,0px)))!important;width:auto;max-width:none;height:auto;max-height:none;z-index:130;border-radius:12px!important}
  body.swiss-app.workspace-active .pw-sidebar{position:sticky;top:52px;left:auto;bottom:auto;width:100%;padding:0;border-right:0;border-bottom:1px solid var(--g-line);background:#fff;overflow:visible;z-index:90}
  body.swiss-app.workspace-active .pw-project{display:none}
  body.swiss-app.workspace-active .pw-sidebar nav{display:block;min-width:0}
  body.swiss-app.workspace-active .pw-nav-primary{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:3px 5px calc(3px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--g-line);background:#fff;z-index:110;box-shadow:none}
  body.swiss-app.workspace-active .pw-nav-primary>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:54px;padding:5px 2px;font-size:11px;line-height:1.2;text-align:center;border-radius:9px}
  body.swiss-app.workspace-active .pw-nav-primary .pw-icon{width:21px;height:21px}
  body.swiss-app.workspace-active .pw-nav-primary .pw-nav-label{display:block;max-width:100%;white-space:normal}
  body.swiss-app.workspace-active #workspaceTools{margin:0;padding:0;border:0}
  body.swiss-app.workspace-active #workspaceTools>h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.swiss-app.workspace-active .pw-nav-secondary{display:flex;gap:4px;padding:0 12px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
  body.swiss-app.workspace-active .pw-nav-secondary::-webkit-scrollbar{display:none}
  body.swiss-app.workspace-active .pw-nav-secondary>button{width:auto;flex:1 0 auto;min-height:44px;padding:8px 10px;font-size:12px;line-height:1.3;gap:7px;white-space:nowrap;justify-content:center}
  body.swiss-app.workspace-active .pw-nav-secondary .pw-icon{width:17px;height:17px}
  body.swiss-app.workspace-active .pw-nav-secondary .pw-nav-label{display:none}
  body.swiss-app.workspace-active .pw-nav-secondary .pw-nav-short{display:inline;white-space:nowrap}
  body.swiss-app.workspace-active>.wrap{width:100%;margin:0;padding:0 14px;min-width:0}
  body.swiss-app.workspace-active .sec{padding-top:18px;padding-bottom:24px}
  body.swiss-app.workspace-active .radar-wrap{padding-top:18px;padding-bottom:24px;min-width:0}
  body.swiss-app.workspace-active :is(.pw-card,.journey-detail,.pw-inspection){scroll-margin-top:120px}
  body.swiss-app.owner-shell :is(.pw-button,.pw-sidebar nav button,.pw-tabs button,.topbar .btn,.topbar .iconbtn,.topbar .langsel){min-height:44px}
  body.swiss-app.owner-shell :is(.pw-button,.pw-url){font-size:13px}
  body.swiss-app.workspace-active :is(input,select,textarea){font-size:16px}
  body.swiss-app.owner-shell .pw-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:16px}
  body.swiss-app.owner-shell .pw-heading h1{font-size:24px;line-height:1.2;margin:3px 0 5px}
  body.swiss-app.owner-shell .pw-heading p{font-size:12px;line-height:1.45;overflow-wrap:anywhere;margin:0}
  body.swiss-app.owner-shell .pw-heading .pw-eyebrow{font-size:12px}
  body.swiss-app.owner-shell .pw-heading .pw-button{font-size:12px;padding:9px 11px}
  body.swiss-app.owner-shell .pw-heading .pw-refresh{width:44px;min-width:44px;height:44px;padding:0}
  body.swiss-app.owner-shell .pw-refresh .pw-button-label{display:none}
  body.swiss-app.owner-shell :where(#journeyOverview,#workspaceAudit,#workspaceReports,#workspaceSettings) .pw-card{padding:16px;margin-bottom:14px}
  body.swiss-app.owner-shell .pw-card h2{font-size:15px;line-height:1.4}
  body.swiss-app.owner-shell .pw-card p{font-size:13px;line-height:1.55}
  body.swiss-app.owner-shell .pw-card-head{gap:10px;margin-bottom:10px}
  body.swiss-app.owner-shell .pw-snapshot{grid-template-columns:minmax(0,1fr) 64px;gap:12px;padding:16px}
  body.swiss-app.owner-shell .pw-health{display:contents}
  body.swiss-app.owner-shell .pw-health-copy{grid-column:1;grid-row:1;align-self:center}
  body.swiss-app.owner-shell .pw-score-ring{grid-column:2;grid-row:1;width:64px;height:64px;align-self:center}
  body.swiss-app.owner-shell .pw-score-number{font-size:28px}
  body.swiss-app.owner-shell .pw-score-unit{font-size:15px}
  body.swiss-app.owner-shell .pw-health-status{grid-column:1/-1;grid-row:2}
  body.swiss-app.owner-shell .pw-health-copy h2{font-size:15px;margin:0 0 5px}
  body.swiss-app.owner-shell .pw-health-copy p{font-size:12px;line-height:1.45;margin:0}
  body.swiss-app.owner-shell .pw-status-legend{gap:4px;margin-top:5px}
  body.swiss-app.owner-shell .pw-status-item{padding:2px;min-height:48px}
  body.swiss-app.owner-shell .pw-status-item strong{font-size:21px}
  body.swiss-app.owner-shell .pw-status-item span{font-size:12px}
  body.swiss-app.owner-shell .pw-mixed-note{font-size:12px;margin-top:5px}
  body.swiss-app.owner-shell .pw-snapshot-footer{grid-row:3;gap:8px;padding-top:8px;align-items:center;flex-wrap:nowrap}
  body.swiss-app.owner-shell .pw-snapshot-footer>:is(small,span){flex:1 1 130px;font-size:12px;line-height:1.4}
  body.swiss-app.owner-shell .pw-snapshot-footer .pw-button{font-size:12px;padding:8px 10px}
  body.swiss-app.owner-shell .pw-owner-focus h2{font-size:20px;line-height:1.3;margin-bottom:7px}
  body.swiss-app.owner-shell .pw-owner-focus .pw-owner-evidence{font-size:13px;line-height:1.5}
  body.swiss-app.owner-shell .pw-focus-top{margin-bottom:9px}
  body.swiss-app.owner-shell .pw-focus-top .pw-eyebrow{font-size:11px}
  body.swiss-app.owner-shell .pw-focus-bottom{gap:10px;margin-top:12px}
  body.swiss-app.owner-shell .pw-focus-role{flex:1 1 130px;font-size:12px}
  body.swiss-app.owner-shell .pw-focus-bottom .pw-button{flex:0 1 auto}
  body.swiss-app.owner-shell .pw-saved-findings .pw-card-head{margin-bottom:2px}
  body.swiss-app.owner-shell .pw-finding-row{grid-template-columns:28px minmax(0,1fr) auto 14px;gap:8px;padding:11px 0;min-height:62px}
  body.swiss-app.owner-shell .pw-finding-icon{width:28px;height:28px}
  body.swiss-app.owner-shell .pw-finding-body strong{font-size:13px}
  body.swiss-app.owner-shell .pw-finding-body small{font-size:12px}
  body.swiss-app.owner-shell .pw-return-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:14px}
  body.swiss-app.owner-shell .pw-tools-grid{gap:10px;margin-bottom:14px}
  body.swiss-app.owner-shell :is(.pw-return-grid,.pw-tools-grid)>.pw-card{margin:0}
  body.swiss-app.owner-shell .pw-tools-grid .pw-card{padding:13px}
  body.swiss-app.owner-shell .pw-tools-grid h2{font-size:14px}
  body.swiss-app.owner-shell .pw-tools-grid p{font-size:12px;line-height:1.45}
  body.swiss-app.owner-shell .pw-tools-grid .pw-button{width:100%;font-size:12px;padding:8px 6px}
  body.swiss-app.owner-shell .pw-change-list{margin:10px 0}
  body.swiss-app.owner-shell .pw-change-list li{flex-direction:column;gap:4px;padding:9px 0;font-size:12px}
  body.swiss-app.owner-shell .pw-change-kind{min-width:0}
  body.swiss-app.owner-shell .pw-owner-details{margin-top:18px;padding-top:18px}
  body.swiss-app.owner-shell .pw-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
  body.swiss-app.owner-shell .pw-metric{padding:16px}
  body.swiss-app.owner-shell .pw-metric:first-child{grid-column:1/-1}
  body.swiss-app.owner-shell .pw-metric :is(h2,p){font-size:12px}
  body.swiss-app.owner-shell .pw-coverage{gap:16px}
  body.swiss-app.owner-shell .pw-coverage>div{min-width:0}
  body.swiss-app.owner-shell .pw-coverage dl{flex-wrap:wrap;gap:14px 22px}
  body.swiss-app.owner-shell .pw-coverage dt{font-size:12px}
  body.swiss-app.owner-shell .pw-coverage dd{font-size:23px}
  body.swiss-app.owner-shell .pw-actions li{gap:10px;flex-wrap:wrap}
  body.swiss-app.owner-shell .pw-actions li>div{flex:1 1 calc(100% - 42px)}
  body.swiss-app.owner-shell .pw-actions li>.pw-button{margin-left:39px}
  body.swiss-app.owner-shell .pw-actions li p{display:block!important;font-size:12px}
  body.swiss-app.owner-shell .pw-columns{grid-template-columns:minmax(0,1fr);gap:14px}
  body.swiss-app.owner-shell .pw-filters{align-items:stretch;flex-direction:column;gap:10px;margin-bottom:12px}
  body.swiss-app.owner-shell .pw-filters label{font-size:12px}
  body.swiss-app.owner-shell .pw-filters :is(input,select){width:100%;height:44px;min-width:0;font-size:16px}
  body.swiss-app.owner-shell .pw-tabs{gap:20px;overflow-x:auto;margin-top:18px}
  body.swiss-app.owner-shell .pw-tabs button{flex:none;font-size:13px}
  body.swiss-app.owner-shell .pw-table-scroll{overflow:visible;max-width:100%}
  body.swiss-app.owner-shell .pw-table{display:block;width:100%;min-width:0;font-size:13px}
  body.swiss-app.owner-shell .pw-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.swiss-app.owner-shell .pw-table tbody{display:block}
  body.swiss-app.owner-shell .pw-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:14px 0;border-bottom:1px solid var(--g-line)}
  body.swiss-app.owner-shell .pw-table td{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:auto;min-width:0;padding:0;border:0;overflow-wrap:anywhere;font-size:13px}
  body.swiss-app.owner-shell .pw-table td:first-child{grid-column:1/-1;width:auto}
  body.swiss-app.owner-shell .pw-table td[data-label]:not(:first-child)::before{content:attr(data-label);color:var(--g-muted);font-size:12px;line-height:1.4}
  body.swiss-app.owner-shell .pw-table strong{font-size:13px}
  body.swiss-app.owner-shell .pw-table :is(p,small,summary){font-size:12px;line-height:1.5}
  body.swiss-app.owner-shell .pw-table summary{padding:8px 0;min-height:36px}
  body.swiss-app.owner-shell .pw-url-cell{min-width:0;font-size:12px}
  body.swiss-app.owner-shell .pw-url{padding:10px 0;min-height:44px;font-size:12px}
  body.swiss-app.owner-shell .pw-badge{font-size:11px;white-space:normal}
  body.swiss-app.owner-shell .pw-ai-counts{gap:16px;flex-wrap:wrap}
  body.swiss-app.owner-shell .pw-ai-counts dt{font-size:12px}
  body.swiss-app.owner-shell .pw-ai-counts dd{font-size:23px}
  body.swiss-app.owner-shell .pw-method>div{gap:14px;flex-wrap:wrap}
  body.swiss-app.owner-shell .pw-method :is(dt,dd){font-size:12px}
  body.swiss-app.owner-shell .pw-settings-row{padding:14px 0;gap:14px}
  body.swiss-app.owner-shell .pw-settings-row h2{font-size:14px}
  body.swiss-app.workspace-active .journey-heading{gap:12px;margin-bottom:16px}
  body.swiss-app.workspace-active .journey-heading h2{font-size:24px}
  body.swiss-app.workspace-active .journey-other-actions .journey-grid{grid-template-columns:minmax(0,1fr)}
  body.swiss-app.workspace-active .journey-task{padding:16px}
  body.swiss-app.workspace-active .journey-task h3{font-size:19px}
  body.swiss-app.workspace-active .journey-task p{font-size:13px}
  body.swiss-app.workspace-active .journey-detail{padding:16px;margin:14px 0}
  body.swiss-app.workspace-active .journey-detail h3{font-size:20px;margin-bottom:18px}
  body.swiss-app.workspace-active .journey-self{padding:14px}
  body.swiss-app.workspace-active .journey-actions .btn{white-space:normal;text-align:center;min-height:44px;flex:1 1 150px}
  body.swiss-app.workspace-active #screen-radar .radar-head h2{font-size:26px}
  body.swiss-app.workspace-active #screen-radar .radar-head{gap:12px;margin-bottom:18px}
  html[data-app-boot] body.owner-shell #appEntry{inset:52px 0 0}
}
@media(max-width:360px){
  body.swiss-app.workspace-active>.wrap{padding-inline:10px}
  body.swiss-app.workspace-active .pw-nav-primary>button{font-size:10px}
  body.swiss-app.owner-shell .pw-tools-grid{grid-template-columns:minmax(0,1fr)}
}

/* Overview: one decision, readable evidence, then optional connected tools. */
body.swiss-app.owner-shell #screen-overview #journeyOverview{padding-bottom:12px}
body.swiss-app.owner-shell #journeyOverview .pw-heading{margin-bottom:20px}
body.swiss-app.owner-shell #journeyOverview .pw-owner-focus{border:1px solid #f1cabc;border-left:3px solid var(--g-accent);background:#fffaf7}
body.swiss-app.owner-shell #journeyOverview .pw-owner-focus .pw-badge{background:#f3eee9;color:#736358}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid{grid-template-columns:minmax(0,1fr);gap:0;margin:8px 0 0}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid>.pw-card{border:0;border-top:1px solid var(--g-line);border-radius:0!important;background:transparent;padding:20px 0}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid .pw-card-head{gap:8px;margin-bottom:8px;align-items:center}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid h2{font-size:14px;margin:0}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid h2 .pw-icon{width:18px;height:18px;color:#737d8b}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid h3{font-size:15px;line-height:1.45;font-weight:600;margin:10px 0 6px}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid p{font-size:13px;line-height:1.5;margin:6px 0}
body.swiss-app.owner-shell #journeyOverview .pw-return-grid time{font-size:11px;color:var(--g-muted);line-height:1.5}
body.swiss-app.owner-shell #journeyOverview .pw-return .pw-quiet-status{color:#4f5868;margin:6px 0 0}
.pw-context{font-size:12px;color:var(--g-muted);margin:4px 0 0}
.pw-context>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;font-size:12px;font-weight:500;min-height:36px;padding:6px 0;line-height:1.4;width:fit-content;max-width:100%}
.pw-context>summary::-webkit-details-marker{display:none}
.pw-context>summary::after{content:'+';font-size:17px;font-weight:400;line-height:1;margin-left:2px}
.pw-context[open]>summary::after{content:'−'}
.pw-context>p{max-width:76ch}
.pw-text-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;color:var(--g-accent-text);font-size:13px;font-weight:600;text-decoration:none;line-height:1.4;padding:7px 0}
.pw-text-link:hover{text-decoration:underline;text-underline-offset:3px}
.pw-text-link>.pw-icon{width:17px;height:17px}
body.swiss-app.owner-shell #journeyOverview .pw-owner-details{margin:0;padding:20px 0 0;border-top:1px solid var(--g-line)}
body.swiss-app.owner-shell #journeyOverview .pw-owner-details>h2{font-size:14px;font-weight:600;margin:0 0 6px}
body.swiss-app.owner-shell #journeyOverview .pw-tools-grid{display:block;margin:0}
.pw-tool-row{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:76px;margin:0;padding:14px 0;border:0;border-bottom:1px solid var(--g-line);background:transparent;text-align:left;font:inherit;color:var(--g-ink);cursor:pointer;border-radius:0}
.pw-tool-row:last-child{border-bottom:0}
.pw-tool-row:hover .pw-tool-copy strong{color:var(--g-accent-text)}
.pw-tool-icon{display:grid;place-items:center;width:36px;height:36px;background:#edf0f4;border-radius:10px;color:#657185}
.pw-tool-copy{min-width:0}
.pw-tool-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.4}
.pw-tool-copy small{display:block;font-size:12px;line-height:1.45;color:var(--g-muted);margin-top:3px;overflow-wrap:anywhere}
.pw-tool-row>.pw-icon{width:18px;height:18px;color:#7c8594}
body.swiss-app.owner-shell #journeyOverview .pw-tools-grid .pw-ai-counts{padding:0 0 16px 48px;border-bottom:1px solid var(--g-line);gap:24px}
body.swiss-app.owner-shell #journeyOverview .pw-tools-grid .pw-ai-counts dd{font-size:20px}
body.swiss-app.owner-shell :is(.pw-tool-row,.pw-text-link,.pw-context>summary):focus-visible{outline:3px solid #a6371a;outline-offset:3px}
body.swiss-app.workspace-active>footer{margin-top:8px!important;padding:18px 24px!important;font-size:11px!important;border-color:var(--g-line)!important}
body.swiss-app.workspace-active>footer>div:first-child{flex-wrap:wrap!important;gap:8px 16px!important}

/* A request in progress is indeterminate; technical results arrive together. */
body.swiss-app.owner-shell #screen-scan .scan{grid-template-columns:minmax(0,1fr);grid-template-areas:'kicker' 'title' 'sub' 'signal' 'progress' 'steps' 'note';max-width:560px;min-height:0;margin:0 auto;padding:46px 0 28px;gap:0}
body.swiss-app.owner-shell #screen-scan .scan-kicker{font-size:11px;letter-spacing:.06em;margin-bottom:12px}
body.swiss-app.owner-shell #screen-scan .scan h2{font-family:var(--body,sans-serif);font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.025em}
body.swiss-app.owner-shell #screen-scan #scanDom{display:block;color:var(--g-ink)!important;margin-top:4px}
body.swiss-app.owner-shell #screen-scan .scan .sub{font-size:14px;line-height:1.55;margin:12px 0 0;max-width:42ch}
body.swiss-app.owner-shell #screen-scan .scan-signal-wrap{width:140px;height:140px;justify-self:center;margin:24px 0}
body.swiss-app.owner-shell #screen-scan .scan-signal-wrap>.glowl-signal{width:54px;height:54px}
body.swiss-app.owner-shell #screen-scan .pbar{height:3px;margin:0 0 24px;background:#e5e9ef;border-radius:3px;overflow:hidden}
body.swiss-app.owner-shell #screen-scan .pbar>i{width:35%;background:var(--g-accent);animation:pw-scan-pending 1.7s ease-in-out infinite;transition:none}
body.swiss-app.owner-shell #screen-scan .pbar>i::after{display:none}
body.swiss-app.owner-shell #screen-scan .steps{display:grid;gap:0;border:1px solid var(--g-line);border-radius:12px;background:#fff;padding:2px 16px;margin:0}
body.swiss-app.owner-shell #screen-scan .step{grid-template-columns:18px minmax(0,1fr);font-size:13px;color:#5a6474;gap:10px;min-height:44px;padding:10px 0}
body.swiss-app.owner-shell #screen-scan .step:last-child{border:0}
body.swiss-app.owner-shell #screen-scan .step>i:first-child{width:18px;height:18px;background:transparent;border:0;color:#8a93a0;display:grid;place-items:center;font-size:17px;font-style:normal;box-shadow:none}
body.swiss-app.owner-shell #screen-scan .step>i:first-child::after{content:'·';position:static;width:auto;height:auto;background:none;transform:none;font-size:20px;border:0;animation:none}
body.swiss-app.owner-shell #screen-scan .scan-note{grid-area:note;font-size:12px;line-height:1.5;color:var(--g-muted);margin:14px 0 0}
body.swiss-app.owner-shell[data-workspace-view=scan]{padding-bottom:0!important}
body.swiss-app.owner-shell[data-workspace-view=scan] #chatFab{display:none!important}
@keyframes pw-scan-pending{0%{transform:translateX(-110%)}100%{transform:translateX(390%)}}
@media(max-width:760px){
  body.swiss-app.owner-shell #journeyOverview .pw-heading{margin-bottom:14px}
  body.swiss-app.owner-shell #journeyOverview .pw-snapshot-footer .pw-button{background:transparent;border:0;color:var(--g-accent-text);padding:8px 0 8px 8px}
  body.swiss-app.owner-shell #journeyOverview .pw-saved-findings{padding:12px 16px}
  body.swiss-app.owner-shell #journeyOverview .pw-saved-findings .pw-card-head>.pw-button{font-size:12px;min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--g-accent-text)}
  body.swiss-app.owner-shell #journeyOverview .pw-return-grid>.pw-card{padding:16px 0}
  body.swiss-app.owner-shell #journeyOverview .pw-owner-details{padding-top:16px}
  body.swiss-app.owner-shell #journeyOverview .pw-status-item{min-height:48px;padding:4px 2px}
  body.swiss-app.owner-shell #journeyOverview .pw-status-item strong{font-size:20px;line-height:1.2}
  body.swiss-app.owner-shell #journeyOverview .pw-status-item span{font-size:11px;line-height:1.35}
  body.swiss-app.owner-shell #journeyOverview .pw-owner-focus h2{font-size:19px}
  body.swiss-app.owner-shell #journeyOverview .pw-owner-focus .pw-focus-role{font-size:11px}
  body.swiss-app.owner-shell #journeyOverview .pw-owner-focus .pw-button{padding:10px 16px}
  body.swiss-app.owner-shell .pw-tool-row{min-height:72px;gap:10px}
  body.swiss-app.workspace-active>footer{margin-top:0!important;padding:16px 14px!important}
  body.swiss-app.owner-shell #screen-scan .scan{padding:28px 0 16px}
  body.swiss-app.owner-shell #screen-scan .scan h2{font-size:26px}
  body.swiss-app.owner-shell #screen-scan .scan-signal-wrap{width:124px;height:124px;margin:20px 0}
}
@media(prefers-reduced-motion:reduce){body.swiss-app.owner-shell #screen-scan .pbar>i{animation:none;transform:translateX(90%)}}

/* Keep the result, its state and the evidence together on a phone. */
.pw-check-mobile-status,.pw-check-table .pw-check-mobile-scope{display:none}
@media(max-width:760px){
  body.swiss-app.owner-shell #workspaceAudit .pw-finding-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 16px}
  body.swiss-app.owner-shell #workspaceAudit .pw-finding-summary>span{padding:9px 10px;border-radius:10px;font-size:11px;line-height:1.4;background:#fff;border:1px solid var(--g-line)}
  body.swiss-app.owner-shell #workspaceAudit .pw-finding-summary b{display:block;font-size:21px;line-height:1.2;margin-top:4px;color:var(--g-ink)}
  body.swiss-app.owner-shell .pw-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.8fr);gap:8px}
  body.swiss-app.owner-shell .pw-filters label{min-width:0;margin:0}
  body.swiss-app.owner-shell .pw-filters label:only-child{grid-column:1/-1}
  body.swiss-app.owner-shell .pw-filter-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.swiss-app.owner-shell .pw-filters :is(input,select){margin:0;border-radius:10px;padding-inline:10px}
  body.swiss-app.owner-shell .pw-check-table tr{display:block;padding:14px 0}
  body.swiss-app.owner-shell .pw-check-table tr:first-child{padding-top:4px}
  body.swiss-app.owner-shell .pw-check-table td:first-child{display:block}
  body.swiss-app.owner-shell .pw-check-table :is(.pw-check-status,.pw-check-count){display:none}
  body.swiss-app.owner-shell .pw-check-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%}
  body.swiss-app.owner-shell .pw-check-head>strong{min-width:0;font-size:14px;line-height:1.4}
  body.swiss-app.owner-shell .pw-check-mobile-status{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;gap:4px;max-width:40%}
  body.swiss-app.owner-shell .pw-check-mobile-status .pw-badge{padding:3px 7px;font-size:10px;line-height:1.4}
  body.swiss-app.owner-shell .pw-check-table td>p{margin:6px 0 0}
  body.swiss-app.owner-shell .pw-check-table .pw-check-mobile-scope{display:block;margin-top:4px}
  body.swiss-app.owner-shell .pw-check-table details{width:100%;margin-top:2px}
  body.swiss-app.owner-shell .pw-check-table summary{width:fit-content;min-height:44px;padding:12px 0;color:var(--g-accent-text);font-weight:600;cursor:pointer}
  body.swiss-app.owner-shell .pw-check-table .pw-url{display:block;width:100%;text-align:left;overflow-wrap:anywhere}

  body.swiss-app.owner-shell #view-ai .aiv-setup-card{padding:16px}
  body.swiss-app.owner-shell #view-ai .aiv-title{font-size:23px;line-height:1.2}
  body.swiss-app.owner-shell #view-ai .aiv-intro-head{margin-bottom:10px}
  body.swiss-app.owner-shell #view-ai .aiv-providers{display:flex;margin-top:10px;gap:6px}
  body.swiss-app.owner-shell #view-ai #aivEmpty{display:none!important}
  body.swiss-app.owner-shell #view-ai .aiv-setup-summary{margin:12px 0 10px;padding:9px 11px;font-size:12px;border:0;border-radius:8px;background:#f0f2f6}
  body.swiss-app.owner-shell #view-ai .aiv-setup-details{margin:16px 0 0;border:0;border-top:1px solid var(--g-line);border-radius:0;background:transparent}
  body.swiss-app.owner-shell #view-ai .aiv-setup-details>summary{padding:10px 0;min-height:44px;background:transparent;border:0}
  body.swiss-app.owner-shell #view-ai .aiv-setup-fields{padding:0}
  body.swiss-app.owner-shell #view-ai #aivContext{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0!important;border:0!important;gap:10px!important}
  body.swiss-app.owner-shell #view-ai #aivContext>label{display:flex;flex-direction:column;justify-content:space-between;min-width:0;font-size:11px;line-height:1.4}
  body.swiss-app.owner-shell #view-ai #aivContext .finp{width:100%;min-width:0;min-height:44px;padding:8px;font-size:16px;border-radius:8px}
  body.swiss-app.owner-shell #view-ai #aivContext>button{grid-column:1/-1;justify-self:start;min-height:44px;padding:8px 14px;background:#fff!important;color:var(--g-accent-text)!important;border:1px solid var(--g-line)!important;font-size:12px}
  body.swiss-app.owner-shell #view-ai #aivContext>button:hover{background:#f0f2f6!important}
}
