/* LeaveApplication.in stylesheet */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;background:#f9fafb;color:#1f2937;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:#2563eb;text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-weight:700;line-height:1.25;color:#1f2937;margin:0 0 .5em}
h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.2rem}
p{margin:0 0 1em}
ul,ol{padding-left:1.25rem;margin:0 0 1em}
li{margin-bottom:.35rem}
.container{max-width:1180px;margin:0 auto;padding:0 1rem}
.skip-link{position:absolute;left:-9999px;background:#2563eb;color:#fff;padding:.5rem 1rem;z-index:1000}
.skip-link:focus{left:.5rem;top:.5rem}
.header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e5e7eb;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;max-width:1180px;margin:0 auto}
.logo{font-weight:800;font-size:1.15rem;color:#2563eb}
.logo span{color:#10b981}
.nav-toggle{display:none;background:none;border:0;font-size:1.5rem;cursor:pointer;min-width:44px;min-height:44px}
.nav ul{display:flex;list-style:none;gap:1.25rem;margin:0;padding:0}
.nav a{color:#1f2937;font-weight:500;padding:.5rem 0;display:inline-block}
.nav a:hover,.nav a.active{color:#2563eb;text-decoration:none}
.hero{background:linear-gradient(135deg,#eff6ff 0%,#ecfdf5 100%);padding:3rem 0 2.5rem}
.hero h1{font-size:2.4rem;margin-bottom:.75rem}
.hero-sub{font-size:1.1rem;color:#4b5563;max-width:640px;margin:0 auto 1.5rem;text-align:center}
.hero-inner{text-align:center}
.hero-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600;padding:.75rem 1.25rem;min-height:44px;border-radius:.5rem;border:1px solid transparent;cursor:pointer;font-size:1rem;transition:all .15s ease;text-decoration:none}
.btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.btn-primary{background:#2563eb;color:#fff!important}
.btn-primary:hover{background:#1d4ed8;text-decoration:none}
.btn-secondary{background:#10b981;color:#fff!important}
.btn-secondary:hover{background:#059669;text-decoration:none}
.btn-outline{background:#fff;color:#1f2937!important;border-color:#d1d5db}
.btn-outline:hover{background:#f3f4f6;text-decoration:none}
section{padding:2.5rem 0}
.section-title{text-align:center;margin-bottom:.5rem;font-size:1.75rem}
.section-sub{text-align:center;color:#6b7280;max-width:640px;margin:0 auto 2rem}
.grid{display:grid;gap:1rem}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:0 8px 20px rgba(0,0,0,.06);transform:translateY(-2px)}
.card-title{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.card-icon{font-size:2rem;margin-bottom:.5rem;display:block}
.card .meta{font-size:.85rem;color:#6b7280;margin-top:.5rem}
.feature{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.25rem;text-align:center}
.feature .icon{font-size:2rem;margin-bottom:.5rem}
.cat{display:block;background:#fff;border:2px solid transparent;border-radius:.75rem;padding:1.5rem;text-decoration:none;color:#1f2937;transition:all .2s}
.cat:hover{border-color:#2563eb;text-decoration:none}
.cat .icon{font-size:2.5rem}
.cat .count{color:#6b7280;font-size:.85rem}
.input,.select,.textarea{width:100%;border:1px solid #d1d5db;border-radius:.5rem;padding:.65rem .85rem;font:inherit;background:#fff;min-height:44px}
.input:focus,.select:focus,.textarea:focus{outline:2px solid #2563eb;outline-offset:1px;border-color:#2563eb}
.textarea{min-height:120px;resize:vertical}
.label{display:block;font-weight:600;margin-bottom:.4rem;font-size:.95rem}
.field{margin-bottom:1rem}
.fields-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.help{color:#6b7280;font-size:.8rem;margin-top:.25rem}
.gen-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem}
.gen-form{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}
.gen-preview{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;position:sticky;top:5rem;max-height:calc(100vh - 6rem);overflow:auto}
.preview-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.25rem;font-family:'Courier New',Courier,monospace;font-size:.92rem;white-space:pre-wrap;word-break:break-word;min-height:300px;line-height:1.55}
.steps-bar{display:flex;gap:.4rem;margin-bottom:1.5rem}
.steps-bar .step{flex:1;height:6px;background:#e5e7eb;border-radius:3px;transition:background .2s}
.steps-bar .step.active{background:#2563eb}
.step-label{font-size:.85rem;color:#6b7280;margin-bottom:1rem}
.type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}
.type-card{border:2px solid #e5e7eb;border-radius:.5rem;padding:.75rem .5rem;text-align:center;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.type-card:hover{border-color:#2563eb}
.type-card.selected{border-color:#2563eb;background:#eff6ff}
.type-card .icon{font-size:1.6rem;display:block;margin-bottom:.25rem}
.type-card .name{font-size:.82rem;font-weight:600}
.actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.action-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid #e5e7eb;padding:.75rem 0;margin-top:1rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}
.lang-pick{display:flex;flex-wrap:wrap;gap:.5rem}
.lang-pick label{flex:1;min-width:100px;border:2px solid #e5e7eb;border-radius:.5rem;padding:.6rem;text-align:center;cursor:pointer;font-weight:600}
.lang-pick input{display:none}
.lang-pick label:has(input:checked){border-color:#2563eb;background:#eff6ff}
.breadcrumb{font-size:.9rem;color:#6b7280;margin-bottom:1rem}
.breadcrumb a{color:#6b7280}
.badges{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 1.5rem}
.badge{background:#eff6ff;color:#2563eb;padding:.25rem .75rem;border-radius:1rem;font-size:.8rem;font-weight:600}
.badge.green{background:#ecfdf5;color:#059669}
.badge.amber{background:#fffbeb;color:#d97706}
.sample-block{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.25rem;margin-bottom:1rem}
.sample-block h3{margin-bottom:.5rem;color:#2563eb}
.sample-text{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;font-family:'Courier New',Courier,monospace;font-size:.92rem;white-space:pre-wrap;word-break:break-word;line-height:1.6;margin:0}
.sample-actions{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}
.copy-btn{background:#10b981;color:#fff;border:0;padding:.5rem 1rem;border-radius:.4rem;font-weight:600;cursor:pointer;min-height:36px;font-size:.85rem}
.copy-btn:hover{background:#059669}
.copy-btn.copied{background:#16a34a}
.pdf-btn{background:#ef4444;color:#fff;border:0;padding:.5rem 1rem;border-radius:.4rem;font-weight:600;cursor:pointer;min-height:36px;font-size:.85rem}
.pdf-btn:hover{background:#dc2626}
.doc-btn{background:#2563eb;color:#fff;border:0;padding:.5rem 1rem;border-radius:.4rem;font-weight:600;cursor:pointer;min-height:36px;font-size:.85rem}
.doc-btn:hover{background:#1d4ed8}
.edit-btn{background:#6366f1;color:#fff;border:0;padding:.5rem 1rem;border-radius:.4rem;font-weight:600;cursor:pointer;min-height:36px;font-size:.85rem;transition:background .2s}
.edit-btn:hover{background:#4f46e5}
.faq{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.5rem;overflow:hidden}
.faq summary{padding:1rem;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:#2563eb}
.faq[open] summary::after{content:"−"}
.faq-body{padding:0 1rem 1rem}
.ad-slot{border:2px dashed #d1d5db;background:#f9fafb;color:#9ca3af;text-align:center;padding:1.25rem;margin:1.5rem 0;border-radius:.5rem;font-size:.85rem;min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.ad-slot::before{content:"Advertisement";display:block;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.5rem}
.footer{background:#1f2937;color:#d1d5db;margin-top:3rem;padding:2.5rem 0 1.5rem}
.footer a{color:#d1d5db}
.footer h4{color:#fff;margin-bottom:.75rem}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2rem}
.footer-grid ul{list-style:none;padding:0}
.footer-grid li{margin-bottom:.35rem}
.footer-bottom{border-top:1px solid #374151;padding-top:1rem;text-align:center;font-size:.85rem;color:#9ca3af}
.callout{background:#eff6ff;border-left:4px solid #2563eb;padding:1rem 1.25rem;border-radius:.4rem;margin:1rem 0}
.callout.warn{background:#fffbeb;border-color:#f59e0b}
.callout.success{background:#ecfdf5;border-color:#10b981}
.prose{max-width:780px;margin:0 auto}
.prose-app h2{margin-top:1.75rem}
.prose-app h3{margin-top:1.25rem}
@media (max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.gen-wrap{grid-template-columns:1fr}.gen-preview{position:static;max-height:none}}
@media (max-width:640px){.nav-toggle{display:inline-flex;align-items:center;justify-content:center}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;padding:.5rem 1rem}.nav.open{display:block}.nav ul{flex-direction:column;gap:0}.nav li{border-bottom:1px solid #f3f4f6}.nav a{padding:.85rem 0;display:block}.hero h1{font-size:1.75rem}.grid-4,.grid-3,.grid-2,.fields-2{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}.type-grid{grid-template-columns:repeat(2,1fr)}h1{font-size:1.6rem}}
