.pw-dialog{width:min(1160px,96vw);max-height:94dvh;border:1px solid #dce5dc;border-radius:14px;padding:0;overflow:auto}.pw-header{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;padding:25px 30px 12px;background:#fff}.pw-header h2{font-size:23px;margin:8px 0;overflow-wrap:anywhere;line-height:1.5}.pw-header p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:75px;overflow:auto;margin:0}.pw-header>button{border:0;font-size:18px;flex-shrink:0;padding:5px 9px}.pw-topline{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 30px 20px}.pw-topline>div{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.pw-topline>button{font-size:11px;white-space:nowrap}.pw-meta-type{font-size:11px;color:#91a08e}.pw-tabs{display:flex;gap:25px;padding:0 30px;border-bottom:1px solid var(--border);background:white;position:sticky;top:0;z-index:1}.pw-tabs button{border:0;border-radius:0;border-bottom:3px solid transparent;padding:15px 22px;font-size:14px;background:transparent;color:#84947f;font-weight:600}.pw-tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green)}#pw-notice{font-size:12px;color:#6c845f;padding:0 30px;margin:0}#pw-notice:not(:empty){padding:12px 30px;border-bottom:1px solid #e6ece2;background:#f2f7ef}#pw-panel{padding:24px 30px;background:#f8faf7;min-height:400px}.pw-overview{font-size:12px;border:1px solid var(--border);background:white;border-radius:8px;padding:15px 18px;margin-bottom:20px}.pw-overview summary{cursor:pointer;color:#6d8664}.pw-overview dl{grid-template-columns:110px 1fr;margin:18px 0}.pw-overview dd{max-width:none;white-space:pre-wrap;overflow-wrap:anywhere}.pw-overview pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f1;padding:15px;max-height:250px;overflow:auto}.pw-toolbar{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:10px 0 20px}.pw-toolbar>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pw-toolbar button{font-size:11px;padding:8px 12px}.pw-toolbar .check{margin:0;white-space:nowrap;font-size:11px}.pw-doc-group{border:1px solid var(--border);background:white;border-radius:9px;padding:20px 22px;margin-bottom:20px}.pw-doc-group h3{font-size:16px;margin:0}.pw-section-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.pw-section-title h3{font-size:16px;margin:0}.pw-section-title>span{font-size:12px;color:#82947a}.pw-section-title>button{font-size:11px;white-space:nowrap;padding:7px 10px}.pw-section-title p{font-size:11px;margin-top:7px}.pw-empty{font-size:12px;color:#95a18d;border:1px dashed #e1e8da;background:#fafcf7;text-align:center;border-radius:6px;padding:28px 15px}.pw-doc{display:flex;align-items:flex-start;gap:13px;padding:17px 0;border-top:1px solid #edf1e9}.pw-doc-icon{border:1px solid #dce7d5;border-radius:6px;background:#f1f7eb;font-size:10px;padding:12px 7px;color:#7c956e;min-width:46px;text-align:center;flex-shrink:0}.pw-doc-info{flex:1;min-width:0}.pw-doc-info strong{display:block;font-size:13px;overflow-wrap:anywhere}.pw-doc-info small{display:block;font-size:10px;margin-top:3px}.pw-doc-info p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8b9c80;margin:6px 0}.pw-doc-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:285px}.pw-doc-actions button{font-size:10px;padding:6px 8px}.pw-danger{color:#ad6654}.pw-filehint{font-size:10px;color:#93a286;line-height:1.9}.pw-warning{font-size:12px;color:#a76851}.pw-footer{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:17px 30px;border-top:1px solid var(--border);background:white}.pw-footer span{font-size:10px;color:#97a18d}.pw-footer button{font-size:11px}.pw-schedule{display:grid;grid-template-columns:285px minmax(0,1fr);gap:24px;align-items:start}.pw-mini{padding:18px;border:1px solid var(--border);background:white;border-radius:9px}.pw-mini-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.pw-mini-head strong{font-size:14px}.pw-mini-head button{border:0;font-size:19px;padding:0 8px}.pw-mini-week,.pw-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}.pw-mini-week{font-size:10px;color:#9aa58f;margin-bottom:7px}.pw-mini-week span:first-child{color:#bc897e}.pw-mini-grid button{border:0;position:relative;font-size:11px;padding:5px 2px;min-height:33px;border-radius:5px;background:white}.pw-mini-grid button.outside{color:#c0c8b7}.pw-mini-grid button.today{font-weight:700;color:var(--green)}.pw-mini-grid button.selected{background:var(--green);color:white}.pw-mini-grid i{display:block;width:3px;height:3px;border-radius:50%;margin:0 auto;background:#97ad85}.pw-mini-grid button.selected i{background:white}.pw-mini-tools{display:flex;align-items:center;justify-content:space-between;margin:12px 0 20px}.pw-mini-tools button{font-size:10px;padding:5px 10px}.pw-mini-tools .check{font-size:10px;margin:0}.pw-mini h4{font-size:12px;margin:12px 0}.pw-day-item{display:block;width:100%;border:0;border-top:1px solid var(--border);border-radius:0;background:white;text-align:left;padding:10px 0}.pw-day-item strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.pw-day-item small{display:block;font-size:9px}.pw-mini>p{font-size:11px}.pw-mini .pw-add-event{font-size:10px;width:100%;padding:8px;margin:10px 0}.pw-calendar-link{display:block;text-align:center;font-size:10px;color:var(--green);text-decoration:none;margin-top:7px}.pw-target{padding:19px;border:1px solid var(--border);border-radius:9px;background:#edf4e8;margin-top:15px}.pw-target>span{font-size:11px;color:#829778}.pw-target strong{display:block;font-size:17px;margin:8px 0;color:#57754c}.pw-target button{font-size:10px;padding:5px 10px}.pw-target p{font-size:12px;line-height:1.8;margin:15px 0 0}.pw-target small{font-size:10px}.pw-flow{display:flex;gap:7px;align-items:stretch;overflow-x:auto;padding-bottom:14px;margin-bottom:16px}.pw-flow-step{border:1px solid #d9e5d2;background:white;border-radius:7px;padding:13px 14px;flex:1 0 125px;min-width:0;max-width:210px}.pw-flow-step small{display:block;font-size:9px;letter-spacing:1px;color:#8aab78}.pw-flow-step strong{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;margin:7px 0}.pw-flow-step>span{font-size:10px;color:#95a68a}.pw-arrow{align-self:center;color:#acb9a0;flex-shrink:0}.pw-phase{border:1px solid var(--border);border-radius:9px;background:white;padding:18px;margin:14px 0}.pw-phase h3{font-size:14px;display:flex;align-items:center;gap:10px;margin:0 0 10px;overflow-wrap:anywhere}.pw-phase h3>span{display:inline-grid;place-items:center;background:#edf4e7;color:#7e9b6f;font-size:10px;width:23px;height:23px;border-radius:50%;flex-shrink:0}.pw-phase p{font-size:11px;margin:0}.pw-task{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;border-top:1px solid #ecf0e7}.pw-task label{display:flex;gap:9px;align-items:flex-start;font-weight:400;font-size:12px;margin:0;min-width:0}.pw-task input{width:16px;height:16px;accent-color:var(--green);flex-shrink:0;margin-top:3px}.pw-task span{overflow-wrap:anywhere}.pw-task small{display:block;font-size:10px;text-decoration:none}.pw-task button{font-size:10px;padding:5px 8px;flex-shrink:0}.pw-study-link{display:block;color:var(--green);font-size:12px;padding:15px 0}.pw-editor{width:min(760px,94vw);max-height:92dvh}.pw-editor-body,#pw-editor-body{padding:24px 28px}.pw-editor .dialoghead h2{font-size:18px}.pw-editor .dialoghead button{border:0;font-size:18px}.pw-editor label{font-size:12px;margin:16px 0 7px}.pw-editor input,.pw-editor select,.pw-editor textarea{font-size:12px}.pw-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px}.pw-form-grid .wide{grid-column:1/-1}.pw-form-grid label{margin-top:0}.pw-editor p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.pw-editor .help{font-size:11px;margin-top:12px}.pw-editor .dialogfoot{position:sticky;bottom:0;z-index:1}.pw-editor #pw-error{font-size:12px;color:#ac6652;padding:0 28px 15px}.pw-editor #pw-error:empty{display:none}.pw-phase-edit{display:flex;align-items:center;gap:6px;padding:10px 0;border-bottom:1px solid var(--border)}.pw-phase-edit>span{font-size:11px;width:15px;color:#8da080}.pw-phase-edit input{min-width:0;flex:1}.pw-phase-edit button{font-size:12px;padding:7px 10px}.pw-phase-edit:last-child{margin-bottom:15px}.pw-fileviewer{width:min(1000px,96vw);max-height:94dvh}.pw-fileviewer h2{font-size:16px;overflow-wrap:anywhere}.pw-fileviewer .dialoghead{gap:15px}.pw-fileviewer .dialoghead button{flex-shrink:0}#pw-view-body{padding:15px 22px}#pw-view-body iframe{width:100%;height:68dvh;border:1px solid var(--border)}#pw-view-body img{display:block;max-width:100%;max-height:70dvh;margin:auto}#pw-view-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:65dvh;overflow:auto}#pw-view-body p{font-size:11px}
@media(max-width:1000px){.pw-dialog{width:96vw}.pw-schedule{grid-template-columns:245px minmax(0,1fr);gap:18px}#pw-panel{padding:22px}.pw-doc{flex-wrap:wrap}.pw-doc-actions{max-width:none;width:100%;padding-left:58px;justify-content:flex-start}.pw-toolbar{align-items:flex-start;flex-wrap:wrap}.pw-flow-step{flex-basis:115px}.pw-overview dl{grid-template-columns:90px 1fr}}
@media(max-width:700px){.pw-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}.pw-header{padding:20px 18px 12px}.pw-header h2{font-size:20px}.pw-header p{font-size:11px;max-height:60px}.pw-topline{padding:0 18px 15px}.pw-tabs{padding:0 18px;gap:20px}.pw-tabs button{padding:13px 24px;font-size:13px}#pw-panel{padding:18px}#pw-notice:not(:empty){padding:10px 18px;font-size:11px}.pw-schedule{grid-template-columns:1fr}.pw-schedule>aside{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:14px;align-items:start}.pw-target{margin:0}.pw-work{min-width:0}.pw-footer{padding:15px 18px}.pw-footer span{max-width:65%;font-size:9px}.pw-doc-group{padding:18px 16px}.pw-doc-info strong{font-size:12px}.pw-doc-actions{padding-left:0}.pw-overview{padding:14px}.pw-mini{padding:16px}.pw-section-title h3{font-size:15px}.pw-section-title{gap:12px}.pw-section-title>button{font-size:10px}.pw-work>.pw-toolbar{gap:10px}.pw-form-grid{gap:15px}.pw-editor-body,#pw-editor-body{padding:20px}.pw-editor #pw-error{padding:0 20px 15px}.pw-editor label{font-size:11px}.pw-fileviewer .dialoghead{padding:18px}.pw-fileviewer h2{font-size:14px}}
@media(max-width:480px){.pw-schedule>aside{grid-template-columns:1fr}.pw-target{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px}.pw-target strong{grid-column:1;margin:0;font-size:16px}.pw-target>button{grid-column:2;grid-row:1/3}.pw-target p{grid-column:1/-1;margin:6px 0 0;font-size:11px}.pw-mini-grid button{min-height:34px}.pw-form-grid{grid-template-columns:1fr}.pw-form-grid .wide{grid-column:auto}.pw-toolbar>div{gap:7px}.pw-toolbar .check{font-size:10px}.pw-doc-group h3{font-size:15px}.pw-doc{gap:10px}.pw-doc-icon{min-width:40px;font-size:9px}.pw-doc-info small{font-size:9px}.pw-doc-actions button{font-size:10px}.pw-header h2{font-size:18px}.pw-topline>button{font-size:10px;padding:7px 9px}.pw-overview dl{grid-template-columns:75px 1fr;gap:10px;font-size:11px}.pw-phase-edit{flex-wrap:wrap}.pw-phase-edit input{width:calc(100% - 26px);flex-basis:calc(100% - 26px)}.pw-phase-edit button:first-of-type{margin-left:22px}.pw-task label{font-size:11px}.pw-task small{font-size:9px}.pw-editor .dialoghead{padding:18px}.pw-editor .dialoghead h2{font-size:16px}.pw-editor .dialogfoot{padding:15px 20px}.pw-editor .dialogfoot button{font-size:12px}}
.pw-sticky{position:sticky;top:0;z-index:2;background:white}.pw-sticky .pw-tabs{position:static}.pw-header h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pw-flow-step strong{word-break:keep-all}
