/* Add/edit material only; all colors inherit the active newtpl theme. */
.pmfc .pmfc-similar{min-width:0;padding:18px;border:1px solid var(--fc-line);border-left:3px solid var(--fc-accent);border-radius:12px;background:var(--fc-soft)}
.pmfc .pmfc-similar h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;color:var(--fc-text)}
.pmfc .pmfc-similar h3>.pmfc-icon{flex:none;color:var(--fc-accent)}
.pmfc .pmfc-similar p{margin:10px 0 0;color:var(--fc-muted);font-size:12px;line-height:1.6}
.pmfc .pmfc-similar-list{display:grid;gap:8px;list-style:none;margin:14px 0 0;padding:0}
.pmfc .pmfc-similar-list li{margin:0;min-width:0}
.pmfc .pmfc-similar-list a{display:grid;gap:5px;padding:12px 14px;border:1px solid var(--fc-line);border-radius:9px;background:var(--fc-bg);text-decoration:none;overflow-wrap:anywhere}
.pmfc .pmfc-similar-list a:hover{border-color:var(--fc-accent)}
.pmfc .pmfc-similar-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-weight:600;color:var(--fc-text);font-size:13px}
.pmfc .pmfc-similar-title>.pmfc-icon{flex:none;color:var(--fc-accent)}
.pmfc .pmfc-similar-meta{color:var(--fc-muted);font-size:11px}
.pmfc .pmfc-similar-exact{justify-self:start;padding:3px 7px;border-radius:5px;background:var(--fc-soft);color:var(--fc-accent);font-size:11px;font-weight:600}
.pmfc .pmfc-similar-link{color:var(--fc-accent);font-size:11px}
.pmfc .pmfc-similar [data-retry-similar]{margin-top:12px}
.page.pmfc-site-layout.pmfc-edit-layout{grid-template-columns:minmax(0,1fr) 280px;grid-template-areas:"content right"}
.page.pmfc-site-layout.pmfc-edit-layout>.pmfc-site-left,.page.pmfc-site-layout.pmfc-edit-layout .pmfc-site-right>.colr{display:none}
.pmfc .pmfc-form.pmfc-material-form{display:grid;gap:24px;max-width:none;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.pmfc-material-form .pmfc-material-form-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:28px 32px;background:var(--fc-bg);border:1px solid var(--fc-line);border-radius:16px}
.pmfc-material-form .pmfc-material-form-heading h1{margin:0;font-size:clamp(25px,2.5vw,33px);font-weight:700;line-height:1.25}
.pmfc-material-form .pmfc-material-form-heading p{margin:12px 0 0;max-width:720px;color:var(--fc-muted);font-size:13px}
.pmfc-material-form .pmfc-material-form-heading .pmfc-eyebrow{margin-bottom:9px;font-size:10px}
.pmfc-material-form .pmfc-form-state{display:flex;flex-direction:column;gap:4px;align-items:flex-end;padding:9px 13px;border:1px solid var(--fc-line);border-radius:10px;white-space:nowrap;font-size:12px;color:var(--fc-accent);background:var(--fc-soft)}
.pmfc-material-form .pmfc-form-state small{font-size:10px}
.pmfc .pmfc-material-form .pmfc-form-section{display:grid;gap:24px;min-width:0;margin:0;padding:26px 32px;border:1px solid var(--fc-line);border-radius:16px;background:var(--fc-bg)}
.pmfc .pmfc-material-form fieldset.pmfc-form-section{grid-template-columns:minmax(0,1fr);padding-top:18px}
.pmfc .pmfc-material-form fieldset.pmfc-form-section>legend{padding:0 10px;margin-left:-10px;color:var(--fc-text);font-size:18px;font-weight:700;line-height:1.5;background:var(--fc-bg);border-radius:8px}
.pmfc-material-form .pmfc-form-section-heading{padding-bottom:20px;border-bottom:1px solid var(--fc-line)}
.pmfc-material-form .pmfc-form-section-heading h2{font-size:18px;margin:0;line-height:1.4}
.pmfc-material-form .pmfc-form-section-heading p,.pmfc-material-form .pmfc-form-section-note{margin:8px 0 0;color:var(--fc-muted);font-size:12px;line-height:1.65}
.pmfc-material-form .pmfc-form-section-note{margin:0}
.pmfc .pmfc-material-form .pmfc-editor-row{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:24px;color:var(--fc-text);font-size:13px;font-weight:500;line-height:1.6;min-width:0}
.pmfc-material-form .pmfc-editor-row>.pmfc-editor-label,.pmfc-material-form label.pmfc-editor-row>span:first-child:not(.pmfc-editor-control){padding-top:11px}
.pmfc-material-form .pmfc-editor-control{display:grid;gap:7px;min-width:0;font-weight:400}
.pmfc-material-form .pmfc-editor-control>small{font-size:11px;line-height:1.65;color:var(--fc-muted)}
.pmfc-material-form .pmfc-editor-control>input,.pmfc-material-form .pmfc-editor-control>select,.pmfc-material-form .pmfc-editor-control>textarea{background:var(--fc-soft);border-radius:9px;min-height:44px}
.pmfc-material-form .pmfc-editor-control>input:focus,.pmfc-material-form .pmfc-editor-control>select:focus,.pmfc-material-form .pmfc-editor-control>textarea:focus{border-color:var(--fc-accent)}
.pmfc-material-form .pmfc-editor-control>input[type=datetime-local]{max-width:340px}
.pmfc-material-form #pmfc-category-field{display:block;position:relative;padding:0 0 0 244px;border:0;border-radius:0;margin:0;min-width:0}
.pmfc-material-form #pmfc-category-field>legend{position:absolute;top:10px;left:0;width:220px;max-width:220px;margin:0;padding:0;font-size:13px;font-weight:500;line-height:1.6;color:var(--fc-text)}
.pmfc-material-form #pmfc-category-field .pmfc-category-selection{margin:8px 0 0;font-size:11px}
.pmfc-material-form #pmfc-category-field .pmfc-category-picker>summary{min-height:46px}
.pmfc .pmfc-material-form .pmfc-editor:not(.pmfc-compose){display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:24px;row-gap:8px;min-width:0}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>label{grid-column:1;grid-row:1 / span 4;padding-top:10px;display:block;font-size:13px;color:var(--fc-text);line-height:1.6;font-weight:500}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>textarea,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>small,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-preview{grid-column:2;min-width:0}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools{padding:10px;border:1px solid var(--fc-line);border-radius:10px 10px 0 0;background:var(--fc-soft);gap:6px;margin-bottom:-9px}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools button{min-height:31px;border-radius:6px;background:var(--fc-bg);font-size:11px;padding:5px 9px}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>textarea{border-radius:0 0 10px 10px;min-height:145px;background:var(--fc-bg);font:13px/1.65 Consolas,monospace;padding:15px}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>textarea[name=description]{min-height:290px}
.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>small{font-size:11px;line-height:1.6}
.pmfc-material-form .pmfc-preview{background:var(--fc-soft);border-radius:10px;padding:18px}
.pmfc-material-form .pmfc-form-context-note{margin:-14px 0 0 244px;color:var(--fc-muted);font-size:11px;line-height:1.6}
.pmfc .pmfc-material-form .pmfc-editor.pmfc-compose{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0}
.pmfc-material-form .pmfc-compose+.pmfc-form-context-note{display:none}
.pmfc .pmfc-material-form label.pmfc-upload-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:210px;border:1px dashed var(--fc-line);border-radius:12px;padding:23px;background:var(--fc-soft);color:var(--fc-muted);cursor:pointer;transition:background .15s,border-color .15s}
.pmfc-material-form .pmfc-upload-drop:hover,.pmfc-material-form .pmfc-upload-drop.is-dragover,.pmfc-material-form .pmfc-upload-drop.is-dragging,.pmfc-material-form .pmfc-upload-drop:focus-within{border-color:var(--fc-accent);background:color-mix(in srgb,var(--fc-accent) 6%,var(--fc-bg))}
.pmfc-material-form .pmfc-upload-drop>strong{font-size:15px;line-height:1.5;color:var(--fc-text)}
.pmfc-material-form .pmfc-upload-drop>span:not(.pmfc-upload-drop-symbol){font-size:12px}
.pmfc-material-form .pmfc-upload-drop>small{font-size:11px;max-width:100%;overflow-wrap:anywhere}
.pmfc-material-form .pmfc-upload-drop-symbol{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--fc-bg);border:1px solid var(--fc-line);color:var(--fc-accent)}
.pmfc-material-form .pmfc-upload-drop-symbol>.pmfc-icon{width:22px;height:22px}
.pmfc .pmfc-material-form .pmfc-upload-drop>input[type=file]{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;max-width:410px;width:100%;margin:3px 0;min-height:42px;border-color:var(--fc-line);background:var(--fc-bg);padding:6px;color:var(--fc-muted);font-size:11px}
.pmfc-material-form .pmfc-upload-drop input[type=file]::file-selector-button{border-color:var(--fc-line);background:var(--fc-soft);color:var(--fc-accent);font-weight:600;min-height:30px;padding:5px 11px}
.pmfc-material-form .pmfc-image-editor{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;min-width:0}
.pmfc-material-form .pmfc-image-editor:empty,.pmfc-material-form #pmfc-attached-file:empty{display:none}
.pmfc-material-form .pmfc-image-editor>.pmfc-sort-image{width:auto;min-width:0;padding:10px;border-radius:11px}
.pmfc-material-form .pmfc-image-editor img{width:100%;height:110px;object-fit:cover;border-radius:7px}
.pmfc-material-form .pmfc-image-editor .pmfc-image-number{font-size:11px}
.pmfc-material-form .pmfc-image-editor button{font-size:11px;min-height:32px}
.pmfc-material-form .pmfc-upload-row{padding:13px 15px;border:1px solid var(--fc-line);background:var(--fc-soft);border-radius:10px;overflow-wrap:anywhere;font-size:12px}
.pmfc-material-form .pmfc-upload-row>button{margin-left:auto}
.pmfc-material-form .pmfc-form-upload-status{padding:0;margin:0;color:var(--fc-accent);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.pmfc-material-form .pmfc-form-upload-status:empty{display:none}
.pmfc-material-form .pmfc-form-upload-status:not(:empty){padding:12px 18px;background:var(--fc-bg);border:1px solid var(--fc-line);border-left:3px solid var(--fc-accent);border-radius:10px}
.pmfc .pmfc-material-form label.pmfc-form-check{margin-left:244px;align-items:flex-start;gap:10px;color:var(--fc-text);font-size:13px;line-height:1.6}
.pmfc-material-form .pmfc-form-check>input{flex:0 0 17px;margin-top:3px}
.pmfc-material-form .pmfc-form-author{display:flex;align-items:center;gap:10px;padding:11px 13px;min-height:44px;border:1px solid var(--fc-line);border-radius:9px;background:var(--fc-soft);color:var(--fc-text);font-size:13px}
.pmfc-material-form .pmfc-form-author>.pmfc-icon{color:var(--fc-muted)}
.pmfc .pmfc-material-form details.pmfc-form-advanced{display:block;padding:0;overflow:hidden}
.pmfc-material-form .pmfc-form-advanced>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:22px 32px;margin:0;color:var(--fc-text);font-size:15px;list-style:none}
.pmfc-material-form .pmfc-form-advanced>summary::-webkit-details-marker{display:none}
.pmfc-material-form .pmfc-form-advanced>summary>span{display:flex;align-items:center;gap:10px}
.pmfc-material-form .pmfc-form-advanced>summary>span>.pmfc-icon{color:var(--fc-accent)}
.pmfc-material-form .pmfc-form-advanced>summary::after{content:'+';margin-left:auto;font-size:20px;font-weight:400;color:var(--fc-accent);line-height:1}
.pmfc-material-form .pmfc-form-advanced[open]>summary::after{content:'−'}
.pmfc-material-form .pmfc-form-advanced>summary>small{font-size:11px;font-weight:400;margin-left:auto}
.pmfc-material-form .pmfc-form-advanced-content{display:grid;gap:22px;padding:24px 32px;border-top:1px solid var(--fc-line);min-width:0}
.pmfc-material-form .pmfc-seo-url{display:block;min-width:0;padding:11px 13px;border:1px solid var(--fc-line);border-radius:9px;background:var(--fc-soft);font-size:12px;color:var(--fc-muted);overflow-wrap:anywhere}
.pmfc-material-form .pmfc-moderation-actions{margin-left:244px}
.pmfc-material-form .pmfc-material-delete-slot:empty{display:none}
.pmfc-material-form .pmfc-material-delete-slot{padding:0 4px}
.pmfc-material-form .pmfc-material-savebar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;border:1px solid var(--fc-line);border-radius:14px;background:var(--fc-bg);box-shadow:0 6px 30px #0002}
.pmfc-material-form .pmfc-material-save-status{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;color:var(--fc-muted);line-height:1.5}
.pmfc-material-form .pmfc-save-dot{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:var(--fc-accent)}
.pmfc-material-form .pmfc-material-savebar .pmfc-actions{width:auto;flex-shrink:0;gap:9px}
.pmfc-material-form .pmfc-material-savebar .pmfc-button,.pmfc-material-form .pmfc-material-savebar button{min-height:43px;white-space:normal;overflow-wrap:normal;font-size:12px}
.pmfc-material-form .pmfc-material-savebar .pmfc-primary{min-width:185px;color:var(--bg0,#fff)}
.pmfc-admin .pmfc-material-form .pmfc-material-savebar .pmfc-primary{color:#fff}
.pmfc-material-form .pmfc-form-cancel{background:transparent}
.pmfc-material-form .pmfc-required{color:var(--fc-accent)}
@media(max-width:1100px){.pmfc-material-form .pmfc-material-savebar{align-items:flex-start;flex-direction:column;gap:12px}.pmfc-material-form .pmfc-material-savebar .pmfc-actions{width:100%;justify-content:flex-end}.pmfc-material-form .pmfc-material-form-heading{padding:24px}.pmfc .pmfc-material-form .pmfc-form-section{padding:24px}.pmfc-material-form .pmfc-form-advanced-content{padding:24px}.pmfc-material-form .pmfc-form-advanced>summary{padding:21px 24px}}
@media(max-width:850px){.pmfc .pmfc-material-form .pmfc-editor-row,.pmfc .pmfc-material-form .pmfc-editor:not(.pmfc-compose){grid-template-columns:minmax(0,1fr);gap:8px}.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>label{grid-column:1;grid-row:auto;padding:0}.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>textarea,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>small,.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-preview{grid-column:1}.pmfc-material-form #pmfc-category-field{padding-left:0}.pmfc-material-form #pmfc-category-field>legend{position:static;width:auto;max-width:100%;margin:0 0 8px}.pmfc-material-form .pmfc-form-context-note{margin:-12px 0 0}.pmfc .pmfc-material-form label.pmfc-form-check,.pmfc-material-form .pmfc-moderation-actions{margin-left:0}.pmfc-material-form .pmfc-editor-row>.pmfc-editor-label,.pmfc-material-form label.pmfc-editor-row>span:first-child:not(.pmfc-editor-control){padding:0}.pmfc-material-form .pmfc-form-advanced>summary>small{display:none}}
@media(max-width:550px){.pmfc .pmfc-form.pmfc-material-form{gap:16px}.pmfc-material-form .pmfc-material-form-heading{padding:19px;gap:14px;flex-direction:column;border-radius:13px}.pmfc-material-form .pmfc-material-form-heading h1{font-size:25px}.pmfc-material-form .pmfc-form-state{flex-direction:row;align-items:center;gap:10px}.pmfc .pmfc-material-form .pmfc-form-section{padding:20px 16px;gap:20px;border-radius:13px}.pmfc-material-form .pmfc-form-section-heading{padding-bottom:16px}.pmfc-material-form .pmfc-form-section-heading h2,.pmfc .pmfc-material-form fieldset.pmfc-form-section>legend{font-size:17px}.pmfc .pmfc-material-form label.pmfc-upload-drop{padding:18px 12px;min-height:210px}.pmfc-material-form .pmfc-upload-drop>strong{font-size:14px}.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools{padding:7px;gap:5px}.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>.pmfc-editor-tools button{padding:5px 7px;font-size:10px}.pmfc-material-form .pmfc-editor:not(.pmfc-compose)>textarea{padding:12px;font-size:12px}.pmfc-material-form .pmfc-image-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pmfc-material-form .pmfc-image-editor img{height:96px}.pmfc-material-form .pmfc-form-advanced>summary{padding:18px 16px;font-size:14px}.pmfc-material-form .pmfc-form-advanced-content{padding:20px 16px;gap:20px}.pmfc-material-form .pmfc-material-savebar{bottom:8px;padding:13px;border-radius:12px;gap:10px}.pmfc-material-form .pmfc-material-savebar .pmfc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pmfc-material-form .pmfc-material-savebar .pmfc-actions>*{min-width:0;font-size:11px;padding:8px}.pmfc-material-form .pmfc-material-savebar .pmfc-primary{grid-column:1/-1;min-height:44px;font-size:12px}.pmfc-material-form .pmfc-material-save-status{font-size:11px}.pmfc-material-form .pmfc-form-upload-status:not(:empty){padding:12px}}
@media(prefers-reduced-motion:reduce){.pmfc-material-form .pmfc-upload-drop{transition:none}}
@media(max-width:800px){.page.pmfc-site-layout.pmfc-edit-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"content" "right"}}
