/* Screenshot reference: Polaris manual, template centre, task creation and 360 questionnaire. */
.pw-app{--pw-blue:#3d87f5;--pw-ink:#30343b;--pw-line:#edf0f3;display:grid;grid-template-columns:58px 178px minmax(0,1fr);font:13px/1.55 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;min-height:calc(100vh - 125px);color:var(--pw-ink);border:1px solid #e8ebef;border-radius:6px;overflow:hidden;background:#f4f5f7}
.pw-app *{box-sizing:border-box}.pw-rail{background:var(--pw-blue);color:#e6f0ff;display:flex;flex-direction:column;align-items:stretch}.pw-logo{height:64px;display:grid;place-items:center;font-size:25px;font-weight:700;letter-spacing:-2px;color:#fff}.pw-rail>button{border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;gap:3px;padding:13px 4px;cursor:pointer;font:inherit}.pw-rail>button svg{width:23px;height:23px}.pw-rail>button:hover,.pw-rail>button.active{background:#2c70ce;color:white}.pw-rail-bottom{margin-top:auto;text-align:center;font-size:10px;line-height:1.6;padding:20px 0;opacity:.72;letter-spacing:2px}
.pw-secondary{background:#fff;border-right:1px solid #e8ebef;padding-bottom:24px}.pw-app-name{height:60px;padding:19px 18px;font-size:17px;font-weight:600;border-bottom:1px solid var(--pw-line);color:#6b7079}.pw-secondary section{padding:13px 0 0}.pw-secondary h3{padding:0 16px;margin:0 0 4px;font-size:13px;font-weight:550;line-height:32px}.pw-secondary section>button{width:100%;border:0;background:transparent;padding:9px 12px 9px 30px;text-align:left;font:inherit;color:#5a606a;cursor:pointer}.pw-secondary button.active{background:#e9f3ff;color:#3478d3;font-weight:600}.pw-secondary button:hover{background:#f1f6fd}.pw-main{padding:0;background:#f5f6f8;min-width:0}.pw-main>.pp-content{min-height:100%;padding:0 20px 24px}.pw-main>.pp-notice{margin:12px 20px 0}.pw-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:64px;background:#fff;margin:0 -20px 18px;padding:14px 20px;border-bottom:1px solid #e9edf2}.pw-page-heading h2{font-size:17px;margin:0;font-weight:600}.pw-page-heading small{font-size:12px;color:#9298a2}.pw-heading-actions{display:flex;gap:8px;align-items:center}.pw-app .pp-button{padding:5px 12px;font-size:12px;border-radius:4px;line-height:1.6;border-color:#dce2e9;color:#596374}.pw-app .pp-button.is-primary{background:var(--pw-blue);color:white;border-color:var(--pw-blue)}.pw-app .pp-button.is-link{padding:3px 5px;color:#4b8bdf;border-color:transparent;background:transparent}.pw-app .pp-table-scroll{border:1px solid #edf0f3;border-radius:3px}.pw-app th{background:#f8f9fb;color:#949ba6;font-size:12px;font-weight:400;position:static}.pw-app td,.pw-app th{padding:11px 10px;vertical-align:middle;border-bottom:1px solid #f1f3f6}.pw-app td{font-size:12px;color:#555c68}.pw-app tbody tr:hover{background:#f8fbff}.pw-app input[type=checkbox],.pw-app input[type=radio]{accent-color:var(--pw-blue);width:14px;height:14px;vertical-align:middle}.pw-app .pp-pager{background:#fff;padding:12px 15px;margin:0;border:1px solid #edf0f3;border-top:0;color:#9199a6;font-size:12px}.pw-app .pp-pager button{padding:3px 10px}
.pw-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;background:#fff;border:1px solid #edf0f3;border-bottom:0;color:#949ca6;font-size:12px}.pw-search{display:flex;gap:6px;margin:0}.pw-search input{max-width:240px;width:100%}.pw-tabs{display:flex;gap:25px;border-bottom:1px solid #e8edf3;background:#fff;align-items:center;min-height:44px;padding:0 14px}.pw-tabs .pp-button{border:0;border-radius:0;background:transparent;padding:13px 0;color:#8d949e;font-size:13px;position:relative}.pw-tabs .pp-button.active{color:#3d87f5}.pw-tabs .pp-button.active:after{content:'';height:3px;background:#3d87f5;position:absolute;bottom:-1px;left:0;right:0;border-radius:3px}.pw-phase-tabs{display:flex;gap:1px;flex-wrap:wrap}.pw-phase-tabs .pp-button{border:0;background:none;color:#929ba8;padding:4px 6px}.pw-phase-tabs .active{color:#3d87f5}.pw-card{background:#fff;border:1px solid #eef0f4;border-radius:5px;margin-bottom:18px;padding:20px}.pw-card>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.pw-card h3{font-size:14px;font-weight:600;margin:0}.pw-card header h3:before,.pw-section-title:before{content:'';display:inline-block;height:13px;width:3px;background:#3d87f5;margin-right:8px;vertical-align:-2px}.pw-count{display:inline-block;background:#f1f5ff;padding:0 7px;border-radius:12px;color:#4385dd;font-size:11px;margin-left:5px}.pw-todo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.pw-todo-grid>button{display:flex;flex-direction:column;align-items:center;gap:9px;border:0;background:#fff;padding:15px 5px;cursor:pointer;border-right:1px solid #edf0f3;font:inherit;color:#798495}.pw-todo-grid>button:last-child{border-right:0}.pw-todo-grid strong{font-size:26px;color:#3d87f5;font-weight:500}.pw-todo-grid>button:hover{background:#f6faff}.pw-home-grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(210px,1fr);gap:18px}.pw-home-grid .pw-card{min-width:0}.pw-team-summary{display:flex;flex-direction:column;align-items:center;gap:15px;padding:20px 0}.pw-team-summary strong{font-size:38px;font-weight:500;color:#4687dc}.pw-team-summary span,.pw-muted{color:#99a1ad;font-size:12px}.pw-empty{text-align:center;padding:45px 20px;color:#a3aab5}.pw-empty svg{width:65px;height:48px;stroke:#d2dce9;fill:#f5f8fc;stroke-width:2}.pw-empty p{margin:10px 0 5px;font-size:12px}.pw-empty small{font-size:11px;color:#b0b7c1}.pw-status{font-size:11px;white-space:nowrap;color:#8f99a7;display:inline-flex;align-items:center;gap:5px}.pw-status i{width:5px;height:5px;border-radius:50%;background:#b6bdc8}.pw-status.running{color:#4e85ce}.pw-status.running i{background:#5b9aef}.pw-status.success{color:#4b9c83}.pw-status.success i{background:#69b69a}.pw-status.danger,.pw-danger{color:#e0847f}.pw-status.danger i{background:#e5877c}.pw-batch{padding:9px 12px;background:#fff;display:flex;gap:10px;align-items:center;border:1px solid var(--pw-line);border-top:0;font-size:12px;color:#9199a6}.pw-batch label{margin-right:8px}.pw-workbench-heading{display:flex;align-items:center;gap:12px;background:white;padding:8px 12px;margin:0 -20px 18px;border-bottom:1px solid #e7ebf0;min-height:56px;flex-wrap:wrap}.pw-workbench-heading>strong{font-size:14px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-workbench-heading>.pw-tabs{margin:auto;border:0;min-height:40px;gap:25px}.pw-workbench-heading>div:last-child{display:flex;gap:8px;margin-left:auto}.pw-workbench-heading .pw-tabs .pp-button{padding:11px 0}.pw-library{display:grid;grid-template-columns:180px minmax(0,1fr);border:1px solid #edf0f3;background:#fff;min-height:500px}.pw-library:has(>section:only-child){grid-template-columns:1fr}.pw-library>section{min-width:0}.pw-categories{border-right:1px solid #edf0f3;padding:8px 0}.pw-categories header{display:flex;justify-content:space-between;align-items:center;padding:7px 14px;color:#939ba6;font-size:12px}.pw-categories>.pp-button{display:block;width:100%;text-align:left;border:0;background:none;border-radius:0;padding:10px 18px;color:#6e7786}.pw-categories>.active{background:#3d87f5;color:white}.pw-categories small{padding:12px;display:block;color:#9da7b5}.pw-library .pw-toolbar,.pw-library .pp-table-scroll,.pw-library .pp-pager{border-left:0;border-right:0}.pw-information{display:grid;grid-template-columns:120px minmax(0,1fr);gap:15px 12px;font-size:12px;margin:18px 0}.pw-information dt{color:#959ca8;padding:2px 0}.pw-information dd{margin:0;color:#626d7c}.pw-information dd>span{color:#a3aab4;font-size:11px;margin-left:6px}.pw-evaluators{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#f7f9fc;padding:12px}.pw-evaluators>span{font-size:12px}.pw-evaluators small{font-size:10px;color:#919dac}.pw-arrow{color:#b5bfcb;padding:0 3px}.pw-note{font-size:11px;line-height:1.8;color:#9ca6b3;background:#f8fafc;padding:10px 12px;margin:10px 0}.pw-dimension{border:1px solid #edf0f3;border-radius:4px;margin:15px 0;overflow:hidden}.pw-dimension>header{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;background:#f8fafc}.pw-dimension header strong{font-size:12px;font-weight:500}.pw-dimension header span{color:#a1aab6;font-size:11px}.pw-dimension>footer{padding:9px 15px;border-top:1px solid #f0f3f7}.pw-dimension-special{padding:30px;display:flex;align-items:center;justify-content:center;gap:12px}.pw-survey-symbol{font-size:22px;color:#86b3f0}.pw-settings-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:15px}.pw-settings-layout>aside{background:#fff;padding:10px 5px}.pw-settings-layout>aside button{display:block;width:100%;text-align:left;border:0;padding:12px;background:transparent}.pw-settings-layout>aside button.active{background:#edf4ff;color:#3d87f5}.pw-flow-summary{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid #f1f3f6}.pw-flow-summary>div{flex:1;background:#f7f9fc;padding:10px 12px}.pw-flow-summary h4{margin:0;font-size:12px;font-weight:600}.pw-flow-summary p,.pw-flow-summary small{font-size:11px;color:#98a1ae;margin:6px 0 0}.pw-flow-dot{border:1px solid #bad1ef;color:#73a1dd;border-radius:50%;width:20px;height:20px;text-align:center;font-size:12px;line-height:18px;margin-top:9px}.pw-stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:18px}.pw-stat-cards section{border:1px solid #edf0f3;background:#fff;padding:18px;border-radius:4px;display:flex;flex-direction:column;gap:10px}.pw-stat-cards span{color:#9ba3ae;font-size:12px}.pw-stat-cards strong{font-size:27px;font-weight:500;color:#5386c9}.pw-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pw-bars{padding:20px 5px}.pw-bars>div{display:flex;gap:15px;align-items:center;margin:20px 0}.pw-bars span{min-width:25px;color:#939eac}.pw-bars i{height:16px;flex:1;background:linear-gradient(to right,#71a3eb var(--bar),#f3f6fb var(--bar));border-radius:2px}.pw-bars b{font-size:12px;font-weight:400;color:#8d99a8;width:25px}.pw-builder-basic{max-width:850px;margin:20px auto;padding:30px 40px}.pw-builder-basic form{display:grid;grid-template-columns:1fr;gap:18px;max-width:650px;margin:20px auto}.pw-builder-basic .pp-field{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:start;color:#8f98a6;font-size:12px}.pw-builder-basic .pp-reference{display:block}.pw-builder-basic .pp-reference>label{display:inline-block;width:160px}.pw-builder-basic .pp-reference>.pp-ref-open{min-width:260px;text-align:left}.pw-flow-builder{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px;max-width:1100px;margin:20px auto}.pw-flow-builder>aside{padding:20px;background:#f0f2f6}.pw-flow-builder>aside h3{font-size:12px;color:#9ca6b3;font-weight:400;margin:0 0 20px}.pw-flow-builder>aside>button{display:flex;text-align:left;align-items:flex-start;gap:10px;border:1px solid #e4eaf2;border-radius:5px;background:white;padding:15px 13px;font:inherit;font-size:12px;width:100%;margin-bottom:20px;cursor:pointer;position:relative;box-shadow:0 3px 8px #172b4d06}.pw-flow-builder>aside>button:after{content:'';position:absolute;bottom:-21px;left:28px;height:20px;border-left:2px solid #dce6f5}.pw-flow-builder>aside>button:last-child:after{display:none}.pw-flow-builder>aside>button.active{border-color:#5c9af0;background:#f3f8ff}.pw-flow-builder>aside>button.disabled-node{opacity:.5}.pw-flow-builder>aside i{font-style:normal;color:#91b5e3}.pw-flow-builder>aside small{display:block;color:#a6afba;font-size:10px;margin-top:5px}.pw-flow-config{padding:17px 20px}.pw-flow-config.selected{border-color:#81abe5;box-shadow:0 0 0 1px #eaf2fe}.pw-switch-label{font-size:11px;color:#929eab}.pw-rule-fields{display:flex;flex-wrap:wrap;gap:13px 20px;padding:13px;background:#f9fafc;font-size:11px;color:#98a2af}.pw-rule-fields label{display:flex;gap:7px;align-items:center}.pw-rule-fields input[type=number]{width:65px}.pw-question-builder{display:grid;grid-template-columns:120px minmax(0,1fr) 205px;gap:15px}.pw-question-builder>aside{padding:14px 10px;background:#fff;align-self:start;border:1px solid #edf0f3}.pw-question-builder aside h3{font-size:12px;font-weight:500;margin:0 0 12px;color:#8d99a6}.pw-question-builder>aside>button{display:block;width:100%;padding:8px 5px;margin:8px 0;background:#fff;border:1px solid #e5eaf0;border-radius:3px;font:inherit;font-size:11px;cursor:pointer;color:#768291}.pw-question-canvas{min-width:0}.pw-question-canvas>header{display:flex;justify-content:space-between;background:#fff;border:1px solid #edf0f3;padding:12px 15px;margin-bottom:12px;font-size:12px}.pw-question-canvas>header>span{font-size:11px;color:#9da6b3}.pw-question-card{background:#fff;border:1px solid #edf0f3;border-radius:5px;margin-bottom:13px;padding:18px 20px}.pw-question-card:hover,.pw-question-card.active{border-color:#85afe7}.pw-question-card header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.pw-question-card h3{font-size:12px;font-weight:500;margin:0}.pw-question-card p{color:#acb4bf;font-size:11px}.pw-question-card em{color:#e18e87;font-style:normal}.pw-question-card textarea{width:100%;min-height:60px;background:#f6f8fb}.pw-question-option{display:flex;align-items:center;gap:8px;font-size:12px;color:#8693a3;padding:8px 0}.pw-question-option small{color:#739fd6;font-size:10px}.pw-question-card footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #f0f3f7;padding-top:8px;margin-top:12px;color:#a9b2bf;font-size:10px}.pw-question-help p{font-size:11px;color:#9ba7b5;line-height:1.9}.pw-stars{font-size:28px;color:#c4d3e7;padding:15px 0;letter-spacing:4px}.pw-scale{display:flex;gap:15px;align-items:center;padding:20px 0;color:#a2aebb}.pw-scale i{height:6px;background:#d5e2f4;border-radius:3px;flex:1}.pw-questionnaire-basic{max-width:700px;margin:30px auto;min-height:370px}.pw-preferences article{display:flex;justify-content:space-between;gap:25px;padding:20px 0;border-bottom:1px solid #eff2f6;align-items:center}.pw-preferences article:last-child{border:0}.pw-preferences h3{font-size:13px;font-weight:500}.pw-preferences p{font-size:12px;color:#9da7b5;margin:7px 0}.pw-toggle{border:0;background:#cbd2dd;width:35px;height:19px;border-radius:20px;padding:2px;cursor:pointer;flex-shrink:0}.pw-toggle i{display:block;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .12s}.pw-toggle.on{background:#4e92f1}.pw-toggle.on i{transform:translateX(16px)}.pw-field-settings{grid-column:1/-1;width:100%}.pw-field-settings>label{display:flex;align-items:center;gap:12px;font-size:11px;color:#8f9bab;padding:13px 0;border-bottom:1px solid #edf0f3}.pw-field-settings span{flex:1;color:#5c6b7b}.pw-field-settings input[type=number]{width:55px}.pw-app .pw-drawer{position:fixed;right:0;top:0;bottom:0;max-height:100vh;width:min(580px,95vw);border-radius:0}
@media(max-width:1200px){.pw-app{grid-template-columns:52px 150px minmax(0,1fr)}.pw-secondary section>button{padding-left:22px}.pw-main>.pp-content{padding-left:14px;padding-right:14px}.pw-page-heading,.pw-workbench-heading{margin-left:-14px;margin-right:-14px}.pw-question-builder{grid-template-columns:100px minmax(0,1fr)}.pw-question-help{display:none}.pw-home-grid{grid-template-columns:1fr}.pw-workbench-heading>.pw-tabs{order:3;width:100%;justify-content:center}}
@media(max-width:800px){.pw-app{grid-template-columns:48px minmax(0,1fr)}.pw-secondary{display:none}.pw-todo-grid{grid-template-columns:repeat(3,1fr)}.pw-library{grid-template-columns:125px minmax(0,1fr)}.pw-home-grid,.pw-report-grid{grid-template-columns:1fr}.pw-stat-cards{grid-template-columns:repeat(2,1fr)}.pw-flow-builder{grid-template-columns:145px minmax(0,1fr);gap:10px}.pw-flow-builder>aside{padding:10px}.pw-builder-basic{padding:20px}.pw-builder-basic .pp-field{grid-template-columns:1fr}.pw-settings-layout{grid-template-columns:1fr}.pw-settings-layout>aside{display:none}.pw-main .pp-header{padding:12px}.pw-information{grid-template-columns:90px minmax(0,1fr)}.pw-page-heading{flex-wrap:wrap}.pw-app table{min-width:550px}}
@media(max-width:500px){.pw-todo-grid{grid-template-columns:repeat(2,1fr)}.pw-library{display:block}.pw-categories{display:flex;overflow:auto;border-bottom:1px solid #edf0f3}.pw-categories header,.pw-categories small{display:none}.pw-categories>.pp-button{width:auto;white-space:nowrap}.pw-question-builder{display:block}.pw-question-builder>aside{display:flex;gap:6px;overflow:auto;margin-bottom:12px}.pw-question-builder>aside h3{display:none}.pw-question-builder>aside>button{white-space:nowrap;width:auto}.pw-flow-builder{display:block}.pw-flow-builder>aside{display:none}.pw-tabs{gap:16px;overflow:auto}.pw-toolbar{align-items:stretch}.pw-search{width:100%}.pw-card{padding:14px}}
.pw-app{position:relative}.pw-fullpage-overlay{position:absolute!important;inset:0 0 0 236px!important;z-index:50;background:#f7f8fa!important;padding:0!important;align-items:stretch!important}.pw-fullpage-overlay .pp-dialog{width:100%;max-width:none;max-height:100%;height:100%;border-radius:0;box-shadow:none;display:flex;flex-direction:column}.pw-fullpage-overlay .pp-dialog>form{flex:1;overflow:auto}.pw-fullpage-overlay .pp-form-body{max-width:940px;margin:24px auto;background:white;padding:28px}.pw-fullpage-overlay .pp-dialog footer{position:sticky;bottom:0;background:white;border-top:1px solid #eceef2}.pw-question-dimensions{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #e7eaf0;padding:10px;background:#fff}.pw-question-dimensions .active{color:#3585f6;border-bottom:2px solid #3585f6}.pw-question-help .pp-field{margin:14px 0;font-size:12px}.pw-question-help textarea{min-height:64px}.pw-question-help input,.pw-question-help select,.pw-question-help textarea{max-width:100%;box-sizing:border-box}.pw-setting-error{color:#d84f51}.pw-question-card[draggable=true]{cursor:grab}.pw-question-card header h3{flex:1}.pw-question-card header button{font-size:11px;padding:4px}.pw-grade-estimate{color:#3487fa}
@media(max-width:800px){.pw-fullpage-overlay{left:58px!important}.pw-secondary{display:block!important;width:160px}.pw-app{grid-template-columns:58px 160px minmax(0,1fr)}.pw-question-builder{grid-template-columns:100px minmax(260px,1fr)}.pw-question-help{grid-column:1/-1}.pw-secondary button{font-size:12px;padding:10px}.pw-app-name{font-size:14px}.pw-fullpage-overlay{left:218px!important}}
.pw-app.pw-editor-shell{grid-template-columns:minmax(0,1fr)}.pw-editor-shell>.pw-rail,.pw-editor-shell>.pw-secondary{display:none!important}.pw-editor-shell .pw-main{grid-column:1}.pw-editor-shell .pp-content{padding:0 16px 24px}.pw-editor-heading{margin:0 -16px 12px;justify-content:space-between;height:46px;min-height:46px;padding:0 16px}.pw-template-settings,.pw-template-dimensions{border-radius:7px;margin:16px 0}.pw-template-settings header h3:before,.pw-template-dimensions>header h3:before{content:'';display:inline-block;width:3px;height:13px;background:#408cff;margin-right:7px;vertical-align:-1px}.pw-template-base{padding:8px 8px 16px}.pw-template-base>label,.pw-base-category,.pw-base-line{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:13px}.pw-template-base>label>span,.pw-base-category>span,.pw-base-line>span{width:74px;flex-shrink:0;text-align:right;color:#555}.pw-template-base input,.pw-template-base textarea{flex:1;min-width:0;border:1px solid #e9ecf0;border-radius:4px;padding:9px 12px;font:inherit;background:#fff}.pw-app .pw-template-base textarea{height:auto;min-height:132px;max-height:360px;field-sizing:content;line-height:1.65;resize:vertical;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box}
.pw-template-base>label:has(>textarea){align-items:flex-start}
.pw-template-base>label:has(>textarea)>span{padding-top:9px}.pw-base-category>.pp-field{flex:1;margin:0}.pw-base-category>.pp-field>label{display:none}.pw-base-category .pp-ref-open{width:100%;text-align:left;font-weight:normal;padding:8px 12px}.pw-base-line>div{flex:1}.pw-flow-line{padding:14px 0;background:#f7f9fb;min-height:54px}.pw-template-footer{padding:16px;border-top:1px solid #edf0f4;display:flex;justify-content:flex-end}.pw-dimension>footer{justify-content:center;padding:8px 0 20px}.pw-dimension .pw-empty{min-height:90px;padding:28px 0 10px}.pw-dimension .pw-empty svg{display:none}.pw-fullpage-overlay{left:0!important}
.pw-setting-toggle{display:flex;justify-content:space-between;align-items:center;color:#666;font-size:12px;margin:16px 0}.pw-setting-toggle input{appearance:none;width:34px;height:18px;background:#e7e8eb;border-radius:12px;border:0;position:relative;cursor:pointer}.pw-setting-toggle input:before{content:'';display:block;width:14px;height:14px;background:white;border-radius:50%;position:absolute;left:2px;top:2px;transition:transform .12s}.pw-setting-toggle input:checked{background:#368afa}.pw-setting-toggle input:checked:before{transform:translateX(16px)}.pw-editor-shell .pw-question-builder{height:calc(100vh - 105px);grid-template-columns:110px minmax(0,1fr) 280px;gap:0;margin:0 -16px}.pw-question-builder>aside:first-child{border-right:1px solid #e9ebef;padding:12px}.pw-question-canvas{background:#f2f3f5;padding:0 12px 24px;overflow:auto}.pw-question-help{border-left:1px solid #e9ebef;padding:18px;background:white;overflow:auto}.pw-question-card{border-radius:5px;box-shadow:none;margin:10px 0;border:1px solid transparent}.pw-question-card.active{border-color:#488ff8}.pw-question-builder>aside:first-child button{border:1px solid #e7e9ef;background:#fff;border-radius:5px;width:100%;height:30px;font-size:12px;margin:8px 0}.pw-question-card header{padding-bottom:0}.pw-question-card>p{color:#b0b3b8;font-size:12px}.pw-question-card footer{padding-top:10px;color:#9298a2;font-size:11px}
.pw-inline-title{border:1px solid transparent;background:transparent;font:inherit;padding:5px;min-width:200px;width:90%;outline:none}.pw-inline-title:focus{border-color:#83b8ff;background:white}.pw-inline-description{font:inherit!important;font-size:12px!important;color:#89919d;resize:vertical;border:1px solid transparent!important;background:transparent!important;width:95%;height:40px;min-height:40px!important;outline:none}.pw-inline-description:focus{border-color:#83b8ff!important;background:white!important}.pw-scale-labels{display:flex;justify-content:space-between;font-size:11px;color:#9da4b0;margin:5px 0 10px}.pw-question-card select{border:1px solid #e7eaf0;padding:6px;width:80%;background:white}.pw-scale{display:flex;gap:5px}.pw-scale>span{border:1px solid #dce2e9;padding:7px 12px;background:white;color:#78808c}
.pw-answer-scale{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.pw-answer-scale label{cursor:pointer}.pw-answer-scale input{position:absolute;opacity:0}.pw-answer-scale span{display:block;border:1px solid #dde4ef;border-radius:4px;padding:9px 14px;color:#7a8492}.pw-answer-scale input:checked+span{background:#e9f2ff;border-color:#388aff;color:#388aff}.pw-answer-scale input:focus-visible+span{outline:2px solid #388aff}
.pw-template-base label,.pw-template-base input,.pw-template-base textarea{font-weight:400!important}.pw-template-settings{padding:18px 20px 12px}.pw-template-settings>header{margin-bottom:8px}.pw-template-base{padding-top:0}.pw-row-more{display:inline-block;position:relative;color:#4b8bdf;font-size:12px}.pw-row-more summary{cursor:pointer;list-style:none;padding:3px 5px}.pw-row-more>div{position:absolute;right:0;top:100%;min-width:92px;z-index:20;display:flex;flex-direction:column;background:white;box-shadow:0 3px 14px #24334d24;border:1px solid #e8edf3;padding:4px;border-radius:4px}.pw-row-more>div .pp-button{text-align:left}.pw-app .pp-table-scroll:has(.pw-row-more[open]){overflow:visible}
.pw-app .pw-setting-toggle input{width:34px;height:18px;max-width:34px;flex-shrink:0;margin:0}.pw-question-help label{font-weight:400!important}.pw-question-help .pp-field{display:flex;justify-content:space-between;align-items:center;gap:10px}.pw-question-help .pp-field>input,.pw-question-help .pp-field>select{width:132px;font-size:12px;font-weight:400;padding:5px 7px}.pw-inline-title,.pw-inline-description{font-weight:400!important;min-height:unset!important}.pw-question-card{padding:15px 20px!important}.pw-question-card h3{font-size:12px!important;font-weight:400!important}.pw-question-card header{margin-bottom:12px!important}.pw-question-card .pw-stars{font-size:21px;letter-spacing:0;color:#d9dce1;margin:10px 0}.pw-question-card .pw-question-option{margin:12px 0;font-size:12px}.pw-question-totals{text-align:right;color:#9298a3;font-size:11px;padding:6px 12px;background:white}.pw-question-group{display:flex;gap:8px;font-size:12px;padding:10px 4px!important;margin:0!important;align-items:center}.pw-question-group strong{border-left:3px solid #3f8efb;padding-left:7px;font-weight:500}.pw-question-group small{color:#9198a5;font-size:11px}.pw-option-actions{margin-top:5px}.pw-question-card>p{margin:8px 0 14px}.pw-question-builder{border:0!important}.pw-question-builder>aside:first-child{border-radius:0!important}.pw-question-help{border-radius:0!important}
/* Controls and spacing observed in the source template and questionnaire editors. */
.pw-template-footer{display:flex;align-items:center;justify-content:space-between}
.pw-template-batch{display:flex;align-items:center;gap:8px;color:#818792;font-size:12px}
.pw-template-batch label{display:flex;align-items:center;gap:4px;font-weight:400}
.pw-template-batch input,.pw-template-select{width:14px!important;height:14px!important;min-height:0!important;padding:0!important}
.pw-template-batch .pp-button:disabled{opacity:.45;cursor:default}
.pw-app .pw-icon-button{min-width:22px;padding:2px;color:#8b929c;font-size:14px}
.pw-template-settings .pw-template-base label,.pw-template-settings .pw-template-base input,.pw-template-settings .pw-template-base textarea,.pw-template-settings .pw-base-category>span,.pw-template-settings .pw-base-line{font-weight:400}
.pw-template-settings .pw-flow-line{padding-top:14px;padding-bottom:14px}
.pw-dimension:has(.pw-empty)>footer{justify-content:center;margin-top:-34px;position:relative;border:0;padding-bottom:40px}
.pw-app .pw-questionnaire-basic{max-width:980px;margin:16px auto;padding:32px 60px 80px;border:0;min-height:650px}
.pw-questionnaire-basic form{display:grid;gap:28px}
.pw-questionnaire-basic label{display:grid;gap:8px;font-size:13px;font-weight:400}
.pw-questionnaire-basic label>span>small{color:#adb2bb;font-size:11px}
.pw-questionnaire-basic em{color:#e26165;font-style:normal}
.pw-app .pw-questionnaire-basic input{font-size:13px;font-weight:400;height:34px}
.pw-app .pw-questionnaire-basic textarea{height:340px;resize:vertical;font-size:13px;font-weight:400}
.pw-cover-upload{position:relative;border:1px dashed #e7e9ed;min-height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center;color:#b9bdc5}
.pw-cover-upload>span{font-size:24px}.pw-cover-upload small{display:block;font-size:12px;line-height:1.6}
.pw-cover-upload img{width:100%;height:120px;object-fit:cover}
.pw-app .pw-cover-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pw-description-count{text-align:right;color:#a3aab4;font-size:11px;margin-top:-28px;margin-right:8px;pointer-events:none}
@media(max-width:800px){.pw-app .pw-questionnaire-basic{padding:24px}.pw-template-footer,.pw-template-batch{flex-wrap:wrap;gap:10px}}
.pw-app{position:relative}.pw-more-menu{position:absolute;z-index:15;left:64px;top:340px;width:190px;padding:10px;background:#fff;border:1px solid #e7ebef;box-shadow:0 3px 12px #162b4e20;color:#aaa;border-radius:3px}.pw-more-menu[hidden]{display:none}.pw-more-menu>small{display:block;margin-bottom:5px}.pw-more-menu>div{display:flex;gap:8px}.pw-more-menu>div>button{width:76px;height:78px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:white}.pw-more-menu>div>button:first-child:before{content:'▤';color:#d8a65d;font-size:22px}.pw-more-menu>div>button:last-child:before{content:'⚙';color:#8eac9e;font-size:22px}.pw-wide-shell{grid-template-columns:58px minmax(0,1fr)}.pw-wide-shell .pw-secondary{display:none}.pw-wide-shell .pw-main>.pp-content{padding:0 18px 24px}.pw-questionnaire-list-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:58px}.pw-questionnaire-list-toolbar .pw-search>input{border:0;background:transparent;font-weight:400}.pw-questionnaire-list-toolbar .pw-search>button{border:0;background:transparent;color:#8f99a9}.pw-wide-shell .pp-table-scroll{border:0;background:white}.pw-wide-shell .pp-pager{justify-content:flex-end}
.pw-option-edit-row{display:flex;align-items:center;gap:6px;margin:9px 0}.pw-app .pw-option-edit-row input[data-option-field=name]{height:30px;flex:1;min-width:50px;font-size:12px;font-weight:400;border-color:transparent;background:#fafbfc}.pw-app .pw-option-edit-row input[data-option-field=score]{height:30px;width:70px;min-width:0;font-size:12px;font-weight:400}.pw-option-edit-row small{color:#a6adb7}.pw-question-card{cursor:default}
.pw-icon-button svg{width:15px;height:15px;vertical-align:middle}.pw-question-tools{display:flex;align-items:center;gap:4px;margin-left:auto}.pw-insert-question{position:relative;font-size:17px;color:#949ca7;cursor:pointer}.pw-insert-question>summary{list-style:none;padding:2px 5px}.pw-insert-question>div{position:absolute;top:26px;right:0;z-index:5;background:white;border:1px solid #e5e9ef;box-shadow:0 3px 12px #22334b14;width:110px;padding:5px;display:grid}.pw-question-card>header{gap:8px}.pw-question-card>header>h3{flex:1}.pw-question-card .pw-inline-title{border-color:transparent;background:transparent}.pw-question-card .pw-inline-title:focus{border-color:#8cb8f5;outline:none}.pw-question-help .pp-field{display:flex;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;font-size:12px;font-weight:400;margin-bottom:13px;gap:10px}.pw-question-help .pp-field select{width:auto;max-width:150px;min-height:28px;font-size:12px;font-weight:400}.pw-question-help .pp-field input{width:120px}.pw-question-help>h3{font-size:13px;font-weight:400}.pw-question-help #pw-question-settings>.pp-field:first-child{justify-content:flex-end;margin-top:-23px;padding-left:78px;color:#99a1ad}.pw-question-help #pw-question-settings>.pp-field:first-child select{border:0;background:none;width:80px}.pw-question-dimensions{gap:4px;padding:8px 10px}.pw-question-dimensions .pp-button{border:0;background:transparent;padding:4px 9px}.pw-question-dimensions .pp-button.active{border:0;border-radius:0;background:#f4f6f9;color:#30343b;font-weight:600}.pw-step-tabs{position:absolute;left:50%;transform:translateX(-50%);padding:0;border:0;background:transparent!important;gap:0}.pw-step-tabs .pp-button{padding:0!important;font-size:12px;display:flex;align-items:center;gap:8px}.pw-step-tabs .pp-button:first-child:after{content:'';position:static!important;width:105px!important;height:0!important;border-top:1px dashed #d6dbe2;background:transparent!important;margin:0 10px}.pw-step-tabs .pp-button:last-child:after{display:none!important}.pw-step-tabs .pp-button b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d8dde5;border-radius:50%;font-size:12px;font-weight:400}.pw-step-tabs .pp-button.active b{background:#3d87f5;border-color:#3d87f5;color:white}.pw-workbench-heading:has(.pw-step-tabs){position:relative}
@media(max-width:850px){.pw-step-tabs{position:static;transform:none}.pw-step-tabs .pp-button:first-child:after{width:30px!important}.pw-workbench-heading:has(.pw-step-tabs){flex-wrap:wrap}}
.pw-editor-shell{height:calc(100vh - 125px);min-height:440px}.pw-editor-shell .pw-main{height:100%;min-height:0;overflow:auto}.pw-editor-shell:has(.pw-question-builder) .pw-main{overflow:hidden}.pw-editor-shell:has(.pw-question-builder) .pp-content{height:100%;min-height:0;display:flex;flex-direction:column;padding-bottom:0}.pw-editor-shell:has(.pw-question-builder) .pw-workbench-heading{flex-shrink:0;margin-bottom:0}.pw-editor-shell .pw-question-builder{height:0;min-height:0;flex:1}.pw-editor-shell .pw-question-help{display:block}.pw-question-canvas{min-height:0}.pw-question-help{min-height:0}.pw-question-builder>aside:first-child{overflow:auto}
@media(max-width:800px){.pw-editor-shell .pw-question-builder{grid-template-columns:84px minmax(0,1fr);overflow:auto}.pw-editor-shell .pw-question-help{grid-column:1/-1;overflow:visible}.pw-question-canvas{overflow:visible}.pw-editor-shell .pw-question-builder>aside:first-child{padding:8px}.pw-question-tools{gap:0}.pw-question-help #pw-question-settings>.pp-field:first-child{padding-left:100px}}

/* Assessment details use the available workspace, with a compact action panel. */
.pw-app.pw-assessment-shell{display:grid;grid-template-columns:minmax(0,1fr)}
.pw-app.pw-assessment-shell>.pw-rail,.pw-app.pw-assessment-shell>.pw-secondary{display:none!important}
.pw-app.pw-assessment-shell>.pw-main{grid-column:1/-1;width:100%;min-width:0;container-type:inline-size}
.pw-assessment-shell .pp-header{align-items:flex-start;gap:16px;flex-wrap:wrap}
.pw-assessment-shell .pp-header h2{font-size:20px;line-height:1.5}
.pw-assessment-shell .pp-summary{display:flex;gap:14px;flex-wrap:wrap;line-height:1.8}
.pw-assessment-shell .pp-assessment{display:flex;flex-direction:column;gap:18px}
.pw-assessment-shell .pp-editor-pane{order:0;padding:16px 20px;border:1px solid #e5e9f0;border-radius:6px;background:#fafbfe;min-width:0}
.pw-assessment-shell .pp-editor-pane>h3{font-size:14px;margin:0 0 12px}
.pw-assessment-shell .pp-current-step{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}
.pw-assessment-shell .pp-current-step small{margin-right:auto;color:#8a929f}
.pw-assessment-shell .pp-reference-pane{background:#fff;min-width:0}
.pw-assessment-shell .pp-tabs{overflow-x:auto;white-space:nowrap;margin-bottom:16px}
.pw-assessment-shell .pp-actions{min-width:120px;white-space:normal}
.pw-assessment-shell .pp-actions .pp-button{margin:3px 8px 3px 0}
.pw-assessment-shell .pp-table-wrap{max-width:100%;overflow:auto}
.pw-assessment-shell .pp-help{line-height:1.7}
.pw-assessment-shell #pp-score-editor:empty{display:none}
@media(max-width:640px){.pw-app.pw-assessment-shell{grid-template-columns:minmax(0,1fr)}.pw-assessment-shell .pp-editor-pane{padding:12px}.pw-assessment-shell .pp-current-step{gap:8px}}

/* Live-system structure: home has one rail; tasks/editors use the full workspace. */
.pw-app.pw-home-shell{grid-template-columns:48px minmax(0,1fr)}
.pw-app.pw-home-shell>.pw-secondary{display:none!important}
.pw-home-shell .pw-main{overflow:auto}
.pw-home-shell .pw-main>.pp-content{padding:18px 24px 30px}
.pw-home-shell .pw-card{border:0;border-radius:8px;padding:18px 22px;margin:0 0 18px;box-shadow:none}
.pw-home-shell .pw-card>header{margin-bottom:14px}
.pw-home-shell .pw-card>header h3{font-size:16px;font-weight:600;margin:0}
.pw-home-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:18px}
.pw-home-top .pw-card{min-height:200px}
.pw-home-top .pw-empty{min-height:118px;padding:12px}
.pw-shortcuts{display:flex;justify-content:space-evenly;gap:20px;padding:24px 0}
.pw-shortcuts>button{display:flex;align-items:center;flex-direction:column;gap:12px;font:inherit;color:#4e535d;border:0;background:none;cursor:pointer}
.pw-shortcuts>button>span{width:42px;height:42px;display:grid;place-items:center;background:#e8f4ff;border-radius:9px;color:#328eef}
.pw-shortcuts>button:nth-child(2)>span{background:#fff3df;color:#e8a439}
.pw-shortcuts>button:nth-child(3)>span{background:#eaf8f0;color:#46ba80}
.pw-shortcuts svg{width:25px;height:25px}
.pw-home-todos{display:grid;gap:0}
.pw-home-todos>button{display:flex;align-items:center;text-align:left;gap:12px;border:0;border-bottom:1px solid #f0f2f5;padding:10px 0;background:none;font:inherit;color:#515864;cursor:pointer;width:100%}
.pw-home-todos strong{font-weight:500}.pw-home-todos small{display:block;color:#9299a3;margin-top:3px}.pw-home-todos time{margin-left:auto;color:#9299a3;font-size:12px;white-space:nowrap}.pw-todo-icon{width:29px;height:29px;background:#edf5ff;color:#3d87f5;display:grid;place-items:center;border-radius:6px;flex-shrink:0}
.pw-home-stagebar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#8c939c;margin:10px 0 18px}
.pw-phase-strip{display:flex;gap:0;min-width:0}.pw-phase-strip>.pp-button{min-width:65px;border:0;background:#f2f4f7;border-radius:0;padding:6px 12px;clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%,10% 50%)}
.pw-phase-strip>.pp-button:first-child{clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%)}
.pw-phase-strip>.pp-button.active{background:#e6f3ff;color:#168bfa}
.pw-task-progress{display:flex;min-width:330px;gap:2px}
.pw-task-progress>span{flex:1;text-align:center;background:#f4f6f8;color:#8c939c;font-size:11px;padding:5px 8px;clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%,7% 50%)}
.pw-task-progress>span.has-members{color:#3d87f5;background:#ecf5ff}.pw-task-progress b{font-weight:400;margin-left:6px}
.pw-home-shell .pp-table-scroll{border:0}.pw-home-shell .pp-table-scroll:has(.pp-empty) .pp-empty{display:none}.pw-home-shell .pp-empty{border:0!important}.pw-home-shell table th{background:#f5f6f7;font-size:12px}.pw-home-shell table td{vertical-align:middle}
.pw-secondary .pw-single-group>h3{display:none}.pw-secondary .pw-single-group>button{padding-left:18px;font-weight:500}
.pw-task-kind{display:flex;align-items:center;gap:8px;color:#616873}.pw-task-kind select{min-width:90px}
.pw-app .pw-indicator-tag{display:inline-block;padding:1px 5px;margin:0 4px 4px 0;border:1px solid #e4e9ef;border-radius:3px;color:#748197;white-space:nowrap;font-size:11px}
.pw-app td.pw-rule-cell{min-width:170px;max-width:280px;color:#606771}
@media(max-width:900px){.pw-home-shell .pw-main>.pp-content{padding:12px}.pw-home-top{grid-template-columns:1fr}.pw-home-top .pw-card{min-height:150px}.pw-home-shell .pw-card{padding:16px}.pw-shortcuts{padding:10px 0}.pw-home-stagebar{align-items:flex-start}.pw-phase-strip{overflow:auto;max-width:100%}.pw-phase-strip>.pp-button{min-width:52px;padding:6px 8px}}

/* Keep long definitions readable without expanding every row on entry. */
.pw-template-grid table{table-layout:fixed;width:100%;min-width:820px}
.pw-template-grid th,.pw-template-grid td{padding:10px 12px!important;vertical-align:top!important;overflow-wrap:anywhere}
.pw-template-grid [data-template-field="target"],.pw-template-grid [data-template-field="unit"],.pw-template-grid [data-template-field="weight"]{white-space:nowrap}
.pw-template-text{min-width:0;font-size:12px;line-height:1.7}
.pw-template-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-line;margin:0;color:#475467}
.pw-template-text .pw-template-read{font-size:12px;padding:3px 0 0;line-height:1.6}
.pw-template-value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.6}

/* Read long assessment descriptions as a quiet two-column table; edit the original text in place. */
.pw-template-description{display:flex;align-items:flex-start;gap:12px;margin:10px 0;font-size:13px}
.pw-template-description>span{width:74px;flex-shrink:0;text-align:right;color:#555;padding-top:9px}
.pw-description-panel{flex:1;min-width:0}
.pw-description-toolbar{display:flex;justify-content:flex-end;margin-bottom:5px}
.pw-description-toolbar .pp-button{font-size:12px;padding:2px 0}
.pw-app .pw-description-table{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #e9edf2;font-size:13px;line-height:1.65}
.pw-description-key{width:110px}
.pw-app .pw-description-table th,.pw-app .pw-description-table td{position:static;max-width:none;padding:7px 12px;border-bottom:1px solid #edf0f4;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;font-size:inherit;line-height:inherit}
.pw-app .pw-description-table th{color:#596273;font-weight:500;background:#fafbfd;border-right:1px solid #edf0f4}
.pw-app .pw-description-table td{color:#30343b;background:#fff}
.pw-app .pw-description-table .pw-description-note{background:#fafbfd;color:#475467}
.pw-app .pw-description-table .pw-description-empty{color:#929aa6}
.pw-app .pw-template-base .pw-description-panel textarea{display:block;width:100%}
.pw-description-actions{display:flex;align-items:center;gap:8px;margin-top:8px}
.pw-description-actions small{margin-right:auto;font-size:12px;color:#7b8494}
.pw-description-panel [hidden]{display:none!important}
@media(max-width:640px){.pw-template-description{display:block}.pw-template-description>span{display:block;text-align:left;width:auto;padding:0;margin-bottom:6px}.pw-description-key{width:86px}.pw-app .pw-description-table th,.pw-app .pw-description-table td{padding:7px 9px}.pw-description-actions{flex-wrap:wrap}.pw-description-actions small{flex-basis:100%}}

/* Long indicator definitions open at a readable width without stretching the table row. */
.pw-app dialog.pw-rule-reader{padding:0;width:min(1000px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 64px);border:1px solid #e4e9f0;border-radius:8px;background:#fff;color:#30343b;box-shadow:0 18px 65px #152a4829;overflow:hidden;font:14px/1.75 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
.pw-app dialog.pw-rule-reader[open]{display:flex;flex-direction:column}
.pw-rule-reader::backdrop{background:#172b4d40}
.pw-rule-reader>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #edf0f4;flex-shrink:0}
.pw-rule-reader>header small{font-size:12px;color:#8993a1}
.pw-rule-reader h2{font-size:17px;font-weight:600;line-height:1.5;margin:2px 0 0;overflow-wrap:anywhere}
.pw-reader-tabs{display:flex;gap:24px;padding:0 24px;border-bottom:1px solid #edf0f4;flex-shrink:0}
.pw-reader-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 0;font:inherit;color:#667085;cursor:pointer}
.pw-reader-tabs button.active{color:#287ff0;border-bottom-color:#287ff0}
.pw-reader-tabs button:focus-visible{outline:2px solid #a3c8ff;outline-offset:2px}
.pw-reader-body{padding:20px 24px;overflow:auto;min-height:0;overscroll-behavior:contain}
.pw-app .pw-reader-table{table-layout:fixed;width:100%;border:1px solid #e9edf2;border-collapse:collapse;font-size:14px;line-height:1.8}
.pw-reader-key{width:122px}
.pw-app .pw-reader-table th,.pw-app .pw-reader-table td{position:static;padding:11px 16px;max-width:none;vertical-align:top;border-bottom:1px solid #edf0f4;white-space:normal;overflow-wrap:anywhere;font:inherit}
.pw-app .pw-reader-table th{background:#fafbfd;color:#596273;font-weight:500;border-right:1px solid #edf0f4}
.pw-app .pw-reader-table td{background:#fff;color:#30343b}
.pw-reader-table p{margin:0;white-space:pre-wrap}.pw-reader-table p+p{margin-top:8px}
.pw-app .pw-reader-table .pw-reader-note{background:#fafbfd;color:#64748b;font-size:12px}
.pw-rule-reader>footer{display:flex;justify-content:flex-end;padding:12px 24px;border-top:1px solid #edf0f4;flex-shrink:0}
@media(max-width:640px){.pw-app dialog.pw-rule-reader{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.pw-rule-reader>header,.pw-reader-body{padding:14px}.pw-reader-tabs{padding:0 14px}.pw-reader-key{width:88px}.pw-app .pw-reader-table th,.pw-app .pw-reader-table td{padding:9px 10px}.pw-rule-reader h2{font-size:15px}}

/* The guide displays the original publisher page and its original images. */
.pw-app.pw-guide-shell{height:calc(100dvh - 125px);min-height:520px;grid-template-columns:48px minmax(0,1fr)}
.pw-guide-shell>.pw-secondary{display:none}
.pw-guide-shell .pw-main{min-height:0;overflow:hidden}
.pw-guide-shell .pw-main>.pp-content{height:100%;min-height:0;padding:0;display:flex;flex-direction:column}
.pw-guide-shell .pw-page-heading{flex:none;min-height:52px;margin:0;padding:10px 18px;gap:10px}
.pw-guide-shell .pw-heading-actions{flex-wrap:wrap;justify-content:flex-end}
.pw-guide-shell .pw-heading-actions a{text-decoration:none;display:inline-block;border:1px solid #dce2e9;background:#fff}
.pw-more-menu>div{flex-wrap:wrap}
.pw-more-menu>div>button[data-id="questionnaires"]:before{content:'▤';color:#d8a65d}
.pw-more-menu>div>button[data-id="operation-guide"]:before{content:'▣';color:#3d87f5}
@media(max-width:640px){.pw-app.pw-guide-shell{height:calc(100dvh - 105px);min-height:480px}.pw-guide-shell .pw-page-heading{padding:8px;align-items:flex-start}.pw-guide-shell .pw-page-heading h2{white-space:nowrap;font-size:15px}.pw-guide-shell .pw-heading-actions{gap:4px}.pw-guide-shell .pw-heading-actions .pp-button{padding:4px 7px}}
