.pw-layout{display:grid;direction:ltr;max-width:1500px!important;margin:0 auto;padding:34px 40px 52px;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"main" "bottom"!important;gap:24px;align-items:stretch}
.pw-layout>.doc-main{grid-area:main!important;grid-column:auto!important;min-width:0}
.doc-detail-shell.pw-layout>.doc-main{width:100%;max-width:var(--reading-width,680px);margin-inline:auto}
@media(min-width:1280px){.doc-detail-shell.pw-layout,.doc-detail-shell.pw-layout.pw-has-left,.doc-detail-shell.pw-layout.pw-has-right,.doc-detail-shell.pw-layout.pw-has-left.pw-has-right{grid-template-columns:minmax(0,1fr) var(--reading-width,680px) minmax(0,1fr)!important;grid-template-areas:"left main right" "bottom bottom bottom"!important}}
.pw-layout>.pw-page-content{grid-area:main;grid-column:auto;min-width:0;max-width:100%;margin:0;padding:0}
#pw-record-field[hidden]{display:none!important}
.pw-profile-disclosure>summary{font-size:13px;font-weight:700;cursor:pointer;padding:0 0 10px}.pw-profile-disclosure>aside{position:static;width:auto}
.pw-profile .profile-preview{height:auto;min-height:0;padding:16px}.pw-profile .profile-frame{width:120px;height:144px;max-width:100%;border-radius:6px;box-shadow:none;box-sizing:border-box}.pw-profile .entity-frame{height:120px;padding:10px}.pw-profile .doc-profile-info{padding:12px 12px 8px}.pw-profile .doc-profile-name{font-size:16px;font-weight:700;line-height:1.5}.pw-profile .doc-profile-fullname,.pw-profile .doc-profile-en{font-size:11px;line-height:1.6}
@media(max-width:760px){.pw-profile .profile-preview{padding:8px}.pw-profile .profile-frame{width:76px;height:92px}.pw-profile .entity-frame{height:76px;padding:6px}}
.pw-layout>.pw-left{grid-area:left}.pw-layout>.pw-right{grid-area:right}.pw-layout>.pw-bottom{grid-area:bottom}
.pw-layout>.pw-zone,.pw-layout>.doc-main,.pw-layout>.pw-page-content{direction:ltr}html[dir=rtl] .pw-layout>.pw-zone,html[dir=rtl] .pw-layout>.doc-main,html[dir=rtl] .pw-layout>.pw-page-content{direction:rtl}
.pw-zone{min-width:0;align-self:stretch}.pw-rail{display:flex;flex-direction:column;gap:18px}.pw-zone[hidden],.pw-block[hidden]{display:none!important}.pw-sticky .pw-left>.pw-rail,.pw-sticky .pw-right>.pw-rail{position:sticky;top:80px}
.pw-widget{border-top:2px solid var(--border,#e4cfb5);padding-top:14px}.pw-widget h2{font-size:16px;line-height:1.6;margin:0 0 10px;font-weight:700}
.pw-item{display:flex;align-items:center;gap:10px;padding:12px 0;text-decoration:none;color:inherit;border-bottom:1px solid var(--border,#e4cfb5);min-width:0}.pw-item[hidden],.pw-block[hidden]{display:none!important}
.pw-item img{width:48px;height:56px;object-fit:cover;border-radius:5px;flex:none}.pw-item span{min-width:0}.pw-item strong{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.pw-item small{display:block;font-size:11px;line-height:1.7;color:var(--muted,#805c43);margin-top:3px}.pw-item:hover strong{color:var(--primary,#aa300b)}.pw-item:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.pw-zone .doc-section{margin:0}.pw-zone .doc-side-card{position:static!important;width:100%}.pw-bottom .pw-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 20px}
.pw-zone .doc-fact-grid>div{padding:10px;min-width:0;overflow-wrap:anywhere}.pw-zone .doc-fact-grid b{font-size:12px}.pw-zone .doc-section>summary{font-size:13px;padding:11px}.pw-zone .doc-section-body{padding:10px}.pw-zone .doc-fact-grid{gap:8px}.pw-zone .doc-fact-grid span{font-size:11px}
.pw-block{min-width:0;max-width:100%;container-type:inline-size}.pw-layout .event-gallery{min-width:0;gap:10px}.pw-layout .event-gallery-main{width:100%;min-height:0;aspect-ratio:3/2;border-radius:6px;box-sizing:border-box}.pw-layout .event-gallery-main img{width:100%;height:100%;min-width:0;max-height:none;object-fit:contain;background:transparent}.pw-layout .event-gallery-caption{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}.pw-layout .event-gallery-caption strong{font-size:13px}.pw-layout .event-gallery-caption span{font-size:11px}.pw-layout .event-gallery-thumbs{grid-template-columns:repeat(auto-fill,minmax(52px,1fr))}.pw-layout .event-gallery-thumbs button{height:auto;aspect-ratio:4/3;border-radius:5px}.pw-layout .event-gallery-nav{width:30px;height:38px;font-size:24px}.pw-layout .event-gallery-nav.prev{right:8px}.pw-layout .event-gallery-nav.next{left:8px}.pw-zone .event-video-grid{grid-template-columns:minmax(0,1fr)}.pw-zone .event-video-thumb{height:auto;aspect-ratio:16/9}.pw-zone .doc-reading img,.pw-layout .doc-text img{max-width:100%;height:auto}
@container(max-width:400px){.ms-viewer{min-height:0;flex-direction:column}.ms-content{flex-direction:column;min-width:0}.ms-content-media{width:100%;min-height:0;aspect-ratio:4/3}.ms-content-media iframe,.ms-content-media video{min-height:0}.ms-content-text{min-width:0;padding:16px}.ms-v-title{font-size:18px}.ms-v-desc{font-size:13px}}
.pw-editor-row{border-top:1px solid var(--border,#ddd);padding:18px 0}.pw-editor-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.pw-editor-head strong{flex:1}.pw-editor-head button{width:32px;height:32px;flex:none}.pw-editor-row .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pw-editor-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}.pw-editor-toolbar .field{flex:1;min-width:180px}.pw-editor-note{font-size:12px;color:var(--text-muted,#777);line-height:1.8}.pw-editor-row label{display:block;margin-bottom:5px}.pw-editor-row input:not([type=checkbox]),.pw-editor-row select{width:100%;min-width:0}.pw-editor-status{min-height:24px;font-size:13px}
.pw-editor-row>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:700;list-style:none}.pw-editor-row>summary:after{content:'+';margin-inline-start:auto}.pw-editor-row[open]>summary:after{content:'−'}.pw-editor-row>summary small{font-weight:400;color:var(--text-muted,#777);font-size:11px}.pw-editor-row[open]>.pw-editor-head{margin-top:18px}.pw-editor-head>label{flex:1}.pw-editor-head button{border:1px solid var(--border,#ddd);background:transparent;border-radius:4px;cursor:pointer}.pw-preview{display:grid;direction:ltr;grid-template-columns:1fr 1.6fr 1fr;border-block:1px solid var(--border,#ddd);margin-block:20px}.pw-preview>div{padding:12px;min-width:0;display:flex;flex-direction:column;gap:6px}.pw-preview>div+div{border-left:1px solid var(--border,#ddd)}.pw-preview b{font-size:12px}.pw-preview span{font-size:11px;padding:6px;background:var(--bg2,#f4f4f4);overflow-wrap:anywhere}.pw-savebar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;position:sticky;bottom:0;padding:14px 0;background:var(--bg,#fff);border-top:1px solid var(--border,#ddd);z-index:4}.appearance-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--border,#ddd);margin-bottom:24px}.appearance-tabs[hidden]{display:none}.appearance-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 14px;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:13px}.appearance-tabs button.active{border-bottom-color:var(--accent,#a62d0b);font-weight:700}
@media(min-width:1280px){.pw-layout.pw-has-left{grid-template-columns:var(--pw-left-width,270px) minmax(0,1fr)!important;grid-template-areas:"left main" "bottom bottom"!important}.pw-layout.pw-has-right{grid-template-columns:minmax(0,1fr) var(--pw-right-width,270px)!important;grid-template-areas:"main right" "bottom bottom"!important}.pw-layout.pw-has-left.pw-has-right{grid-template-columns:var(--pw-left-width,230px) minmax(0,1fr) var(--pw-right-width,230px)!important;grid-template-areas:"left main right" "bottom bottom bottom"!important}}
@media(max-width:1279px){.pw-layout{grid-template-areas:"main" "right" "left" "bottom"!important;padding:22px 20px 36px;gap:0}.pw-layout>.pw-zone{grid-column:1!important}.pw-rail{position:static!important}.pw-mobile-before,.pw-mobile-after{display:flex;flex-direction:column;gap:14px}.pw-mobile-before:not(:empty){margin:18px 0}.pw-mobile-after:not(:empty){margin-top:22px}.pw-block[data-pw-mobile=false]{display:none!important}.pw-layout .pw-profile{max-width:340px}.pw-editor-row .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pw-mobile-before .doc-section,.pw-mobile-after .doc-section{margin:0}.pw-mobile-before summary,.pw-mobile-after summary{padding:13px;font-size:13px}.pw-mobile-before .doc-section-body,.pw-mobile-after .doc-section-body{padding:10px}.pw-layout .doc-main,.pw-layout .pw-page-content{overflow-wrap:anywhere}.pw-layout .doc-text{line-height:1.95!important}}
@media(max-width:760px){.pw-editor-row .form-grid{grid-template-columns:minmax(0,1fr)}.pw-layout .pw-profile{max-width:none}.pw-layout{padding:18px 14px 30px}.appearance-tabs button{flex:1 1 45%;font-size:12px;padding:10px}.pw-preview>div{padding:8px 4px}.pw-savebar .btn{width:100%}}
