
/* Patchwork.bg — Author application */

/* Remove Kadence's duplicate page title/card only on this shortcode page. */
body.pw-author-application-page .entry-header,
body.pw-author-application-page .entry-title,
body.pw-author-application-page .page-header { display:none!important; }
body.pw-author-application-page .content-bg,
body.pw-author-application-page .site-main > article,
body.pw-author-application-page .entry-content-wrap { background:transparent!important; box-shadow:none!important; }
body.pw-author-application-page .entry-content-wrap { padding:0!important; }
body.pw-author-application-page .entry-content { margin:0!important; }
body.pw-author-application-page .content-area { margin-top:0!important; margin-bottom:0!important; }

.pw-join{background:#FCFAF6;color:#2B2B2B;font-size:15px;line-height:1.6}
.pw-join-container{width:min(1280px,calc(100% - 48px));margin:0 auto}

/* HERO */
.pw-join-hero{position:relative;overflow:hidden;padding:64px 0 58px;background:#F7F4EF}
.pw-join-hero-art{position:absolute;left:-155px;top:18px;width:360px;opacity:.42;transform:rotate(-5deg);pointer-events:none;z-index:0}
.pw-join-hero-art img{display:block;width:100%;height:auto}
.pw-join-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.78fr);gap:78px;align-items:center}
.pw-join-hero-copy{padding-left:86px}
.pw-join-kicker{margin-bottom:12px;color:#3F7F89;font-size:13px;font-weight:700;letter-spacing:1.6px}
.pw-join-hero h1{margin:0!important;font-family:"Cormorant Garamond",serif!important;font-size:clamp(62px,6vw,82px);line-height:.92;font-weight:600!important}
.pw-join-coral-line{width:60px;height:3px;margin:20px 0;background:#D96767}
.pw-join-hero-copy p{max-width:560px;margin:0 0 10px;color:#595959;font-size:16px;line-height:1.7}
.pw-join-process{padding:30px 34px;background:#E7F2F3;border:1px solid rgba(63,127,137,.18);border-radius:10px}
.pw-join-process h2{margin:0 0 20px!important;font-family:"Cormorant Garamond",serif!important;font-size:29px;line-height:1.1}
.pw-process-item{display:grid;grid-template-columns:44px 1fr;gap:15px;margin-bottom:17px}
.pw-process-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#3F7F89;color:#fff;font-size:17px}
.pw-process-item strong{display:block;margin-bottom:2px;font-size:14px}
.pw-process-item div span{display:block;color:#647174;font-size:13px;line-height:1.5}

/* CONTENT */
.pw-join-content{padding:34px 0 84px}
.pw-join-form{margin:0}
.pw-step{display:grid;grid-template-columns:225px minmax(0,1fr);gap:34px;padding:18px 0}
.pw-step-side{position:relative;padding-left:58px;padding-right:8px;min-width:0}
.pw-step-circle{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#E7F2F3;color:#3F7F89;font-size:14px;font-weight:700}
.pw-step-side h2{margin:0 0 10px!important;font-family:"Cormorant Garamond",serif!important;font-size:24px;line-height:1.12;font-weight:600!important;overflow-wrap:normal;word-break:normal;hyphens:none}
.pw-step-side p{margin:0;color:#737373;font-size:13px;line-height:1.55}
.pw-step-panel{padding:26px 28px 10px;background:#fff;border:1px solid #EAE5DE;border-radius:8px;box-shadow:0 5px 18px rgba(43,43,43,.03)}
.pw-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
.pw-field{margin-bottom:18px;min-width:0}
.pw-field label{display:block;margin-bottom:7px;font-size:14px;font-weight:700;line-height:1.35}
.pw-field b,.pw-check b{color:#D96767}
.pw-field input,.pw-field textarea,.pw-field select{width:100%;min-height:46px;padding:11px 13px;border:1px solid #D7DEE0;border-radius:4px;background:#fff;color:#2B2B2B;font-family:inherit;font-size:14px;line-height:1.45;box-sizing:border-box}
.pw-field textarea{resize:vertical}
.pw-field input:focus,.pw-field textarea:focus,.pw-field select:focus{outline:none;border-color:#3F7F89;box-shadow:0 0 0 3px rgba(63,127,137,.08)}
.pw-field small{display:block;margin-top:6px;color:#848484;font-size:12px;line-height:1.45}

/* PUBLIC + GDPR */
.pw-public-panel,.pw-gdpr-panel{background:#EDF7F7;border-color:#D4E9E9}
.pw-check{display:grid;grid-template-columns:19px minmax(0,1fr);gap:10px;margin:0 0 14px;color:#565656;font-size:13px;line-height:1.55;cursor:pointer}
.pw-check input{margin-top:3px}
.pw-check small{display:block;margin-top:3px;color:#809093;font-size:12px}
.pw-gdpr-panel{font-size:13px;line-height:1.65}
.pw-gdpr-panel p{margin-top:0}
.pw-gdpr-panel li{margin-bottom:6px}
.pw-gdpr-panel a{color:#3F7F89;font-weight:700}

/* WORKS */
.pw-works-panel{padding:0;border:0;background:transparent;box-shadow:none}
.pw-work-repeater{display:grid;gap:18px}
.pw-work-card{padding:25px 27px 9px;background:#fff;border:1px solid #EAE5DE;border-radius:8px;box-shadow:0 5px 18px rgba(43,43,43,.025)}
.pw-work-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.pw-work-head strong{font-size:14px;color:#3F7F89}
.pw-work-badge{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin-right:8px;border-radius:50%;background:#3F7F89;color:#fff;font-size:11px;font-weight:700}
.pw-remove-work{border:0;background:transparent;color:#D96767;font:600 12px/1.2 inherit;cursor:pointer}
.pw-add-work{width:100%;min-height:50px;margin-top:16px;border:1px dashed #3F7F89;border-radius:5px;background:#F9FCFC;color:#3F7F89;font:700 14px/1.2 inherit;cursor:pointer}
.pw-add-work:hover{background:#E7F2F3}

/* FINAL */
.pw-final-note{margin-top:19px;padding:14px 16px;border:1px solid #F1CCC5;border-radius:5px;background:#FFF5F1;color:#7B5A54;font-size:13px;line-height:1.55}
.pw-submit-wrap{text-align:center;margin-top:22px}
.pw-submit{min-height:50px;padding:12px 30px;border:0;border-radius:5px;background:#D96767;color:#fff;font:700 15px/1.2 inherit;cursor:pointer}
.pw-submit:hover{background:#3F7F89}

/* STATUS */
.pw-join-error,.pw-join-success{max-width:850px;margin:28px auto;padding:24px;border-radius:8px}
.pw-join-error{background:#FFF1EE;border:1px solid rgba(217,103,103,.28);color:#8D4E49;font-size:14px}
.pw-join-success{background:#E7F2F3;border:1px solid #D4E9E9;text-align:center}
.pw-join-success-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 15px;border-radius:50%;background:#3F7F89;color:#fff;font-size:24px}
.pw-join-success h2{font-family:"Cormorant Garamond",serif!important;font-size:46px;margin:6px 0 15px!important}
.pw-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}


.pw-work-sale-box{margin:4px 0 18px;padding:16px 18px;border:1px solid #dfe7e1;border-radius:8px;background:#f8faf8}.pw-work-sale-check{margin:0}.pw-work-price{margin-top:14px}.pw-price-input-wrap{display:flex;align-items:stretch;max-width:280px}.pw-price-input-wrap input{min-width:0;border-radius:6px 0 0 6px!important}.pw-price-input-wrap span{display:flex;align-items:center;justify-content:center;min-width:42px;padding:0 11px;border:1px solid #d6d8d4;border-left:0;border-radius:0 6px 6px 0;background:#f0eee9;color:#526065;font-weight:800}.pw-work-price[hidden]{display:none!important}
@media(max-width:1050px){
  .pw-join-hero-grid{grid-template-columns:1fr;gap:32px}
  .pw-join-hero-copy{padding-left:62px}
  .pw-step{grid-template-columns:190px minmax(0,1fr);gap:26px}
  .pw-step-side{padding-left:52px}
  .pw-step-side h2{font-size:23px}
}

@media(max-width:760px){
  body.pw-author-application-page .entry-content-wrap{padding:0!important}
  .pw-join-container{width:calc(100% - 30px)}
  .pw-join-hero{padding:46px 0 40px}
  .pw-join-hero-art{left:-115px;top:58px;width:250px;opacity:.24}
  .pw-join-hero-copy{padding-left:0}
  .pw-join-hero h1{font-size:54px}
  .pw-join-hero-copy p{font-size:15px}
  .pw-join-process{padding:24px 22px}
  .pw-step{display:block;padding:18px 0}
  .pw-step-side{padding:0 0 14px 56px;min-height:45px}
  .pw-step-side h2{font-size:23px;line-height:1.08}
  .pw-step-side p{font-size:13px}
  .pw-step-panel{padding:21px 18px 6px}
  .pw-fields-grid{grid-template-columns:1fr;gap:0}
  .pw-field label{font-size:14px}
  .pw-field input,.pw-field textarea,.pw-field select{font-size:16px}
  .pw-submit{width:100%}
}


/* v0.3.0 refinements */
body.pw-author-application-page .entry-hero,
body.pw-author-application-page .entry-header,
body.pw-author-application-page h1.entry-title,
body.pw-author-application-page .entry-hero-container-inner,
body.pw-author-application-page .content-title {
  display:none !important;
}
body.pw-author-application-page .content-container,
body.pw-author-application-page .site-main,
body.pw-author-application-page .entry-content-wrap{
  padding-top:0 !important;
}
.pw-step{grid-template-columns:250px minmax(0,1fr)}
.pw-step-side h2{font-size:26px}
.pw-success-shell{padding:10px 0 84px}
.pw-success-card{position:relative;display:grid;grid-template-columns:minmax(240px,370px) minmax(0,1fr);align-items:center;gap:34px;overflow:hidden;padding:34px 38px;border:1px solid #DCEBEC;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(43,43,43,.05)}
.pw-success-art{display:flex;align-items:center;justify-content:center;padding:18px;border-radius:14px;background:linear-gradient(180deg,#F8FBFB 0%,#EEF6F6 100%)}
.pw-success-art img{display:block;max-width:100%;height:auto}
.pw-success-copy h2{margin:8px 0 14px!important;font-family:"Cormorant Garamond",serif!important;font-size:54px;line-height:.95;font-weight:600!important}
.pw-success-copy p{margin:0 0 12px;color:#5A5A5A;font-size:16px;line-height:1.7}
.pw-success-notes{display:grid;gap:10px;margin:20px 0 26px}
.pw-success-note{display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:start;padding:12px 14px;border:1px solid #E5EFEF;border-radius:10px;background:#F8FBFB}
.pw-success-note strong{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#3F7F89;color:#fff;font-size:14px;line-height:1}
.pw-success-note span{display:block;padding-top:4px;color:#4F4F4F;font-size:14px;line-height:1.5}
.pw-success-actions{display:flex;flex-wrap:wrap;gap:12px}
.pw-success-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:8px;background:#3F7F89;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none!important}
.pw-success-btn:hover{background:#356A72;color:#fff!important}
.pw-success-btn-secondary{background:transparent;border:1px solid #BFD3D6;color:#3F7F89!important}
.pw-success-btn-secondary:hover{background:#EDF7F7;color:#3F7F89!important}
@media(max-width:1050px){
  .pw-success-card{grid-template-columns:1fr;gap:24px;padding:28px}
}
@media(max-width:760px){
  .pw-step{grid-template-columns:1fr}
  .pw-success-shell{padding:8px 0 56px}
  .pw-success-card{padding:22px 18px;border-radius:12px}
  .pw-success-copy h2{font-size:42px}
  .pw-success-actions{flex-direction:column}
  .pw-success-btn{width:100%}
}

.pw-join-content-success{padding-top:44px;}
@media(max-width:760px){.pw-join-content-success{padding-top:28px;}}
.pw-client-form-error{display:none;margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#fff2f2;color:#8b2f2f;font-weight:600}.pw-submit:disabled{opacity:.7;cursor:wait}
.pw-existing-author-link{max-width:1180px;margin:16px auto 0;padding:10px 18px;text-align:right;font-size:14px}.pw-existing-author-link a{font-weight:700}

/* Selected image previews */
.pw-file-preview{margin-top:12px;padding:12px;border:1px solid rgba(63,127,137,.22);border-radius:14px;background:#fff}.pw-file-preview[hidden]{display:none}.pw-file-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;font-size:13px}.pw-file-preview-head span{color:#6e6e6e}.pw-file-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pw-file-preview-item{min-width:0;border:1px solid #eee8df;border-radius:12px;overflow:hidden;background:#f7f4ef}.pw-file-preview-item img{width:100%;height:110px;object-fit:cover;display:block}.pw-file-preview-meta{padding:8px;display:flex;flex-direction:column;gap:3px}.pw-file-name{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pw-file-sub{font-size:11px;color:#6e6e6e}.pw-file-remove,.pw-file-clear{border:0;background:transparent;color:#d96767;padding:3px 0;text-align:left;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.pw-file-clear{margin-top:9px;color:#3f7f89}.pw-join-info{border-color:#8fb7bc;background:#eef7f7}.pw-join-info a{font-weight:700;color:#3f7f89}
@media(max-width:700px){.pw-file-preview-grid{grid-template-columns:1fr}.pw-file-preview-item{display:grid;grid-template-columns:86px 1fr}.pw-file-preview-item img{height:86px}.pw-file-preview-meta{justify-content:center}}

.pw-existing-author-cta{margin:0 0 28px;padding:18px 20px;border:1px solid rgba(63,127,137,.24);border-radius:16px;background:#eef6f6;display:flex;gap:10px 16px;align-items:center;flex-wrap:wrap}.pw-existing-author-cta strong{color:#2B2B2B}.pw-existing-author-cta span{flex:1 1 420px;color:#555}.pw-existing-author-cta a{font-weight:700;color:#3F7F89;text-decoration:none}.pw-existing-author-cta a:hover{text-decoration:underline}
.pw-file-error{margin-top:8px;padding:9px 11px;border-radius:8px;background:#fff0ed;color:#9b2f23;font-size:.86rem;font-weight:650}.pw-file-error[hidden]{display:none}.pw-other-category-detail{display:block;width:100%;margin-top:9px}.pw-other-category-detail[hidden]{display:none}
/* 1.10.6: persistent author-application drafts. */
.pw-submit-wrap-dual{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.pw-save-draft{appearance:none;border:1px solid #3f7f89;background:#fff;color:#315f66;border-radius:999px;padding:11px 18px;font:inherit;font-weight:700;cursor:pointer}
.pw-save-draft:hover{background:#f2f8f8}.pw-save-draft:disabled{opacity:.6;cursor:wait}
.pw-draft-saved-images{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:9px}.pw-draft-saved-images>small{width:100%;color:#667}
.pw-draft-image-thumb{display:inline-flex;width:58px;height:58px;border-radius:8px;overflow:hidden;border:1px solid #d8dfdf;background:#fff}.pw-draft-image-thumb img{width:100%;height:100%;object-fit:cover}
@media(max-width:680px){.pw-submit-wrap-dual{justify-content:stretch}.pw-save-draft,.pw-submit-wrap-dual .pw-submit{width:100%}}
.pw-draft-image-thumb{width:92px;height:auto;display:grid;grid-template-rows:58px auto;overflow:visible;padding:0;background:#fff}
.pw-draft-image-thumb img{width:92px;height:58px;border-radius:8px 8px 0 0;object-fit:cover}
.pw-draft-remove{display:flex;gap:5px;align-items:center;padding:5px 6px;font-size:11px;color:#7a4a4a;white-space:nowrap}

/* 1.10.34: iOS-safe mobile form controls. Keep text-entry controls at 16px even when theme CSS is more specific. */
@media(max-width:760px){
  body.pw-author-application-page #pw-author-form input[type="text"],
  body.pw-author-application-page #pw-author-form input[type="email"],
  body.pw-author-application-page #pw-author-form input[type="tel"],
  body.pw-author-application-page #pw-author-form input[type="url"],
  body.pw-author-application-page #pw-author-form input[type="number"],
  body.pw-author-application-page #pw-author-form input[type="date"],
  body.pw-author-application-page #pw-author-form input[type="time"],
  body.pw-author-application-page #pw-author-form input[type="datetime-local"],
  body.pw-author-application-page #pw-author-form input[type="search"],
  body.pw-author-application-page #pw-author-form input:not([type]),
  body.pw-author-application-page #pw-author-form select,
  body.pw-author-application-page #pw-author-form textarea{font-size:16px!important;}
}

/* 1.10.35 — author profile layout/theme chooser. */
.pw-profile-style-choice{margin:0 0 24px;padding:18px;border:1px solid rgba(63,127,137,.2);border-radius:16px;background:#f8fbfb}
.pw-profile-style-choice>div:first-child{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}
.pw-profile-style-choice small{color:#687477}
.pw-profile-layout-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.pw-profile-layout-options label{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #d9e3e3;border-radius:12px;background:#fff;cursor:pointer}
.pw-profile-layout-options input{margin-top:3px}
.pw-profile-layout-options span{display:flex;flex-direction:column;gap:3px}
.pw-profile-theme-select{display:grid;grid-template-columns:minmax(160px,.55fr) minmax(0,1fr);align-items:center;gap:12px}
@media(max-width:700px){.pw-profile-layout-options{grid-template-columns:1fr}.pw-profile-theme-select{grid-template-columns:1fr}.pw-profile-style-choice{padding:14px}}


/* 1.10.36 – visual layout/theme preview during first author application */
.pw-profile-layout-mockups .pw-layout-card{position:relative;display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:center;padding:10px}.pw-layout-card>input{position:absolute;top:10px;right:10px}.pw-layout-card:has(input:checked){border-color:#3f7f89;box-shadow:0 0 0 2px rgba(63,127,137,.08)}.pw-layout-preview{height:86px;border-radius:10px;overflow:hidden;background:#f8f3ed;display:grid;gap:4px;padding:6px}.pw-layout-preview i{display:block;border-radius:4px}.pw-layout-preview-classic{grid-template-columns:36% 64%;grid-template-rows:34% 24% 42%}.pw-layout-preview-classic i:nth-child(1){grid-row:1/3;background:#d8b6a8}.pw-layout-preview-classic i:nth-child(2){background:#cfe1df}.pw-layout-preview-classic i:nth-child(3){grid-column:1/3;background:#efe2d8}.pw-layout-preview-classic i:nth-child(4){grid-column:1/3;background:#e6eceb}.pw-layout-preview-works{grid-template-columns:1.6fr 1fr 1fr;grid-template-rows:1fr 1fr}.pw-layout-preview-works i:first-child{grid-row:1/3;background:#b8d2cf}.pw-layout-preview-works i:nth-child(2),.pw-layout-preview-works i:nth-child(4){background:#e3b7a7}.pw-layout-preview-works i:nth-child(3),.pw-layout-preview-works i:nth-child(5){background:#dce7da}.pw-layout-copy{display:flex!important;flex-direction:column;gap:4px}.pw-profile-theme-choice{display:flex;flex-direction:column;gap:9px}.pw-profile-theme-choice>span{font-weight:700}.pw-theme-swatches{display:flex;gap:8px;flex-wrap:wrap}.pw-theme-swatches label{display:inline-flex!important;padding:0!important;border:0!important;background:transparent!important}.pw-theme-swatches input{position:absolute!important;opacity:0;pointer-events:none}.pw-theme-swatches label>span{display:inline-flex!important;padding:8px 11px;border:2px solid transparent;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer}.pw-theme-swatches input:checked+span{border-color:#2f3a3c}.pw-theme-swatches .is-teal{background:#dceceb}.pw-theme-swatches .is-coral{background:#f5dcd5}.pw-theme-swatches .is-sage{background:#dfe9e1}.pw-theme-swatches .is-blue{background:#dce8ef}.pw-work-featured-check{margin:12px 0;padding:12px 14px;border:1px dashed rgba(63,127,137,.28);border-radius:12px;background:#fbfdfd}@media(max-width:700px){.pw-profile-layout-mockups .pw-layout-card{grid-template-columns:105px 1fr}.pw-layout-preview{height:74px}}

/* 1.10.37 — clearer layout/theme chooser previews */
.pw-manager-layout-card>input,.pw-layout-card>input{position:absolute!important;opacity:0!important;pointer-events:none!important}.pw-manager-layout-card:has(input:checked)::after,.pw-layout-card:has(input:checked)::after{content:"✓";position:absolute;right:10px;top:10px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#3f7f89;color:#fff;font-weight:800;font-size:13px}.pw-manager-layout-preview,.pw-layout-preview{position:relative;border:1px solid rgba(39,48,51,.08);box-shadow:inset 0 0 0 2px rgba(255,255,255,.6)}.pw-manager-layout-preview:before,.pw-layout-preview:before{content:"";position:absolute;left:7px;top:7px;width:17px;height:17px;border-radius:50%;background:#fff;border:3px solid rgba(63,127,137,.35);z-index:3}.pw-manager-layout-preview.is-classic,.pw-layout-preview-classic{grid-template-columns:32% 68%;grid-template-rows:30% 22% 48%;padding:7px}.pw-manager-layout-preview.is-classic i:nth-child(1),.pw-layout-preview-classic i:nth-child(1){grid-row:1/3;border-radius:50%;margin:3px;background:#d8b6a8}.pw-manager-layout-preview.is-classic i:nth-child(2),.pw-layout-preview-classic i:nth-child(2){background:linear-gradient(90deg,#cfe1df 68%,transparent 68%)}.pw-manager-layout-preview.is-classic i:nth-child(3),.pw-layout-preview-classic i:nth-child(3){grid-column:1/3;background:repeating-linear-gradient(180deg,#efe2d8 0 5px,#f8f3ed 5px 9px)}.pw-manager-layout-preview.is-classic i:nth-child(4),.pw-layout-preview-classic i:nth-child(4){grid-column:1/3;background:linear-gradient(90deg,#dfeaea 24%,transparent 24% 27%,#dfeaea 27% 51%,transparent 51% 54%,#dfeaea 54% 78%,transparent 78% 81%,#dfeaea 81%)}.pw-manager-layout-preview.is-works,.pw-layout-preview-works{grid-template-columns:1.55fr .7fr .7fr;grid-template-rows:1fr 1fr;padding:7px}.pw-manager-layout-preview.is-works i:first-child,.pw-layout-preview-works i:first-child{grid-row:1/3;background:linear-gradient(145deg,#83aaa5,#d7e6e2)}.pw-manager-layout-preview.is-works i:nth-child(2),.pw-layout-preview-works i:nth-child(2){background:#e8b7a7}.pw-manager-layout-preview.is-works i:nth-child(3),.pw-layout-preview-works i:nth-child(3){background:#d7e4d5}.pw-manager-layout-preview.is-works i:nth-child(4),.pw-layout-preview-works i:nth-child(4){background:#c7dbe5}.pw-manager-layout-preview.is-works i:nth-child(5),.pw-layout-preview-works i:nth-child(5){background:#eed7c9}.pw-manager-theme-swatches label>span,.pw-theme-swatches label>span{position:relative;padding-left:30px!important}.pw-manager-theme-swatches label>span:before,.pw-theme-swatches label>span:before{content:"";position:absolute;left:7px;top:50%;transform:translateY(-50%);width:15px;height:15px;border-radius:5px;background:linear-gradient(135deg,currentColor 0 42%,rgba(255,255,255,.78) 42% 68%,rgba(0,0,0,.12) 68%);border:1px solid rgba(0,0,0,.08)}


/* 1.10.40 — real, readable mini previews for profile layout choice */
.pw-profile-layout-mockups{min-width:0}.pw-profile-layout-mockups .pw-layout-card{grid-template-columns:145px minmax(0,1fr);min-width:0;overflow:hidden}.pw-layout-preview{width:145px!important;min-width:145px!important;height:96px!important;min-height:96px!important}.pw-layout-preview i{min-width:10px;min-height:10px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}.pw-layout-preview-classic:after{content:"история";position:absolute;left:46px;bottom:8px;font-size:8px;font-weight:800;color:#617174;letter-spacing:.04em}.pw-layout-preview-works:after{content:"портфолио";position:absolute;left:8px;bottom:7px;padding:2px 4px;border-radius:4px;background:rgba(255,255,255,.82);font-size:7px;font-weight:800;color:#45656b}.pw-theme-swatches label>span{min-height:36px;align-items:center}
@media(max-width:700px){.pw-profile-layout-mockups .pw-layout-card{grid-template-columns:118px minmax(0,1fr)}.pw-layout-preview{width:118px!important;min-width:118px!important;height:80px!important;min-height:80px!important}.pw-step-panel,.pw-profile-style-choice{min-width:0;max-width:100%;overflow:hidden}}
/* 1.10.44 — live mini-preview reacts to the selected theme. */
.pw-profile-style-choice[data-preview-theme="teal"] .pw-layout-preview{--pp-a:#3f7f89;--pp-b:#dceceb;--pp-c:#f3e7dc}
.pw-profile-style-choice[data-preview-theme="coral"] .pw-layout-preview{--pp-a:#c96859;--pp-b:#f5dcd5;--pp-c:#f7ebe4}
.pw-profile-style-choice[data-preview-theme="sage"] .pw-layout-preview{--pp-a:#667f6f;--pp-b:#dfe9e1;--pp-c:#eef3ed}
.pw-profile-style-choice[data-preview-theme="blue"] .pw-layout-preview{--pp-a:#4d728d;--pp-b:#dce8ef;--pp-c:#edf4f8}
.pw-profile-style-choice .pw-layout-preview{background:linear-gradient(145deg,#fff,var(--pp-c,#f8f3ed));transition:.2s ease;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pp-a,#3f7f89) 18%,transparent)}
.pw-profile-style-choice .pw-layout-preview:before{border-color:color-mix(in srgb,var(--pp-a,#3f7f89) 45%,#fff)!important}
.pw-profile-style-choice .pw-layout-preview-classic i:nth-child(2),.pw-profile-style-choice .pw-layout-preview-works i:first-child{background:linear-gradient(145deg,var(--pp-a,#3f7f89),var(--pp-b,#dceceb))!important}
.pw-profile-style-choice .pw-layout-preview-classic i:nth-child(3){background:repeating-linear-gradient(180deg,var(--pp-c,#efe2d8) 0 5px,#fff 5px 9px)!important}
.pw-profile-style-choice .pw-layout-preview.is-selected-preview{outline:2px solid var(--pp-a,#3f7f89);outline-offset:2px;transform:translateY(-1px)}

/* 1.10.45 — real live preview of the selected author profile layout/theme. */
.pw-profile-live-preview{margin-top:18px;padding:14px;border:1px solid color-mix(in srgb,var(--pp-a,#3f7f89) 28%,#d9d4cd);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(38,50,53,.06)}
.pw-profile-live-preview[data-theme="teal"]{--pp-a:#3f7f89;--pp-b:#dceceb;--pp-c:#f4eee7;--pp-d:#df7d68}.pw-profile-live-preview[data-theme="coral"]{--pp-a:#b95f50;--pp-b:#f6ddd5;--pp-c:#fff1ea;--pp-d:#3f7f89}.pw-profile-live-preview[data-theme="sage"]{--pp-a:#607b69;--pp-b:#dfe9e1;--pp-c:#f0f5ef;--pp-d:#c47761}.pw-profile-live-preview[data-theme="blue"]{--pp-a:#4c708a;--pp-b:#dce8ef;--pp-c:#eef5f8;--pp-d:#d47766}
.pw-live-preview-label{font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--pp-a,#3f7f89);margin-bottom:9px}.pw-profile-live-preview>small{display:block;margin-top:9px;color:#697174;font-size:12px}
.pw-live-preview-canvas{display:grid;grid-template-columns:84px minmax(0,1fr);min-height:220px;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#fff 0,var(--pp-c,#f4eee7) 100%);border:1px solid color-mix(in srgb,var(--pp-a,#3f7f89) 16%,#fff)}
.pw-live-preview-side{padding:13px 10px;background:color-mix(in srgb,var(--pp-b,#dceceb) 65%,#fff);display:flex;flex-direction:column;gap:8px}.pw-live-preview-side span{display:block;height:22px;border-radius:8px;background:#fff;border:1px solid color-mix(in srgb,var(--pp-a,#3f7f89) 16%,#fff)}
.pw-live-preview-main{padding:14px;min-width:0}.pw-live-preview-hero{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border-radius:13px;background:#fff9}.pw-live-avatar{display:block;width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,var(--pp-b,#dceceb),var(--pp-a,#3f7f89));border:4px solid #fff}.pw-live-preview-hero div{min-width:0}.pw-live-preview-hero b{display:block;font-family:Georgia,serif;font-size:18px;color:#273033;line-height:1.05}.pw-live-preview-hero em{display:block;font-style:normal;font-size:10px;color:var(--pp-a,#3f7f89);margin:4px 0}.pw-live-preview-hero span{display:block;height:5px;border-radius:999px;background:#dfe3e3;margin-top:5px}.pw-live-preview-hero span:last-child{width:72%}
.pw-live-preview-classic,.pw-live-preview-works{margin-top:10px}.pw-live-story{padding:10px;border-radius:12px;background:#fff}.pw-live-story strong{display:block;font-family:Georgia,serif;font-size:13px;margin-bottom:6px}.pw-live-story i{display:block;height:5px;border-radius:999px;background:#e2e3df;margin:4px 0}.pw-live-story i:nth-of-type(2){width:88%}.pw-live-story i:nth-of-type(3){width:70%}.pw-live-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.pw-live-thumbs i{display:block;aspect-ratio:1.25;border-radius:8px;background:linear-gradient(145deg,var(--pp-b,#dceceb),var(--pp-d,#df7d68))}
.pw-live-preview-works{display:none}.pw-live-mosaic{display:grid;grid-template-columns:1.45fr .72fr .72fr;grid-template-rows:1fr 1fr;gap:6px;height:112px}.pw-live-mosaic i{display:block;border-radius:9px;background:linear-gradient(145deg,var(--pp-a,#3f7f89),var(--pp-b,#dceceb))}.pw-live-mosaic i:first-child{grid-row:1/3}.pw-live-mosaic i:nth-child(2){background:linear-gradient(145deg,var(--pp-d,#df7d68),#f7d9cf)}.pw-live-mosaic i:nth-child(3){background:linear-gradient(145deg,#d9e7d8,var(--pp-a,#3f7f89))}.pw-live-mosaic i:nth-child(4){background:linear-gradient(145deg,#f2e2cf,var(--pp-d,#df7d68))}.pw-live-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.pw-live-cats i{display:block;height:30px;border-radius:9px;background:#fff;border:1px solid color-mix(in srgb,var(--pp-a,#3f7f89) 20%,#fff)}
.pw-profile-live-preview[data-layout="works"] .pw-live-preview-classic{display:none}.pw-profile-live-preview[data-layout="works"] .pw-live-preview-works{display:block}.pw-profile-live-preview[data-layout="works"] .pw-live-preview-side span:nth-child(n+3){opacity:.48}.pw-profile-live-preview[data-layout="classic"] .pw-live-preview-side span:first-child{background:color-mix(in srgb,var(--pp-a,#3f7f89) 12%,#fff)}
@media(max-width:700px){.pw-profile-live-preview{padding:11px}.pw-live-preview-canvas{grid-template-columns:58px minmax(0,1fr);min-height:190px}.pw-live-preview-side{padding:10px 7px}.pw-live-preview-side span{height:19px}.pw-live-preview-main{padding:10px}.pw-live-preview-hero{grid-template-columns:44px minmax(0,1fr);padding:8px}.pw-live-avatar{width:44px;height:44px}.pw-live-preview-hero b{font-size:15px}.pw-live-mosaic{height:92px}}

/* 1.10.46 — recognizable page mockups instead of abstract layout blocks */
.pw-profile-style-choice{--pm-a:#3f7f89;--pm-soft:#dceceb;--pm-alt:#df7d68}.pw-profile-style-choice[data-preview-theme="coral"]{--pm-a:#b95f50;--pm-soft:#f6ddd5;--pm-alt:#3f7f89}.pw-profile-style-choice[data-preview-theme="sage"]{--pm-a:#607b69;--pm-soft:#dfe9e1;--pm-alt:#c47761}.pw-profile-style-choice[data-preview-theme="blue"]{--pm-a:#4c708a;--pm-soft:#dce8ef;--pm-alt:#d47766}
.pw-profile-layout-mockups{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pw-profile-layout-mockups .pw-layout-card{grid-template-columns:1fr!important;align-items:start!important;padding:12px!important}.pw-layout-shot{width:100%!important;min-width:0!important;height:178px!important;min-height:178px!important;padding:10px!important;display:flex!important;flex-direction:column;gap:7px;background:#fbfaf7!important;border:1px solid color-mix(in srgb,var(--pm-a) 25%,#ddd)!important;box-shadow:0 8px 18px rgba(42,50,52,.07)!important}.pw-layout-shot:before,.pw-layout-shot:after{display:none!important}.pw-layout-shot *{box-sizing:border-box}.pw-shot-top,.pw-shot-compact{display:grid;grid-template-columns:42px 1fr;gap:7px;align-items:center;padding:7px;border-radius:9px;background:color-mix(in srgb,var(--pm-soft) 58%,#fff)}.pw-shot-avatar{width:40px;height:40px;border-radius:50%!important;background:linear-gradient(145deg,var(--pm-alt),var(--pm-soft))!important}.pw-shot-top span,.pw-shot-compact span{display:flex;flex-direction:column;gap:3px;min-width:0}.pw-shot-top b,.pw-shot-compact b,.pw-shot-story b,.pw-shot-featured b{font-size:8px;line-height:1;color:#344044}.pw-shot-top em,.pw-shot-compact em{font-size:6px;color:#6f7779}.pw-layout-shot u{display:block;height:4px;border-radius:8px;background:#d9dedc;text-decoration:none}.pw-shot-top u:nth-of-type(1){width:88%}.pw-shot-top u:nth-of-type(2){width:64%}.pw-shot-story{padding:8px;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:5px}.pw-shot-story u:nth-of-type(1){width:96%}.pw-shot-story u:nth-of-type(2){width:90%}.pw-shot-story u:nth-of-type(3){width:72%}.pw-shot-gallery,.pw-shot-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;min-height:44px}.pw-shot-gallery i,.pw-shot-mini i,.pw-shot-featured i{display:block;border-radius:6px;background:linear-gradient(135deg,var(--pm-soft),color-mix(in srgb,var(--pm-alt) 42%,#fff))}.pw-shot-gallery i:nth-child(2),.pw-shot-mini i:nth-child(2){background:linear-gradient(135deg,#ece2d7,var(--pm-soft))}.pw-shot-gallery i:nth-child(3),.pw-shot-mini i:nth-child(3){background:linear-gradient(135deg,var(--pm-alt),#efdacb)}.pw-shot-compact{grid-template-columns:32px 1fr;padding:6px}.pw-shot-compact .pw-shot-avatar{width:30px;height:30px}.pw-shot-featured{position:relative;display:flex;flex:1;min-height:78px;border-radius:9px;overflow:hidden;background:#fff}.pw-shot-featured i{position:absolute;inset:0;border-radius:9px;background:linear-gradient(145deg,var(--pm-a),var(--pm-soft) 55%,var(--pm-alt))}.pw-shot-featured b{position:absolute;left:7px;bottom:7px;padding:4px 6px;border-radius:5px;background:rgba(255,255,255,.88)}.pw-shot-mini{min-height:36px}.pw-layout-card:has(input:checked) .pw-layout-shot{box-shadow:0 0 0 2px color-mix(in srgb,var(--pm-a) 30%,transparent),0 10px 22px rgba(42,50,52,.09)!important}.pw-layout-copy{padding:0 2px 2px}.pw-layout-copy b{font-size:15px}.pw-layout-copy small{font-size:12px}
@media(max-width:700px){.pw-profile-layout-mockups{grid-template-columns:1fr!important}.pw-layout-shot{height:188px!important}}

/* v1.10.47 — compact static screenshot previews; no nested live preview */
.pw-profile-layout-mockups,.pw-manager-layout-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.pw-layout-card-photo,.pw-manager-layout-card.pw-layout-card-photo{display:block!important;padding:8px!important;min-width:0!important}
.pw-layout-photo,.pw-manager-layout-preview.pw-layout-photo{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:9px!important;padding:0!important;background:#fff!important;border:1px solid #ded8d0!important;box-shadow:none!important}
.pw-layout-photo:before,.pw-layout-photo:after,.pw-manager-layout-preview.pw-layout-photo:before,.pw-manager-layout-preview.pw-layout-photo:after{display:none!important}
.pw-layout-card-photo .pw-layout-copy,.pw-manager-layout-card.pw-layout-card-photo>span:last-child{display:flex!important;flex-direction:column;gap:2px;margin-top:7px;padding:0 2px}
.pw-layout-card-photo:has(input:checked),.pw-manager-layout-card.pw-layout-card-photo:has(input:checked){border-color:var(--pp-a,#3f7f89)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--pp-a,#3f7f89) 14%,transparent)!important}
.pw-profile-live-preview{display:none!important}
@media(max-width:700px){.pw-profile-layout-mockups,.pw-manager-layout-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pw-layout-card-photo,.pw-manager-layout-card.pw-layout-card-photo{padding:6px!important}.pw-layout-card-photo .pw-layout-copy b,.pw-manager-layout-card.pw-layout-card-photo strong{font-size:13px}.pw-layout-card-photo .pw-layout-copy small,.pw-manager-layout-card.pw-layout-card-photo small{font-size:10px;line-height:1.25}}

/* v1.10.67 — verification + no-data-loss notice */
.pw-email-verification-warning{margin:0 0 22px;padding:16px 18px;border:1px solid rgba(201,112,78,.34);border-left:4px solid #c9704e;border-radius:12px;background:#fff8f4;color:#383330}
.pw-email-verification-warning strong{display:block;margin-bottom:5px;font-weight:800}
.pw-email-verification-warning p{margin:0;line-height:1.55}


/* 1.10.68 — keep "Запази чернова" always reachable on mobile. */
@media(max-width:680px){
  body.pw-author-application-page #pw-author-form{padding-bottom:92px}
  body.pw-author-application-page #pw-author-form .pw-save-draft{
    position:fixed!important;
    left:50%!important;
    bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
    transform:translateX(-50%)!important;
    z-index:9990!important;
    width:min(360px,calc(100vw - 32px))!important;
    min-height:50px!important;
    margin:0!important;
    padding:12px 20px!important;
    border:1px solid #3f7f89!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.97)!important;
    color:#315f66!important;
    box-shadow:0 10px 30px rgba(39,48,51,.18)!important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
}


/* 1.10.174 — compact two-step email confirmation screens. */
.pw-author-email-waiting .pw-success-card{display:block;max-width:760px;margin:0 auto;padding:38px 42px;text-align:center}
.pw-author-email-waiting .pw-success-copy{max-width:620px;margin:0 auto}
.pw-author-email-waiting .pw-success-copy h2{font-size:44px;line-height:1.05;margin:8px 0 14px!important}
.pw-author-email-waiting .pw-success-copy p{max-width:600px;margin:0 auto 13px}
.pw-author-email-waiting .pw-join-success-icon{width:52px;height:52px;margin-bottom:14px;font-size:20px}
@media(max-width:700px){
  .pw-author-email-waiting .pw-success-card{padding:26px 20px}
  .pw-author-email-waiting .pw-success-copy h2{font-size:38px}
}

/* v1.10.175 — concise two-step author application copy */
.pw-join-success-compact{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.pw-join-success-compact p{display:none}
.pw-author-confirm-step .pw-step-circle{font-size:13px}
.pw-author-step2-heading{max-width:1160px;margin:0 auto 24px;padding:22px 26px;border:1px solid rgba(63,127,137,.22);border-radius:16px;background:#f5fafa;text-align:center}
.pw-author-step2-heading span{display:block;margin-bottom:5px;font-size:12px;font-weight:800;letter-spacing:.11em;color:#3f7f89}
.pw-author-step2-heading h2{margin:0 0 6px!important;font-size:30px;line-height:1.15}
.pw-author-step2-heading p{margin:0;color:#5c5c5c}
.pw-author-email-waiting .pw-success-card{max-width:680px;padding:32px 34px}
.pw-author-email-waiting .pw-success-copy{max-width:540px}
.pw-author-email-waiting .pw-success-copy h2{font-size:36px;line-height:1.1;margin:8px 0 12px!important}
.pw-author-email-waiting .pw-success-copy p{margin:0 auto}
@media(max-width:700px){
  .pw-author-step2-heading{margin-bottom:18px;padding:18px 16px}
  .pw-author-step2-heading h2{font-size:25px}
  .pw-author-email-waiting .pw-success-card{padding:24px 18px}
  .pw-author-email-waiting .pw-success-copy h2{font-size:30px}
}
