:root{color-scheme:dark;--bg:#041736;--panel:#092145;--line:#304763;--text:#f7f4ef;--muted:#aebdd0;--orange:#ff5b18;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:var(--text);background:radial-gradient(circle at 90% 8%,#102b4b 0%,#041736 35%);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}header{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px clamp(24px,5vw,80px);border-bottom:1px solid #29405a}header img{width:150px;max-height:55px;object-fit:contain}header>span,.eyebrow,.panel-heading>span,.section-title>span,.secure{font-size:.72rem;font-weight:800;letter-spacing:.23em}header>span{color:var(--muted)}header button,.text-button{border:0;background:none;color:var(--muted);text-decoration:underline}main{max-width:1260px;margin:auto;padding:0 28px 110px}.hero{padding:75px 0 55px;max-width:700px}.eyebrow,.section-title>span{color:var(--orange)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(3.8rem,8vw,7.4rem);line-height:.95;letter-spacing:-.075em;font-weight:500;margin:22px 0}h1 em{font-style:normal;color:var(--orange)}.hero p{font-size:1.14rem;line-height:1.6;color:var(--muted);max-width:570px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:clamp(22px,4vw,48px);max-width:860px;box-shadow:0 24px 70px #0002}.panel h2{font-size:3rem;font-weight:500;letter-spacing:-.06em}.panel h3{font-size:1.55rem;letter-spacing:-.03em}form{display:grid;gap:18px}label{display:grid;gap:9px;color:var(--muted);font-size:.82rem;font-weight:700;letter-spacing:.05em}input,select,textarea{width:100%;background:#061a38;border:1px solid #425876;border-radius:12px;color:var(--text);padding:16px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 2px #ff5b1833}textarea{resize:vertical;min-height:90px}button.primary,button.secondary{border-radius:10px;padding:17px 23px;font-weight:800;border:1px solid var(--orange)}button.primary{background:var(--orange);color:#06162b}button.secondary{background:transparent;color:var(--text)}button:disabled{opacity:.55;cursor:wait}.form-actions{display:flex;gap:12px;flex-wrap:wrap}.fine{font-size:.78rem;color:var(--muted);line-height:1.5}.welcome{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:20px 0 45px;border-bottom:1px solid var(--line)}.welcome h2{font-size:clamp(2.2rem,4vw,4rem);font-weight:500;letter-spacing:-.06em;margin:12px 0}.welcome p{color:var(--muted);margin:0}.secure{color:var(--muted);white-space:nowrap}.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:28px 0 50px}.actions button{min-height:110px;background:#092145;border:1px solid var(--line);color:var(--text);padding:18px;text-align:left;font-size:1.15rem;border-radius:12px;display:flex;justify-content:space-between;align-items:end}.actions button.selected{border-color:var(--orange);background:#123050}.actions span{color:var(--orange)}.section-title{margin-bottom:24px}.section-title h2{font-size:clamp(2.6rem,6vw,5rem);font-weight:500;letter-spacing:-.07em;margin:12px 0}.section-title p{color:var(--muted);line-height:1.6;max-width:620px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.list{display:grid;gap:12px;margin:0 0 26px}.item{padding:20px 24px;border:1px solid var(--line);border-radius:13px;background:#092145;display:flex;justify-content:space-between;gap:16px;align-items:center}.item strong{display:block;font-size:1.12rem;margin-bottom:6px}.item small{color:var(--muted);line-height:1.4}.item button{color:var(--orange);border:0;background:none;font-weight:800}.empty{color:var(--muted);border:1px dashed var(--line);padding:24px;border-radius:12px}.badge{display:inline-block;padding:5px 9px;border:1px solid var(--line);border-radius:50px;color:#d8e6f6;font-size:.7rem;margin-top:9px;text-transform:uppercase;letter-spacing:.08em}#notice{min-height:0}#notice:not(:empty){padding:16px 20px;border-radius:10px;border:1px solid var(--orange);margin:0 0 28px;background:#432416;color:white}footer{border-top:1px solid var(--line);padding:28px clamp(24px,5vw,80px);color:var(--muted);font-size:.75rem;display:flex;justify-content:space-between;gap:20px}footer a{color:var(--text)}[hidden]{display:none!important}@media(max-width:760px){header{min-height:72px}header img{width:125px}header>span{font-size:.62rem}.hero{padding:55px 0 30px}main{padding:0 18px 80px}.actions{grid-template-columns:repeat(2,1fr);gap:8px;padding:20px 0 40px}.actions button{min-height:95px;font-size:.94rem;padding:13px}.grid{grid-template-columns:1fr}.welcome{display:block}.secure{display:block;margin-top:18px}.item{align-items:start;flex-direction:column}.form-actions>*{width:100%}footer{display:block}footer a{display:block;margin-top:12px}}

/* Simple FFSM editor */
.hero{padding:54px 0 34px;max-width:840px}.hero h1{font-size:clamp(3.4rem,7vw,6rem)}.actions{grid-template-columns:repeat(5,1fr);padding:22px 0 42px}.actions button{min-height:84px}.switcher{display:flex;gap:10px;margin:0 0 22px}.switcher button{padding:16px 22px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font-weight:800}.switcher button.selected{background:var(--orange);color:#06162b;border-color:var(--orange)}.panel.compact{max-width:860px;padding:24px;margin:0 0 20px}.panel.compact h3{margin-bottom:18px}.panel h3{margin-bottom:22px}.panel h4{font-size:1.15rem;margin:10px 0 15px}.panel .required{font-size:.72rem;color:var(--orange);letter-spacing:0}button.wide{width:100%}.more{border:1px solid var(--line);border-radius:12px;padding:16px 18px}.more summary{cursor:pointer;font-weight:800;color:var(--text)}.more-fields{display:grid;gap:18px;padding-top:20px}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.7rem;letter-spacing:.18em}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}#extra-files{margin-top:20px}#owner-switch{display:inline-block;margin:10px 0 0}.profile-head{display:flex;align-items:center;gap:18px;margin-bottom:25px}.profile-head img{width:80px;height:80px;object-fit:cover;border-radius:14px}.profile-head strong,.profile-head small{display:block}.profile-head strong{font-size:1.4rem}.profile-head small{color:var(--muted);margin-top:5px}#photo-form{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:28px}input[readonly]{opacity:.7;cursor:not-allowed}.item a{color:var(--orange);font-weight:800}.item p{color:var(--muted);margin:8px 0;line-height:1.5;white-space:pre-wrap}
@media(max-width:850px){.actions{grid-template-columns:repeat(3,1fr)}.actions button{min-height:70px}.hero{padding:35px 0 20px}.switcher{display:grid;grid-template-columns:1fr 1fr}.switcher button{padding:13px 8px}.panel{padding:22px}.section-title h2{font-size:clamp(2.4rem,10vw,4rem)}}
@media(max-width:520px){.actions{grid-template-columns:repeat(2,1fr);gap:7px}.actions button{min-height:64px;font-size:.9rem}.switcher{grid-template-columns:1fr}.hero h1{font-size:3.3rem}.hero p{font-size:1rem}.panel h2{font-size:2.3rem}}
