.headshot-page{--studio-paper:#fbf5e7;--studio-line:#d6c4a6;max-width:1120px;padding:12px 0 40px}
.headshot-intro{margin:0 0 18px;text-align:left;display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:end}
.headshot-intro .eyebrow{grid-column:1/-1;margin:0 0 4px;font-size:10px}
.headshot-intro h1{word-break:keep-all;overflow-wrap:anywhere;margin:0;max-width:25ch;font-size:clamp(30px,3.2vw,42px);line-height:1.08}
.headshot-lead{max-width:38ch;margin:0 0 3px;color:var(--muted);font-size:12px;line-height:1.6}
.headshot-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(345px,1fr);align-items:start;gap:18px}
.headshot-results{display:grid;gap:12px;min-width:0}
.headshot-controls{min-width:0;padding:18px;border-radius:27px;background:var(--studio-paper)}
.headshot-controls .section-top{align-items:center;gap:10px;margin:0}
.headshot-controls h2,.headshot-preview h2{margin:0;font-family:Gaegu,"Apple SD Gothic Neo","Malgun Gothic",cursive,sans-serif;font-size:23px}
.headshot-page .text-button{min-height:44px;padding:8px;font-size:11px}
.headshot-upload{width:100%;min-height:46px;justify-content:center;margin:7px 0 2px;border-radius:16px}
.headshot-controls .micro-copy{margin:5px 0;color:#786950;font-size:10px;line-height:1.5}
.headshot-count{display:inline-block;margin:3px 0 6px;padding:3px 9px;border-radius:99px;background:#ede1ca;color:#68543a;font-size:10px;font-variant-numeric:tabular-nums}
.headshot-gallery{display:flex;flex-wrap:wrap;gap:7px}.headshot-gallery:empty{display:none}
.headshot-thumb{position:relative;width:60px;height:70px;border:1px solid #d6c6a7;border-radius:12px;background:#f3e8d4;overflow:hidden}
.headshot-thumb img{width:100%;height:100%;object-fit:contain}
.headshot-thumb button{position:absolute;top:0;right:0;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:12px;background:#fff9eccc;color:#43362a;font-size:20px;cursor:pointer}
.headshot-divider{height:1px;margin:10px 0;border-top:1px dashed #c9b795}
.headshot-option-row{display:grid;grid-template-columns:1.2fr 1fr;gap:9px}
.headshot-field{display:grid;gap:4px;margin:8px 0;color:#554735;font-size:11px;min-width:0}
.headshot-field select{width:100%;min-height:44px;padding:8px 9px;border:1px solid #d2bea0;border-radius:13px;background:#fffaf0;color:#473a2b;font:inherit}
.headshot-style-group{min-width:0;margin:5px 0 0;padding:0;border:0}
.headshot-style-group legend{margin-bottom:6px;color:#554735;font-size:11px}
.headshot-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.headshot-style{display:grid;min-height:70px;align-content:center;justify-items:center;gap:7px;padding:9px 4px;border:1px solid #d9c8a9;border-radius:16px;background:#f2e9d7;color:#5b4935;font-size:10px;line-height:1.25;text-align:center;cursor:pointer;transition:transform .24s cubic-bezier(.2,1.2,.4,1),background .18s,border-color .18s}
.headshot-style:hover{transform:translateY(-2px)}
.headshot-style[aria-pressed=true]{border-color:#826746;background:#e9dbc1;box-shadow:inset 0 0 0 1px #826746}
.headshot-swatch{display:block;width:32px;height:20px;border:2px solid #fff5df;border-radius:7px;box-shadow:0 1px 4px #47382124}
.swatch-classic{background:#c5b7a5}.swatch-natural{background:linear-gradient(120deg,#d0d3ad,#f1dca4)}.swatch-creative{background:#6a8582}
.headshot-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:14px}
.headshot-actions .button{min-height:46px;justify-content:center;border-radius:15px;white-space:normal;text-align:center;font-size:12px}
.headshot-actions #headshot-open[aria-disabled=true]{pointer-events:none;opacity:.55;filter:grayscale(.3)}
.headshot-prompt-details{margin-top:10px;border:1px dashed #c9b795;border-radius:16px;padding:0 11px;background:#f4ecdd}
.headshot-prompt-details summary{display:flex;min-height:44px;justify-content:space-between;align-items:center;gap:8px;color:#65513b;font-size:11px;cursor:pointer;list-style:none}
.headshot-prompt-details summary::-webkit-details-marker{display:none}
.headshot-prompt-details[open] summary{border-bottom:1px dashed #d4c4a9;margin-bottom:7px}
.headshot-prompt-details[open] summary>span:last-child{transform:rotate(45deg)}
.headshot-prompt-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#554735;font-size:10px}
.headshot-controls textarea{width:100%;min-height:180px;resize:vertical;padding:12px;border:1px solid #d2bea0;border-radius:15px;background:#fffaf0;color:#473a2b;font:12px/1.6 sans-serif}
.headshot-prompt-guide{margin:7px 1px;color:#69583f;font-size:10px;line-height:1.55}
.headshot-prompt-meta{display:flex;justify-content:space-between;gap:8px;margin:6px 1px;color:#786950;font-size:10px;line-height:1.4}
.headshot-prompt-meta output{flex:none;font-variant-numeric:tabular-nums}
.headshot-prompt-details>.button{min-height:44px;margin:5px 0 11px;justify-content:center;font-size:11px}
.headshot-transfer-note{margin:9px 1px 0;color:#786950;font-size:10px;line-height:1.5}
.headshot-status{min-height:1.5em;margin:8px 1px 0;color:#725b3d;font-size:11px;line-height:1.5}
.headshot-preview,.headshot-notes{min-width:0;padding:16px;border:1px solid var(--studio-line);border-radius:26px;background:#f5eddc}
.headshot-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.headshot-preview-heading .eyebrow{margin:0 0 2px;font-size:9px}
.headshot-preview h2{font-size:24px}.headshot-preview .preview-tag{background:#e6dbc4}
.headshot-preview-frame{display:grid;min-height:320px;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));align-items:center;gap:10px;padding:12px;border:1px solid #dfd1b5;border-radius:20px;background:#e8dcc4}
.headshot-preview-frame img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;border:6px solid #fff9ec;border-radius:14px;box-shadow:0 6px 16px #47382120}
.headshot-examples{position:relative;padding:12px 18px 9px;border:1px solid #dfd1b5;border-radius:20px;background:#e8dcc4 url('/assets/paper-grain.svg') repeat}
.headshot-example-heading{display:flex;align-items:center;justify-content:space-between;color:#7b6343}
.headshot-example-tag{font-size:9px;letter-spacing:.1em}.headshot-example-arrow{font-family:Gaegu,cursive;font-size:28px;line-height:1}
.headshot-example-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:9px 5px 4px}
.headshot-example{position:relative;margin:0;padding:7px 7px 5px;background:#fff8e8;border:1px solid #e2d5bc;border-radius:15px;box-shadow:0 6px 14px #4738211c;transform:rotate(-3deg)}
.headshot-example.result{transform:rotate(3deg);margin-top:7px}
.headshot-example:before{content:'';position:absolute;z-index:1;top:-6px;left:calc(50% - 23px);width:46px;height:14px;background:#bea77b88;transform:rotate(-5deg);border-radius:3px}
.headshot-example img{display:block;width:100%;height:260px;object-fit:contain;background:#eee5d5;border-radius:9px}
.headshot-example figcaption{margin:8px 0 3px;font-family:Gaegu,cursive;font-size:20px;line-height:1.1;text-align:center;color:#695039}
.headshot-example-note{margin:14px auto 0;max-width:51ch;color:#77644a;font-size:10px;line-height:1.5;text-align:center}
.headshot-empty{margin:11px 0 0;color:#75664e;font-size:11px;text-align:center}
.headshot-look-caption{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;border-top:1px dashed #c9b795;color:#7e6346}
.headshot-look-caption>span{font-size:24px}.headshot-look-caption p{margin:0;font-size:11px}
.headshot-notes{padding:0 16px;border-radius:20px}
.headshot-notes summary{min-height:44px;align-content:center;font-family:Gaegu,cursive;font-size:21px;cursor:pointer;color:#68543a}
.headshot-notes ul{display:grid;gap:8px;margin:7px 0;padding-left:20px;color:#5e503e;font-size:11px;line-height:1.55}
.headshot-notes .micro-copy{margin:12px 0;color:#786950;font-size:10px;line-height:1.55}.headshot-notes .button{min-height:44px;margin-bottom:15px;font-size:11px}
.headshot-page :focus-visible{outline:3px solid #a8583e88;outline-offset:3px}
@media(max-width:900px){.headshot-workspace{grid-template-columns:minmax(0,1.2fr) minmax(310px,1fr);gap:12px}.headshot-controls,.headshot-preview{padding:13px}.headshot-example-pair{gap:12px;margin-inline:0}.headshot-examples{padding:10px}.headshot-example img{height:230px}.headshot-intro{grid-template-columns:1fr}.headshot-lead{max-width:65ch;margin-top:7px}}
@media(max-width:700px){.headshot-page{padding-top:8px;padding-bottom:25px}.headshot-intro{margin-bottom:12px}.headshot-intro h1{font-size:32px;max-width:26ch}.headshot-lead{font-size:11px}.headshot-workspace{grid-template-columns:1fr}.headshot-results{display:contents}.headshot-preview{grid-row:1;border-radius:22px}.headshot-controls{grid-row:2;border-radius:22px}.headshot-notes{grid-row:3}.headshot-preview-heading{margin-bottom:7px}.headshot-examples{padding:9px 14px}.headshot-example-pair{gap:18px;margin:6px 4px}.headshot-example img{height:175px}.headshot-example figcaption{font-size:17px}.headshot-example-note{margin-top:10px;font-size:9px}.headshot-example-tag{font-size:8px}.headshot-empty{margin-top:7px;font-size:10px}.headshot-look-caption{margin-top:7px;padding-top:5px}.headshot-preview-frame{min-height:220px}.headshot-preview-frame img{max-height:280px}.headshot-actions{position:sticky;bottom:10px;z-index:5;padding:9px;border:1px solid #cdbb9c;border-radius:20px;background:#f7efdf;box-shadow:0 4px 18px #4a39282b;grid-template-columns:1fr 1.2fr;gap:6px}.headshot-actions .button{min-height:48px;font-size:10px;padding:8px}.headshot-actions .primary{grid-column:auto}.headshot-transfer-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.headshot-page *{scroll-behavior:auto;transition:none!important}}
/* A desk of paper scraps: the workspace is one composition, with tabbed tools. */
body:has(.headshot-page){background-color:#e7decb}
.headshot-tool-nav{gap:20px!important}.headshot-tool-nav a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-family:Gaegu,cursive;font-size:20px!important;text-decoration:none}
.headshot-tool-nav a[aria-current=page]{color:#553c2d;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
.headshot-intro{margin-bottom:16px}.headshot-workspace{position:relative;isolation:isolate;padding:16px 24px 20px 34px;border:1px solid #cfc0a3;border-radius:30px;background:#efe7d4 url('/assets/paper-grain.svg') repeat;box-shadow:0 8px 22px #4b392b13}
.headshot-controls{position:relative;background:#cfab79 url('/assets/kraft-paper.png') center/cover;border:1px solid #b99a70;box-shadow:2px 7px 12px #63482a26;transform:rotate(.55deg);padding:17px 18px 14px}
.headshot-controls:before,.headshot-preview:before{content:'';position:absolute;width:92px;height:25px;top:-12px;left:calc(50% - 46px);background:#e5cf9aad;border:1px solid #cdb68533;border-radius:5px;transform:rotate(-3deg);z-index:1}
.headshot-preview{position:relative;box-shadow:2px 7px 12px #63482a1a;background:#f9f1df;transform:rotate(-.65deg)}
.headshot-preview:before{left:21px;transform:rotate(4deg)}
.headshot-doodle{position:absolute;pointer-events:none;z-index:2;object-fit:contain}.headshot-doodle.flowers{width:55px;height:160px;left:-17px;top:170px;transform:rotate(-8deg)}.headshot-doodle.star{width:47px;height:47px;right:-17px;top:76px;transform:rotate(12deg)}.headshot-doodle.smile{width:48px;height:48px;left:52%;bottom:-10px;transform:rotate(-11deg)}
.headshot-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding-bottom:13px;margin-bottom:10px;border-bottom:1px dashed #9e8057}
.headshot-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 3px;border:1px solid #a98c65;border-radius:13px;background:#e8d3ae;color:#5b4935;font-family:Gaegu,cursive;font-size:21px;line-height:1}
.headshot-tabs button>span:first-child{font-family:sans-serif;font-size:9px;color:#7a603e}.headshot-tabs button[aria-selected=true]{background:#fff1d5;border-color:#745238;box-shadow:0 2px 5px #62432326;transform:rotate(-2deg)}
.headshot-tab-panel{min-height:238px}.headshot-next{display:block;margin:6px 0 0 auto;text-decoration:underline;text-underline-offset:4px}
.headshot-controls .micro-copy,.headshot-transfer-note{color:#59472f}.headshot-style{background:#ead7b5}.headshot-field select{background:#fbf0dc}.headshot-count{background:#ecdbc0}
.headshot-prompt-details{margin-top:0;background:#ecd8b6;border-color:#b99a70}.headshot-actions{border-top:1px dashed #9e8057;padding-top:12px;margin-top:9px}
.headshot-notes{background:repeating-linear-gradient(#eee6d3,#eee6d3 25px,#cdbd9d66 26px);border-radius:16px;box-shadow:1px 3px 7px #63482a15;transform:rotate(.4deg)}
@media(max-width:1000px){.headshot-tool-nav{gap:10px!important}.headshot-tool-nav a{font-size:17px!important}.headshot-workspace{padding:15px 17px 18px 23px;gap:13px}}
@media(max-width:700px){.site-header:has(.headshot-tool-nav){flex-wrap:wrap;gap:7px;padding-bottom:14px;padding-top:13px}.headshot-tool-nav{order:3;flex:1 0 100%;justify-content:space-between;gap:5px!important}.headshot-tool-nav a{font-size:17px!important}.site-header:has(.headshot-tool-nav) .language-label{margin-left:auto}.headshot-workspace{padding:14px 11px 16px;border-radius:24px}.headshot-doodle.flowers{width:32px;left:-13px;top:130px;height:110px}.headshot-doodle.star{width:32px;height:32px;right:-9px;top:45px}.headshot-doodle.smile{display:none}.headshot-controls{padding:15px;transform:none}.headshot-preview{transform:none}.headshot-tab-panel{min-height:0}.headshot-tabs{margin-bottom:7px;padding-bottom:9px}.headshot-actions{padding:9px;position:sticky;bottom:10px;border-top:1px solid #cdbb9c}.headshot-intro h1{font-size:29px}}
/* Keep the studio's tool choices visible above the mobile workspace. */
@media(max-width:820px){
  .site-header:has(.headshot-tool-nav){flex-wrap:wrap;gap:7px;padding-top:13px;padding-bottom:12px}
  .site-header .headshot-tool-nav{display:flex;position:static;order:3;flex:1 0 100%;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px!important;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .site-header .headshot-tool-nav a{min-height:44px;padding:7px 3px;font-size:17px!important;white-space:normal;line-height:1.2;text-align:center}
  .site-header:has(.headshot-tool-nav) .language-label{margin-left:auto}
  .site-header:has(.headshot-tool-nav) .language-label select{min-height:44px}
}
@media(max-width:700px){
  .headshot-controls{grid-row:1}
  .headshot-preview{grid-row:2}
  .headshot-notes{grid-row:3}
  .headshot-intro{margin-bottom:10px}
  .headshot-intro h1{font-size:27px;line-height:1.12}
  .headshot-example img{height:155px}
  .headshot-examples{padding:9px 11px}
  .headshot-example-pair{gap:15px}
  .headshot-actions .button{font-size:11px;line-height:1.35}
}
@media(min-width:821px) and (max-height:750px){
  .headshot-intro{margin-bottom:0}
  .headshot-workspace{padding-top:12px}
  .headshot-controls{padding-top:14px}
  .headshot-tabs{padding-bottom:8px;margin-bottom:7px}
  .headshot-tab-panel{min-height:200px}
  .headshot-actions{margin-top:6px;padding-top:8px;gap:6px}
}
