:root{--navy:#193149;--teal:#087f7e;--cream:#fffaf2;--purple:#6d438e;--border:#d9e6e7;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--navy);background:var(--cream);font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 94% 3%,#dceff5 0,transparent 42%),radial-gradient(ellipse at 2% 30%,#eee3f9 0,transparent 35%),var(--cream);min-height:100vh}a{color:#12666f;text-underline-offset:3px}button,.button{font:inherit;font-weight:700;min-height:46px;border-radius:15px;border:1px solid #c4d7dc;padding:11px 17px;background:white;color:var(--navy);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:6px}button:hover,.button:hover{background:#edf6f6}button:disabled{opacity:.55;cursor:not-allowed}.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.primary:hover{background:#096b6b}.danger{color:#96243c}.toolbar{display:flex;flex-wrap:wrap;gap:9px}.wrap{width:94%;max-width:1580px;margin:auto}.topbar{padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.brand{font-size:1.15rem;font-weight:800;text-decoration:none;color:var(--navy)}.topbar nav{display:flex;gap:8px;flex-wrap:wrap}.hero{padding:36px 0 20px;max-width:950px}h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.1;margin:10px 0 18px}h2{font-size:1.5rem}h3{font-size:1.13rem}.eyebrow{font-weight:800;letter-spacing:.1em;color:#126b70;font-size:.88rem}.hero p{font-size:1.1rem;line-height:1.65;max-width:72ch}.privacy{background:#e6f3ec;border:1px solid #b1d1bc;border-radius:20px;padding:18px 22px;line-height:1.6}.privacy label{display:flex;gap:10px;align-items:start;font-weight:650}.privacy input{width:23px;height:23px;flex-shrink:0}.privacy small{display:block;margin-top:7px}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;margin:24px 0}.steps{min-width:0;align-self:start;position:sticky;top:15px;background:#fff;padding:18px;border-radius:23px;box-shadow:0 8px 25px #1d33460c}.steps button{display:flex;width:100%;justify-content:start;text-align:start;margin:6px 0;gap:10px;border:0;background:transparent}.steps button[aria-current=step]{background:#d8eeee;color:#075e64}.step-number{border-radius:50%;background:#f0e7f9;padding:4px;min-width:30px;text-align:center}.progress{height:10px;overflow:hidden;background:#e4edf0;border-radius:9px}.progress span{display:block;height:100%;background:var(--teal);transition:width .2s}.editor{min-width:0;background:#fff;border-radius:25px;padding:26px;box-shadow:0 10px 35px #153c5711;border:1px solid #e4e9ee}.step-panel[hidden]{display:none}.step-panel h2{margin-top:0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.wide{grid-column:1/-1}.field label{font-weight:700}.field input,.field textarea,.field select{width:100%;font:inherit;padding:12px;border:1px solid #9aafb8;border-radius:12px;color:var(--navy);background:#fff;min-height:47px}.field textarea{resize:vertical;min-height:86px;line-height:1.5}.field small{font-size:.88rem;color:#465c6b}.check-group{display:flex;flex-wrap:wrap;gap:10px}.check-group label{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #c7d9dc;border-radius:12px;background:#f6fafd;min-height:46px}.check-group input{width:22px;height:22px;min-height:auto}.actions-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:25px;padding-top:20px;border-top:1px solid var(--border)}#status{min-height:1.5em;font-weight:650;color:#175a5c;margin:16px 0}.tip{border-radius:18px;background:#f8e9d9;padding:18px 21px;margin:20px 0;max-width:900px;line-height:1.5}.tip b{color:#6e3b37}.upload-zone{width:100%;min-height:170px;border:2px dashed #609aa5;background:#eff8f8;padding:25px;text-align:center;display:flex;flex-direction:column;gap:10px;border-radius:22px}.upload-zone.dragover{background:#d4edef;border-color:var(--teal)}.photo-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px}.photo-preview{width:150px;height:188px;object-fit:contain;border-radius:16px;background:#edf3f4;border:1px solid #d5e2e5}.photo-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:500px}.photo-controls{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}.photo-note{font-size:.9rem}.photo-zone:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #6d438e;outline-offset:4px}dialog{border:0;border-radius:22px;max-width:min(900px,94vw);width:820px;max-height:92dvh;padding:25px;color:var(--navy);box-shadow:0 12px 60px #102f4c55}dialog::backdrop{background:#0e273bb3}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog-top h2{margin:5px 0}.crop-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px}.crop-stage{width:100%;max-height:55vh;aspect-ratio:4/5;object-fit:contain;background:#f2f1ed;touch-action:none;border:1px solid #a9bdc5}.slider{display:block;margin:18px 0;font-weight:650}.slider input{width:100%;margin:10px 0;height:30px}.crop-help{font-size:.9rem;line-height:1.5}.emergency-btn{font-size:1.05rem;background:#193149;color:white;width:100%;margin:18px 0}.emergency{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;padding:20px;background:#fff;color:#142b40}.emergency::backdrop{background:#fff}.emergency-main{max-width:1100px;margin:auto}.emergency-header{display:flex;gap:24px;align-items:start;margin:24px 0}.emergency img{width:min(36vw,270px);aspect-ratio:4/5;object-fit:contain}.emergency h1{font-size:clamp(2rem,6vw,3.7rem);overflow-wrap:anywhere}.emergency p,.emergency li{font-size:1.25rem;line-height:1.5;white-space:pre-line}.emergency-block{padding:18px;border:2px solid #aebfc9;border-radius:15px;margin:15px 0}.emergency-block.alert{background:#fff0e9;border-color:#ba604a}.emergency-block h2{margin:0 0 8px}.emergency-call{font-size:1.4rem;font-weight:800}.print-output{display:none}.sheet-header{display:flex;gap:24px;align-items:start}.sheet-photo{width:130px;height:163px;object-fit:contain}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.sheet-section{break-inside:avoid}.sheet-section h2{background:#e8f2f2;padding:5px 8px;font-size:1rem;margin:12px 0 5px}.sheet-section dl{margin:0}.sheet-section dt{font-weight:750;display:inline}.sheet-section dd{display:inline;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.sheet-section .sheet-line{margin-bottom:5px;font-size:.87rem;line-height:1.35}.footer{border-top:1px solid #d8e5e5;margin:35px 0 0;padding:22px 0 45px;line-height:1.7}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.guide-panel{background:#fff;border:1px solid #d7e2e7;border-radius:23px;padding:24px;box-shadow:0 8px 25px #173b5410;margin:20px 0}.guide-panel p,.guide-panel li{line-height:1.7;max-width:80ch}.guide-panel ul{padding-left:23px}.guide-panel details{padding:12px 0;border-top:1px solid #d7e3e7}.guide-panel summary{font-weight:750;cursor:pointer;padding:10px 0}.gateway{padding:22px;background:#e0f1ee;border-radius:19px;text-decoration:none;color:var(--navy);display:block}.gateway:nth-child(3n+2){background:#ece2f5}.gateway:nth-child(3n+3){background:#fde6df}.gateway h2{margin:0 0 8px}.compare-scroll{overflow:auto;max-width:100%}.compare-table{border-collapse:collapse;min-width:700px;width:100%}.compare-table th,.compare-table td{border:1px solid #c8dadd;padding:14px;text-align:left;vertical-align:top;line-height:1.55;max-width:340px;overflow-wrap:anywhere}.compare-table th{background:#e4f2f0}.compare-table a{display:inline-block}.compare-controls{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.danger-panel{background:#fff0e9}.muted{color:#496273}footer .wrap{padding:24px 0}body.modal-open{overflow:hidden}@media(max-width:850px){.workspace{grid-template-columns:minmax(0,1fr)}.steps{position:static;padding:15px}.step-list{display:flex;overflow-x:auto;gap:5px;padding-bottom:6px}.steps button{width:auto;flex-shrink:0;white-space:nowrap}.steps button:not([aria-current=step]) .step-label{display:none}.editor{padding:20px}.guide-grid{grid-template-columns:1fr 1fr}.crop-layout{grid-template-columns:1fr}.crop-stage{max-height:40vh}.fields{grid-template-columns:1fr}.hero{padding-top:24px}.emergency-header{gap:15px}.emergency p,.emergency li{font-size:1.1rem}.sheet-grid{grid-template-columns:1fr}}@media(max-width:520px){.guide-grid{grid-template-columns:1fr}.topbar nav .button{font-size:.9rem;padding:10px}.toolbar>*{flex:1 1 42%}.emergency-header{flex-direction:column}.emergency img{width:180px;align-self:center}.emergency{padding:15px}.crop-layout{gap:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{@page{size:A4;margin:12mm}body{background:white;color:#111;font-size:10pt}.screen-only,body>dialog{display:none!important}.print-output{display:block!important}.sheet-grid{grid-template-columns:1fr 1fr}h1{font-size:20pt;margin:3px 0 10px}.sheet-section{box-shadow:none}.sheet-photo{width:110px;height:138px}.sheet-section .sheet-line{font-size:9pt}.print-output .sheet-title{margin:0}.print-output p{line-height:1.4}.footer{display:none}.print-comparison .screen-only{display:block!important}.print-comparison .topbar,.print-comparison .hero,.print-comparison .toolbar,.print-comparison .compare-controls,.print-comparison .footer{display:none!important}.compare-scroll{overflow:visible}.compare-table{min-width:0;font-size:8pt}.compare-table th,.compare-table td{padding:7px}.guide-panel{break-inside:avoid}}

.tool-skip{position:absolute;left:12px;top:-100px;background:#193149;color:white;padding:14px;z-index:100}.tool-skip:focus{top:12px}

[hidden]{display:none!important}
