:root{color-scheme:light;--paper:#f6f7fb;--ink:#142239;--muted:#4b586c;--ocean:#075678;--line:#dce2ec;--orange:#ff7914;font-family:"Inter","Avenir Next",system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
button,input,textarea,select{font:inherit}
button,a,select{touch-action:manipulation}
button,select{cursor:pointer}
button{color:inherit}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #ad4900;outline-offset:2px}
svg{width:19px;height:19px;flex:none}
[hidden]{display:none!important}
.top{background:#fff;border-bottom:1px solid var(--line)}
.top-inner{max-width:1480px;padding:15px 40px;min-height:74px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.brand,.top-actions,.hero-actions,.saved,.language,.preview-bar>div{display:flex;align-items:center;gap:12px}
.brand{white-space:nowrap;font-weight:850;letter-spacing:-.065em;font-size:25px}
.brand-outline,.brand-accent{-webkit-text-stroke:1.3px #111;paint-order:stroke fill}
.brand-outline{color:#fff;font-weight:900}
.brand-accent{color:#ff9a16}
.saved{font-size:12px;color:var(--muted);gap:6px}
.saved svg{width:15px;color:#08769a}
.language{border:1px solid var(--line);border-radius:9px;padding:0 9px;gap:5px;height:40px}
.language svg{width:16px;color:var(--ocean)}
.language select{border:0;background:transparent;font-size:13px;color:var(--ink);max-width:105px;padding:4px 0}
.primary,.outline,.text-btn,.link-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;min-height:40px;padding:8px 13px;font-size:13px;font-weight:650;line-height:1.25;text-decoration:none}
.primary{background:var(--ocean);color:white}
.primary:hover{background:#064664}
.primary.pale{background:var(--orange);border-color:#ed6b08;color:#142239}
.primary.pale:hover{background:#ff8e35}
.outline{background:#fff;color:var(--ocean);border-color:#d9e1ed}
.outline:hover,.text-btn:hover{background:#eef2f8}
.text-btn,.icon-button{background:transparent;color:var(--ocean)}
.layout{max-width:1330px;margin:auto;padding:38px 40px 24px}
.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.hero-actions{flex-wrap:wrap;justify-content:flex-end;padding-bottom:3px}
.eyebrow{color:#a34700;font-weight:800;font-size:11px;letter-spacing:.18em;display:flex;align-items:center;gap:8px}
.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#ff7914}
h1,h2,h3,p{margin:0}
.hero h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(40px,5vw,70px);letter-spacing:-.075em;line-height:1.03;margin:8px 0 8px;color:#074565}
.hero p,.hint{color:var(--muted);font-size:14px;line-height:1.55}
.workspace{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);gap:22px;align-items:start}
.panel{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 3px 12px #172b4d10}
.tabs{display:flex;padding:0 21px;border-bottom:1px solid var(--line);gap:24px}
.tabs button{display:flex;align-items:center;gap:8px;padding:16px 3px 14px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);font-weight:700;font-size:14px}
.tabs button.active{border-color:var(--ocean);color:var(--ocean)}
.steps{display:flex;flex-wrap:wrap;gap:6px;padding:14px 20px;background:#f7f9fc;border-bottom:1px solid var(--line)}
.steps button{border:0;border-radius:7px;background:transparent;padding:7px 9px;color:var(--muted);font-size:12px;font-weight:650}
.steps button:hover,.steps [aria-current="step"]{background:#ffe8d1;color:var(--ocean)}
.form-content{padding:22px}
.form-content h2,.modal-title h2{font-size:22px;letter-spacing:-.045em;margin-bottom:5px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}
.fields label:has([data-field=title]),.fields label:has([data-field=city]){grid-column:1/-1}
.field{display:grid;gap:5px;font-size:12px;font-weight:650;min-width:0}
.field input,.field textarea{min-width:0;width:100%;border:1px solid #dbe2ed;background:#fafbfe;border-radius:7px;color:var(--ink);padding:9px 11px;font-size:14px;font-weight:450;min-height:38px}
.field textarea{resize:vertical}
.form-content>h2+.field,.form-content>.hint+.field{margin-top:12px}
.photo-tools{border-top:1px solid var(--line);padding-top:15px;margin-top:17px;display:flex;align-items:center;gap:11px;font-size:13px}
.photo-thumb{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#eaf0fa;color:var(--ocean);overflow:hidden}
.photo-thumb img{width:100%;height:100%;object-fit:cover}
small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.photo-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.photo-actions button{min-height:34px;font-size:12px}
.photo-actions svg{width:15px}
.editor-footer{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding:13px 22px;background:#f7f9fc}
.next{flex-direction:row-reverse}
.entry{border:1px solid var(--line);border-radius:8px;min-width:0;padding:12px;margin:12px 0}
.entry legend{font-size:12px;color:var(--ocean);font-weight:700}
.entry .field{margin-bottom:9px}
.template-list{display:grid;gap:10px;margin-top:14px}
.template-choice{display:grid;grid-template-columns:55px 1fr auto;align-items:center;gap:13px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px}
.template-choice[aria-pressed=true]{border-color:#c85b00;background:#fff4e8}
.mini{height:64px;background:white;border:1px solid #dce3ef;padding:9px 7px;display:grid;gap:5px;align-content:start}
.mini i{display:block;height:2px;background:#c4cedd}
.mini i:first-child{height:6px;width:70%;background:var(--ocean)}
.mini.modern i:first-child{height:17px;width:100%;background:#063d59}
.mini.editorial i:first-child{height:3px;width:100%;background:#e16a00}
.preview-bar{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;color:var(--ocean);border-bottom:1px solid var(--line);gap:8px;font-size:13px}
.preview-bar>div{gap:8px;flex-wrap:wrap}
.preview-bar>span{white-space:nowrap;color:var(--muted);font-size:11px}
.preview-bar small{margin:0;background:#eaf0fa;border-radius:20px;padding:4px 8px}
.preview-stage{background:#e5f1f7;padding:26px 36px}
.sheet{--accent:#075678;background:white;color:#172236;min-height:0;aspect-ratio:210/297;box-shadow:0 5px 16px #172b4d20;font-size:clamp(9px,1.14vw,13px);line-height:1.5;overflow-wrap:anywhere}
.resume-header{padding:2.5em 2.6em 1.4em;display:flex;justify-content:space-between;align-items:flex-start;gap:1em}
.resume-header h2{font-family:Georgia,serif;font-size:3em;line-height:1.05;font-weight:500;letter-spacing:-.055em;color:var(--accent)}
.resume-header img{width:5em;height:5em;object-fit:cover;border-radius:7px}
.resume-title{font-size:1.26em;font-weight:650;margin-top:.3em}
.resume-contact{font-size:.88em;color:#4c596d;margin-top:.8em}
.resume-contact span{padding:0 .55em}
.resume-body{padding:0 2.6em 2.6em}
.resume-section{margin-bottom:1.25em}
.resume-section h3{border-top:1px solid #d7dfeb;padding-top:.6em;margin-bottom:.45em;color:var(--accent);font-size:.91em;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.resume-section p{white-space:pre-wrap}
.resume-entry{margin-bottom:.75em}
.resume-entry>div:first-child{display:flex;justify-content:space-between;gap:.55em}
.resume-entry time{font-size:.87em;color:#4e5d71;text-align:right}
.organization{color:#4e5d71}
.resume-section ul{margin:0;padding:0;display:flex;gap:.4em .9em;flex-wrap:wrap;list-style:none}
.resume-section li+li::before{content:"·";margin-right:.65em;color:var(--accent)}
.sheet.modern{--accent:#063d59}
.modern .resume-header{background:var(--accent);color:white;margin-bottom:1.4em}
.modern .resume-header h2,.modern .resume-contact{color:white}
.modern .resume-header h2{font-family:inherit;letter-spacing:-.045em;font-weight:750}
.sheet.editorial{--accent:#a34700;font-family:Georgia,serif}
.editorial .resume-header{border-top:.6em solid var(--orange)}
.editorial .resume-section h3{border-color:#ffd2a8}
footer{display:flex;justify-content:space-between;gap:5px;margin-top:9px}
dialog{width:min(480px,calc(100% - 28px));border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:0 20px 60px #14274940;color:var(--ink)}
dialog::backdrop{background:#11244380}
.modal-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.modal-title .icon-button{padding:6px;min-height:34px}
dialog p,.phone-page p{font-size:14px;line-height:1.55;color:var(--muted);margin:9px 0 13px}
.modal-actions{display:flex;justify-content:flex-end;gap:8px}
.qr-image{display:block;width:190px;image-rendering:pixelated;padding:14px;border:1px solid var(--line);margin:0 auto 14px;background:white}
.phone-page{max-width:500px;margin:30px auto;padding:0 15px}
.phone-page .panel{padding:20px}
.mobile-photo{display:block;width:min(100%,220px);margin:13px 0;border-radius:10px}
#toast{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background:#075678;color:#fff;box-shadow:0 4px 12px #14274940;border-radius:9px;padding:11px 14px;font-size:14px;width:max-content;max-width:95vw;z-index:3;visibility:hidden}
#toast.visible{visibility:visible}
@media(max-width:900px){
  .top-inner,.layout{padding-left:24px;padding-right:24px}
  .workspace{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .preview-stage{padding:16px}
  .saved{display:none}
}
@media(max-width:690px){
  .layout{padding:25px 14px 16px}
  .top-inner{padding:9px 14px}
  .top-actions{gap:6px}
  .brand{font-size:18px;gap:6px}
  .brand img{width:35px;height:35px}
  .top .primary{font-size:11px;padding:6px}
  .top .primary svg,.language svg{display:none}
  .language{padding:0 3px}
  .language select{font-size:11px}
  .hero{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:15px}
  .hero-actions{justify-content:flex-start}
  .workspace{grid-template-columns:minmax(0,1fr)}
  .sheet{font-size:clamp(9px,2.7vw,13px)}
}
@page{size:A4;margin:9mm}
@media print{
  html,body{background:white}
  .top,.hero,.editor,.preview-bar,footer,dialog,#toast{display:none!important}
  .layout,.workspace,.preview,.preview-stage{display:block;width:auto;max-width:none;background:white;padding:0;margin:0;border:0;box-shadow:none;overflow:visible}
  .sheet{box-shadow:none;aspect-ratio:auto;font-size:11pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .resume-header,.resume-entry{break-inside:avoid}
  .resume-section h3{break-after:avoid}
}

.tabs{flex-wrap:wrap;gap:clamp(10px,2vw,24px)}
.letter-form,.letter-edit{display:grid;gap:13px}
.letter-form{margin-top:16px;justify-items:stretch}
.letter-form>button{justify-self:start}
.letter-edit{border-top:1px solid var(--line);padding-top:15px;margin-top:3px}
.letter-edit textarea{min-height:14em}
.letter-sheet{padding:2.6em}
.letter-sheet h2{font-size:1.2em;color:var(--accent);margin:1.6em 0 1em}
.letter-contact>div:first-child{font-weight:750;color:var(--accent)}
.letter-company{margin-top:1.5em;text-align:right}
.letter-text{white-space:pre-wrap}
.letter-contact,.letter-company,.letter-sheet h2{break-inside:avoid}
button:disabled{opacity:.55;cursor:default}

/* The template previews and the exported documents share these layouts. */
.hero-actions{align-items:flex-start}
.import-action small{max-width:26ch;margin-top:6px;line-height:1.35}
.template-choice{grid-template-columns:66px minmax(0,1fr) auto;gap:15px;padding:11px}
.mini{height:82px;position:relative;overflow:hidden;align-content:start}
.mini.classic{border-top:3px solid var(--ocean)}
.mini.classic i:first-child{width:75%}
.mini.classic i:nth-child(3){margin-left:13px}
.mini.modern{padding:0 0 0 20px;background:linear-gradient(90deg,#dcebf1 20px,white 20px)}
.mini.modern i:first-child{margin-left:-20px;width:auto;height:23px;border-bottom:3px solid var(--orange)}
.mini.modern i:not(:first-child){margin:0 5px}
.mini.editorial{border-top:5px solid var(--orange);place-items:center}
.mini.editorial i:first-child{height:8px;width:80%;background:#ad4c13}
.mini.editorial i:not(:first-child){width:72%;border-left:3px solid var(--orange)}

.sheet.classic .resume-header{border-top:.32em solid var(--accent);padding-bottom:1.65em}
.classic .resume-title{color:var(--accent)}
.classic .resume-section{display:grid;grid-template-columns:8.5em minmax(0,1fr);gap:.45em 1.2em;border-top:1px solid #d7dfeb;padding-top:.8em}
.classic .resume-section h3{border:0;padding:0;margin:0;grid-row:1;line-height:1.4;letter-spacing:.08em}
.classic .resume-section> :not(h3){grid-column:2}
.classic .resume-entry{margin-bottom:.35em}

.sheet.modern{--accent:var(--ocean)}
.modern .resume-header{border-bottom:.34em solid var(--orange);margin-bottom:0}
.modern .resume-header h2{font-size:2.7em}
.modern .resume-header img{border-radius:50%;outline:2px solid #ffffffaa;outline-offset:3px}
.modern .resume-body{padding:0}
.modern-layout{display:grid;grid-template-columns:minmax(0,1fr)}
.modern-layout:has(.resume-aside){grid-template-columns:minmax(0,30%) minmax(0,1fr)}
.resume-aside{padding:1.55em 1.05em;background:#e9f3f7;border-right:1px solid #d4e7ee}
.resume-main{padding:1.55em 1.55em 2.3em}
.resume-aside .resume-section h3,.resume-main .resume-section h3{border-top:0;border-bottom:1px solid #c9dde7;padding:0 0 .42em}
.resume-aside .resume-section ul{display:grid;gap:.35em}
.resume-aside .resume-section li+li::before{content:none}

.editorial .resume-header{border-top:.7em solid var(--orange);text-align:center;justify-content:center;align-items:center;padding-top:2.1em}
.editorial .resume-header h2{font-size:3.35em;color:#18263b}
.editorial .resume-header img{width:4.7em;height:4.7em;border-radius:0;border:1px solid #ffd2a8;padding:.2em}
.editorial .resume-title{font-weight:500;font-style:italic;color:var(--accent)}
.editorial .resume-section h3{display:flex;align-items:center;gap:.65em;border:0;padding:0;margin-bottom:.65em}
.editorial .resume-section h3::after{content:"";height:1px;background:#ffd2a8;flex:1}
.editorial .resume-entry{position:relative;border-left:1px solid #ffd2a8;padding-left:.85em;margin-left:.16em}
.editorial .resume-entry::before{content:"";position:absolute;width:.4em;height:.4em;border-radius:50%;background:#ff7914;left:-.2em;top:.48em}

.language-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:7px;margin-top:12px}
.language-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:38px;padding:6px 9px;border:1px solid var(--line);border-radius:7px;font-size:13px}
.language-row label{display:flex;align-items:center;gap:6px;cursor:pointer}
.language-row input{accent-color:var(--ocean);margin:0}
.language-row select,.country-field select{min-width:0;color:var(--ink);background:#fafbfe;border:1px solid var(--line);border-radius:7px;padding:6px}
.country-field{margin-top:15px}
.credential-area{display:grid;gap:8px;border-top:1px solid var(--line);margin-top:18px;padding-top:15px}
.credential-area h3{font-size:15px}
.credential-area input{max-width:100%;font-size:13px}
.credential-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);font-size:13px}
.credential-row>span{flex:1 1 130px;overflow-wrap:anywhere}
#posting-progress:empty{display:none}

:is(#sheet,.mini,.swatch)[data-tone="ocean"]{--accent:#075678;--tone:#1686aa;--tint:#e9f3f7}
:is(#sheet,.mini,.swatch)[data-tone="orange"]{--accent:#9d4300;--tone:#ef7d22;--tint:#fff0df}
:is(#sheet,.mini,.swatch)[data-tone="teal"]{--accent:#10615c;--tone:#168c81;--tint:#e7f4f0}
:is(#sheet,.mini,.swatch)[data-tone="navy"]{--accent:#273e66;--tone:#5277ac;--tint:#eaf0f9}
:is(#sheet,.mini,.swatch)[data-tone="purple"]{--accent:#6e386e;--tone:#a46ca3;--tint:#f5eaf5}
:is(#sheet,.mini,.swatch)[data-tone="rose"]{--accent:#893e56;--tone:#ce7891;--tint:#fcecf1}
:is(#sheet,.mini,.swatch)[data-tone="graphite"]{--accent:#3e4652;--tone:#788494;--tint:#edf0f3}
:is(#sheet,.mini,.swatch)[data-tone="blue"]{--accent:#244f9d;--tone:#4a78d5;--tint:#eaf1ff}
:is(#sheet,.mini,.swatch)[data-tone="forest"]{--accent:#2f6545;--tone:#5a936a;--tint:#eaf4ea}
:is(#sheet,.mini,.swatch)[data-tone="ochre"]{--accent:#77540b;--tone:#c89424;--tint:#fff4d9}
.template-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.template-choice{grid-template-columns:48px minmax(0,1fr);gap:9px;min-height:90px}
.template-choice strong{font-size:14px}
.template-choice small{line-height:1.3}
.template-choice[aria-pressed=true]{outline:1px solid #b85008}
.mini{height:64px}
.mini i:first-child{background:var(--accent)}
.mini.classic{border-top-color:var(--accent)}
.mini.modern i:first-child{background:var(--accent)}
.mini.editorial{border-top-color:var(--tone)}
.mini.editorial i:first-child{background:var(--accent)}
.mini.horizon i:first-child,.mini.studio i:first-child{height:15px;width:100%;background:var(--tint);border-bottom:2px solid var(--tone)}
.mini.horizon i:last-child{height:8px;background:var(--tint)}
.mini.atlas{background:linear-gradient(90deg,#fff 65%,var(--tint) 65%)}
.mini.atlas i:not(:first-child){width:58%}
.mini.portrait{justify-items:center}
.mini.portrait i:first-child{width:11px;height:11px;border-radius:50%;background:var(--tone)}
.mini.portrait i:not(:first-child){width:80%}
.mini.minimal i:first-child{height:4px;width:90%}
.mini.tempo{border-left:4px solid var(--tone)}
.mini.tempo i:nth-child(odd){background:var(--accent)}
.mini.signature{outline:1px solid var(--tone);outline-offset:-4px}
.mini.signature i:first-child{height:4px;width:75%;margin-inline:auto}

.palette-panel{margin:13px 0 16px;padding:11px 13px;background:#f7f9fc;border:1px solid var(--line);border-radius:9px}
.palette-panel h3{font-size:14px}
.swatches{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 5px}
.swatch{width:29px;height:29px;border:1px solid #0004;border-radius:50%;background:var(--accent);color:white;display:grid;place-items:center;padding:0}
.swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}
.swatch svg{width:15px;height:15px}
.palette-status{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:3px;color:var(--muted);font-size:12px}
.palette-status .text-btn{min-height:28px;padding:3px 5px;font-size:12px}

#sheet[data-tone] .resume-section h3{color:var(--accent)}
#sheet[data-tone] .resume-aside{background:var(--tint);border-color:var(--tone)}
#sheet.modern .resume-header{border-bottom-color:var(--tone)}
#sheet.modern .resume-header h2{color:#fff}
#sheet.editorial .resume-header{border-top-color:var(--tone)}
#sheet.editorial .resume-title{color:var(--accent)}
#sheet.editorial .resume-entry,#sheet.editorial .resume-header img{border-color:var(--tone)}
#sheet.editorial .resume-entry::before,#sheet.editorial .resume-section h3::after{background:var(--tone)}

.horizon .resume-header{background:var(--tint);border-bottom:.22em solid var(--tone);margin-bottom:1.4em}
.horizon .resume-header h2,.studio .resume-header h2,.tempo .resume-header h2{font-family:inherit;font-weight:800}
.resume-strengths{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),1fr));gap:.75em}
.resume-strengths .resume-section{background:var(--tint);padding:.8em;margin:0}
.resume-strengths .resume-section h3{border:0;padding-top:0}
.atlas .resume-header{padding-bottom:1.25em;border-bottom:1px solid var(--tone)}
.atlas .resume-body{padding:0}
.atlas-layout{display:grid;grid-template-columns:minmax(0,1fr)}
.atlas-layout:has(.resume-aside){grid-template-columns:minmax(0,1fr) minmax(0,31%)}
.atlas .resume-main{padding:1.55em 1.2em 2.2em 2em}
.atlas .resume-aside{border-right:0;border-left:1px solid var(--tone)}
.studio .resume-header{border-left:.5em solid var(--tone);background:var(--tint);margin-bottom:1.4em}
.studio .resume-history{margin-top:1.4em}
.studio .resume-strengths .resume-section{border-radius:.55em}
.portrait .resume-header{align-items:center;text-align:center;flex-direction:column;border-bottom:1px solid var(--tone);margin:0 2.6em 1.4em;padding:2em 0 1.4em}
.portrait .resume-header img{order:-1;border-radius:50%;outline:1px solid var(--tone);outline-offset:3px}
.portrait .resume-title{color:var(--accent);font-weight:500}
.portrait .resume-section h3{border:0;padding:0}
.portrait .resume-section{border-bottom:1px solid var(--tint);padding-bottom:.6em}
.minimal .resume-header{padding-bottom:1.1em}
.minimal .resume-header h2{font-family:inherit;font-weight:700;font-size:2.45em}
.minimal .resume-section h3{text-transform:none;letter-spacing:.035em;font-size:1em}
.minimal .resume-section li+li::before{content:none}
.tempo .resume-header{background:var(--accent);color:#fff;border-left:.58em solid var(--tone);margin-bottom:1.45em}
.tempo .resume-header h2,.tempo .resume-contact{color:#fff}
.tempo .resume-section h3{border:0;border-left:.32em solid var(--tone);padding:.12em 0 .12em .6em}
.signature .resume-header{border:.12em solid var(--tone);margin:1.7em 1.7em 1.25em;padding:1.25em;align-items:center}
.signature .resume-title{font-family:Georgia,serif;font-style:italic;font-weight:500;color:var(--accent)}
.signature .resume-section h3{border-color:var(--tone);letter-spacing:.08em}
@media print{
  .resume-strengths>.resume-section{break-inside:avoid}
}

.mobile-photo.mirrored{transform:scaleX(-1)}
.phone-page video.mobile-photo{aspect-ratio:1;object-fit:cover;background:#e5f1f7}
.photo-orientation{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:10px 0 14px}
.photo-orientation legend{font-size:13px;font-weight:700;margin-bottom:6px;padding:0}
.photo-orientation label{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);border-radius:7px;font-size:13px;cursor:pointer}
.photo-orientation label:has(:checked){background:#e5f1f7;border-color:var(--ocean)}
.photo-orientation input{margin:0;accent-color:var(--ocean)}

.editor-brand{color:inherit;text-decoration:none}

.legal-page{max-width:820px;margin:32px auto 52px;padding:0 18px;line-height:1.65}
.legal-page h1{font-family:Georgia,serif;font-size:clamp(36px,6vw,54px);line-height:1.1;color:#14294b}
.legal-page h2{margin:28px 0 8px;line-height:1.25}
.legal-page h3{margin:18px 0 5px;font-size:1rem}
.legal-page p{margin:.5em 0}
.legal-page a{color:#075678;overflow-wrap:anywhere}
.legal-page .legal-note{margin:16px 0;padding:12px 14px;border-left:4px solid var(--orange);background:#fff0df}
.legal-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 16px}
.legal-details dt{font-weight:700}
.legal-details dd{margin:0}
.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;border-top:1px solid var(--line);padding-top:14px}
@media(max-width:480px){.legal-details{grid-template-columns:1fr}.legal-details dd{margin-bottom:5px}.layout>footer{flex-wrap:wrap;justify-content:flex-start}}
