/* Profile planning tool. Existing Prolifik type, ink and cobalt tokens. */
.profile-tool{margin:0;--pt-ink:#0b1220;--pt-muted:#52627a;--pt-line:#dbe3ef;--pt-blue:#2563eb;--pt-paper:#f6f8fb;--pt-white:#fff}
.profile-tool,.profile-tool *,.profile-tool *::before,.profile-tool *::after{box-sizing:border-box}
.profile-tool .pt-wrap{width:min(1132px,100%);margin-inline:auto;padding-inline:24px}
.profile-tool .pt-hero{background:#0e182c;color:#eaf0f8;padding:38px 0 46px}
.profile-tool .pt-hero .res-breadcrumb{color:#b9c8df;font-size:.8rem;margin-bottom:28px}
.profile-tool .pt-hero .res-breadcrumb a{color:inherit}
.profile-tool .pt-eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.05em;color:var(--pt-blue);margin:0 0 8px}
.profile-tool .pt-hero .pt-eyebrow{color:#b9c8df}
.profile-tool h1{font-size:clamp(2.2rem,4.7vw,3.9rem);line-height:1.08;letter-spacing:-.045em;margin:0 0 18px;max-width:20ch}
.profile-tool .pt-lede{font-size:1.08rem;line-height:1.7;max-width:65ch;margin:0;color:#b9c8df}
.profile-tool .pt-meta{font-size:.78rem;margin:22px 0 0;color:#b9c8df}
.profile-tool .pt-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;padding-block:44px;align-items:start}
.profile-tool .pt-workspace>noscript{grid-column:1/-1}
.profile-tool .pt-editor{min-width:0;background:#fff;padding:28px;border:1px solid var(--pt-line);border-radius:16px}
.profile-tool h2{font-size:1.55rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}
.profile-tool .pt-hint{font-size:.8rem;line-height:1.65;color:var(--pt-muted);margin:8px 0 18px}
.profile-tool .pt-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.profile-tool .pt-editor label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-weight:600;font-size:.84rem;line-height:1.5;margin:18px 0 7px}
.profile-tool .pt-editor label span{font-weight:400;color:var(--pt-muted);font-size:.76rem}
.profile-tool .pt-editor input,.profile-tool .pt-editor textarea{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #b9c8df;border-radius:8px;padding:11px 12px;font:inherit;font-size:.9rem;color:var(--pt-ink);background:var(--pt-white);line-height:1.5}
.profile-tool .pt-editor textarea{resize:vertical;min-height:102px}
.profile-tool .pt-editor input[type=file]{padding:9px;font-size:.75rem}
.profile-tool .pt-editor input[type=file]::file-selector-button{font:inherit;color:var(--pt-ink);background:var(--pt-paper);border:1px solid var(--pt-line);border-radius:5px;padding:6px 8px;margin-right:8px;cursor:pointer}
.profile-tool .pt-stats-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-tool .pt-grid-editor{border-top:1px solid var(--pt-line);margin-top:24px;padding-top:18px}
.profile-tool summary{cursor:pointer;font-weight:600;line-height:1.5}
.profile-tool .pt-tile-field{padding-bottom:14px;border-bottom:1px solid var(--pt-line)}
.profile-tool .pt-editor .pt-upload{font-size:.76rem;margin-top:10px}
.profile-tool button{font:inherit;line-height:1.5;font-size:.84rem;font-weight:600;cursor:pointer;min-height:44px;border-radius:8px;padding:10px 16px}
.profile-tool .pt-primary{border:1px solid var(--pt-blue);color:#fff;background:var(--pt-blue)}
.profile-tool .pt-primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.profile-tool .pt-secondary{color:var(--pt-ink);border:1px solid #b9c8df;background:#fff}
.profile-tool .pt-secondary:hover{background:var(--pt-paper)}
.profile-tool .pt-editor button[type=reset]{margin-top:24px}
.profile-tool .pt-preview-panel{min-width:0;position:sticky;top:94px}
.profile-tool .pt-preview-head h2{font-size:1.35rem}
.profile-tool .pt-layouts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}
.profile-tool .pt-layouts button{background:#fff;border:1px solid #b9c8df;color:var(--pt-muted);padding-inline:16px}
.profile-tool .pt-layouts button[aria-pressed=true]{background:#0e182c;border-color:#0e182c;color:#fff}
.profile-tool .pt-profile{width:min(390px,100%);margin-inline:auto;background:#fff;border:1px solid #ccd6e5;border-radius:12px;overflow:hidden;box-shadow:0 10px 28px rgba(14,24,44,.07);font-family:Arial,system-ui,sans-serif;color:#12151b;line-height:1.35}
.profile-tool .pt-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 16px 18px;min-width:0}
.profile-tool .pt-name-block{min-width:0;flex:1}
.profile-tool .pt-display-name{font-size:clamp(1.3rem,2.8vw,1.9rem);font-weight:700;line-height:1.15;overflow-wrap:anywhere;letter-spacing:-.035em}
.profile-tool .pt-username{font-size:.86rem;color:#626b78;margin-top:7px;overflow-wrap:anywhere}
.profile-tool .pt-avatar{width:80px;height:80px;flex:none;border-radius:50%;overflow:hidden;background:#eaf1ff;display:flex;align-items:center;justify-content:center;font-size:.78rem;color:#52627a}
.profile-tool .pt-avatar img{width:100%;height:100%;object-fit:cover}
.profile-tool .pt-avatar [hidden]{display:none!important}
.profile-tool .pt-profile-stats{display:flex;gap:24px;margin:0 16px 19px}
.profile-tool .pt-profile-stats div{min-width:0;flex:1}
.profile-tool .pt-profile-stats strong{display:block;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.profile-tool .pt-profile-stats span{display:block;font-size:.73rem;color:#626b78;margin-top:3px}
.profile-tool .pt-follow{border-radius:7px;background:#df2149;color:#fff;text-align:center;font-size:.86rem;font-weight:700;padding:12px;margin:0 16px 16px}
.profile-tool .pt-bio{font-size:.85rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 16px 8px;min-height:1.45em}
.profile-tool .pt-profile-link{font-size:.82rem;font-weight:700;margin:0 16px 20px;overflow-wrap:anywhere}
.profile-tool .pt-grid-label{font-size:.78rem;font-weight:700;text-align:center;border-block:1px solid #edf0f5;padding:12px}
.profile-tool .pt-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.profile-tool .pt-grid-tile{aspect-ratio:3/4;position:relative;overflow:hidden;background:#eaf1ff;color:#143570;min-width:0;display:flex;align-items:flex-end}
.profile-tool .pt-grid-tile:nth-child(3n+2){background:#dce7f7;color:#183247}
.profile-tool .pt-grid-tile:nth-child(3n){background:#c8d9f2;color:#183247}
.profile-tool .pt-grid-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-tool .pt-grid-tile img[hidden]{display:none}
.profile-tool .pt-grid-tile span{display:block;position:relative;z-index:1;padding:10px 8px;width:100%;font-size:.8rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.profile-tool .pt-grid-tile:has(img:not([hidden])) span{color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.8));padding-top:28px}
.profile-tool .pt-profile[data-layout=classic] .pt-identity{flex-direction:column-reverse;text-align:center;gap:12px;margin-bottom:18px}
.profile-tool .pt-profile[data-layout=classic] .pt-profile-stats{text-align:center}
.profile-tool .pt-profile[data-layout=classic] .pt-bio,.profile-tool .pt-profile[data-layout=classic] .pt-profile-link{text-align:center}
.profile-tool .pt-preview-note{font-size:.76rem;line-height:1.65;color:var(--pt-muted);max-width:54ch;margin:18px auto}
.profile-tool .pt-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.profile-tool .pt-status{font-size:.8rem;color:var(--pt-muted);line-height:1.6;min-height:1.6em;margin:12px 0 0;text-align:center}
.profile-tool .pt-notice{padding:16px;background:#eaf1ff;border-radius:8px}
.profile-tool .pt-guide{background:#fff;border-top:1px solid var(--pt-line);padding-block:50px}
.profile-tool .pt-prose{max-width:850px}
.profile-tool .pt-prose h2{margin-top:36px}
.profile-tool .pt-prose h2:first-child{margin-top:0}
.profile-tool .pt-prose p,.profile-tool .pt-prose li{font-size:.95rem;line-height:1.8;color:var(--pt-muted)}
.profile-tool .pt-prose li{padding-left:5px;margin-bottom:12px}
.profile-tool .pt-prose a{color:#1d4ed8;text-underline-offset:3px}
.profile-tool .pt-prose details{border-top:1px solid var(--pt-line);padding:18px 0}
.profile-tool .pt-prose details p{margin-bottom:0}
@media(max-width:850px){.profile-tool .pt-workspace{grid-template-columns:1fr;gap:32px}.profile-tool .pt-preview-panel{position:static}.profile-tool .pt-preview-head{text-align:center}.profile-tool .pt-layouts{justify-content:center}.profile-tool .pt-preview-note{text-align:center}.profile-tool .pt-display-name{font-size:1.9rem}}
@media(max-width:480px){.profile-tool .pt-wrap{padding-inline:16px}.profile-tool .pt-hero{padding-block:28px 34px}.profile-tool .pt-workspace{padding-block:26px}.profile-tool .pt-editor{padding:20px 16px}.profile-tool .pt-row{grid-template-columns:1fr;gap:0}.profile-tool .pt-stats-fields{gap:8px}.profile-tool .pt-editor input{font-size:16px}.profile-tool .pt-stats-fields input{font-size:14px;padding-inline:8px}.profile-tool .pt-display-name{font-size:1.6rem}.profile-tool .pt-avatar{width:68px;height:68px}.profile-tool .pt-profile-stats{gap:12px}.profile-tool .pt-grid-tile span{font-size:.72rem;padding-inline:7px}.profile-tool .pt-guide{padding-block:32px}}
