.pc-page{--pc-home-preview-height:70px;--pc-home-preview-width:50%}.pc-home-photo{--pc-home-photo-width:50%;--pc-home-photo-max:110px}.pc-page{--pc-bg:#061c35;--pc-end:#0d3157;--pc-accent:#f4d18a}.pc-hero,.pc-theme-preview{background:linear-gradient(135deg,var(--pc-bg),var(--pc-end));color:#fff}.pc-hero .mc-kicker{color:var(--pc-accent)}.pc-hero .mc-primary{background:var(--pc-accent);border-color:var(--pc-accent);color:#061c35}.pc-person{display:flex;gap:30px;align-items:center}.pc-person-copy{flex:1;min-width:0}.pc-portrait{width:240px;max-height:340px;height:auto;object-fit:contain;flex:none;max-width:100%;border-radius:16px;background:rgba(255,255,255,.06)}.pc-frame-circle{border-radius:50%!important;aspect-ratio:1;object-fit:contain}.pc-frame-square{border-radius:12px;aspect-ratio:1;object-fit:contain}.pc-intro{white-space:pre-wrap;overflow-wrap:anywhere}.pc-name{font-weight:700}.pc-byline{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--mc-navy);font-weight:700}.pc-author-avatar,.pc-author-initial{width:48px;height:48px;object-fit:contain;flex:none;border-radius:8px}.pc-author-initial{display:grid;place-items:center;background:#edf3f9}.pc-danger{color:#991b1b;border-color:#fecaca}.pc-crop-workspace{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:24px;align-items:start}.pc-crop-workspace canvas{display:block;max-width:100%;height:auto;background:repeating-conic-gradient(#eef2f7 0% 25%,white 0% 50%) 50% / 20px 20px;touch-action:none;border:1px solid #cbd5e1;border-radius:12px;cursor:move}.pc-crop-controls{display:grid;gap:14px;min-width:0}.pc-page input[type=range]{width:100%;min-height:44px}.pc-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pc-preview-grid>div{padding:12px;border:1px solid #e2e8f0;border-radius:12px;min-width:0}.pc-preview-grid img{max-width:100%;height:140px;object-fit:contain;margin-top:12px}.pc-preview-grid img[data-pc-preview=home]{max-width:var(--pc-home-preview-width);height:var(--pc-home-preview-height)}.pc-preview-grid img[data-pc-preview=avatar]{width:56px;height:56px}.pc-theme-preview{padding:24px;border-radius:16px;line-height:1.8}.pc-page h1{margin-bottom:12px}.pc-page .mc-form+.mc-form{margin-top:20px;border-top:1px solid #e2e8f0;padding-top:20px}.pc-home-photo{display:block;width:var(--pc-home-photo-width);max-height:var(--pc-home-photo-max);object-fit:contain;align-self:start;border-radius:12px}.entry-shortcut-item:has(.pc-home-photo){align-content:start}.pc-page textarea{resize:vertical}.pc-home-photo{height:auto}.pc-home-photo.pc-frame-circle,.pc-home-photo.pc-frame-square{width:min(var(--pc-home-photo-width),var(--pc-home-photo-max));height:auto;aspect-ratio:1;justify-self:center}@media(max-width:699px){.pc-page{--pc-home-preview-height:90px}.pc-person{flex-direction:column;align-items:flex-start;gap:20px}.pc-portrait{width:180px;max-height:240px;align-self:center}.pc-crop-workspace{grid-template-columns:1fr}.pc-crop-workspace canvas{width:min(100%,320px);justify-self:center}.pc-preview-grid{grid-template-columns:1fr}.pc-preview-grid img{height:180px}.pc-preview-grid img[data-pc-preview=avatar]{height:56px}.pc-page .mc-actions{flex-direction:column;align-items:stretch}.pc-page .mc-actions>.mc-button,.pc-page .mc-actions>form{width:100%;flex:none}.pc-page .mc-actions form button{width:100%}}
