:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#16243b;background:#f3f6fb;font-synthesis:none;--blue:#315cd5;--muted:#687589;--line:#dce3ed}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.055em;line-height:1.15;font-weight:650;margin-bottom:0}h2{font-size:1.15rem;letter-spacing:-.025em;margin:0}h3{font-size:1rem;margin-bottom:1rem}p{line-height:1.6}label{display:block;font-size:.875rem;font-weight:600;line-height:1.4;margin-bottom:1rem}input,textarea{width:100%;border:1px solid #cbd5e3;border-radius:9px;background:#fff;color:#16243b;padding:.8rem .85rem;margin-top:.45rem;font-weight:400;line-height:1.5;transition:border .15s,box-shadow .15s}textarea{resize:vertical;min-height:80px}input:focus,textarea:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px #315cd51c}button:focus-visible,a:focus-visible{outline:3px solid #9db7ff;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;border:0;border-radius:9px;padding:.82rem 1.15rem;font-size:.875rem;font-weight:600;line-height:1.4;min-height:44px}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 9px #315cd521}.primary:hover{background:#244cc0}.secondary{background:#edf2fa;color:#253e69}.secondary:hover{background:#e1e9f7}.text-button,.icon-button{border:0;background:transparent;color:var(--muted);font-size:.875rem;padding:.5rem 0;text-align:left}.text-button:hover,.text-link:hover{color:var(--blue)}.eyebrow{font-size:.73rem;font-weight:650;letter-spacing:.14em;color:var(--muted);margin-bottom:.65rem}.hint{font-size:.8rem;color:var(--muted);font-weight:400;line-height:1.5}.form-error{color:#b5283f;font-size:.875rem;line-height:1.5;margin:.8rem 0}.form-error:empty{display:none}.brand-mark{display:grid;place-items:center;background:#16243b;color:#fff;font-weight:600;letter-spacing:-.055em;width:56px;height:56px;border-radius:15px;font-size:1.35rem;margin-bottom:2rem}.brand-mark.small{width:42px;height:42px;border-radius:12px;font-size:1rem;flex-shrink:0;margin:0}.boot{display:grid;place-items:center;min-height:100vh;color:var(--muted);font-size:.875rem}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:2rem;background:radial-gradient(ellipse at 80% 0,#e4ebfd,transparent 60%)}.auth-card{background:#fff;border:1px solid var(--line);border-radius:20px;width:100%;max-width:430px;padding:2.5rem;box-shadow:0 18px 80px #16243b0a}.auth-card h1{font-size:1.8rem;margin-bottom:1.8rem}.auth-card p{font-size:.875rem;color:var(--muted)}.auth-card .primary{width:100%}.auth-card .hint{display:block;margin:-.6rem 0 1rem}.studio{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:2.4rem 1.5rem}.brand{display:flex;align-items:center;gap:.8rem;font-size:1.05rem;font-weight:650;letter-spacing:-.025em}.brand-sub{display:block;font-size:.75rem;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:.2rem}nav{margin-top:3rem;display:grid;gap:.4rem}.nav-item{display:flex;align-items:center;gap:.75rem;border:0;background:transparent;color:var(--muted);width:100%;text-align:left;padding:.85rem .85rem;border-radius:9px;font-size:.875rem;white-space:nowrap}.nav-item.active{background:#edf2ff;color:#315cd5;font-weight:600}.nav-symbol{font-size:1.05rem}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;padding-top:1rem;border-top:1px solid var(--line)}.account-name{font-size:.875rem;font-weight:600;margin-bottom:.6rem}.workspace{padding:3rem 3.2rem;max-width:1500px;width:100%;margin:auto}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;gap:1rem}.private-label{border:1px solid var(--line);border-radius:20px;font-size:.75rem;color:var(--muted);padding:.45rem .8rem;white-space:nowrap}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:1.5rem;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:1.8rem;box-shadow:0 3px 12px #16243b03}.section-heading{display:flex;align-items:center;gap:.75rem;margin-bottom:1.65rem}.step{display:grid;place-items:center;background:#f0f4fb;color:#6c7c95;width:28px;height:28px;border-radius:8px;font-size:.72rem;font-weight:600}.generator>form>label{margin-bottom:.4rem}.generator>form>.hint{margin:.6rem 0 1.35rem}.generator .primary{min-width:180px}.document-column{display:grid;gap:1.2rem}.cv-card{padding:1.35rem}.cv-preview{display:block;border:1px solid var(--line);background:#f2f5fa;padding:13px;width:100%;border-radius:7px;overflow:hidden}.cv-preview img{display:block;width:100%;height:auto;box-shadow:0 3px 15px #16243b18}.document-meta{display:flex;flex-direction:column;gap:.3rem;font-size:.875rem;font-weight:600;margin:1.15rem 0}.full-width{width:100%;text-align:center}.attachments{padding:1.35rem}.attachments h3{font-size:.9rem}.attachments ul{padding-left:1rem;font-size:.8rem;color:#53617a;line-height:1.65}.attachments li{padding-bottom:.35rem}.text-link{font-size:.8rem;color:var(--blue);line-height:1.5}.generation-state{margin-top:1.3rem;padding:1rem;background:#edf2ff;border-radius:8px;font-size:.875rem;color:#315cd5}.spinner{width:16px;height:16px;border:2px solid #ffffff70;border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.letter-result,.history{border-top:1px solid var(--line);margin-top:2rem;padding-top:1.6rem}.result-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.4rem}.result-heading h3{margin:0}.badge{background:#f0f4fb;color:var(--muted);font-size:.73rem;border-radius:5px;padding:.3rem .5rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.fixed-paragraph{background:#f7f9fc;border-left:2px solid #c6d3ea;padding:1rem;font-size:.875rem;line-height:1.65;color:#53617a;margin:1rem 0 1.4rem}.button-row{display:flex;flex-wrap:wrap;gap:.6rem}.history-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;background:transparent;border:0;border-bottom:1px solid #eef1f6;text-align:left;padding:.9rem 0;color:#263f66}.history-item:hover{color:var(--blue)}.history-item span:first-child{font-size:.875rem;line-height:1.5}.history-item small{display:block;font-size:.75rem;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:17px;max-width:700px;width:calc(100% - 2rem);padding:1.8rem;color:#16243b;max-height:90vh;overflow:auto;box-shadow:0 25px 100px #0002}dialog::backdrop{background:#13264088;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.icon-button{font-size:1.8rem;line-height:1;padding:.3rem}.dialog-section+.dialog-section{margin-top:2rem;border-top:1px solid var(--line);padding-top:1.5rem}.checkbox{display:flex;align-items:center;gap:.6rem;align-self:center;font-weight:400}.checkbox input{width:18px;height:18px;margin:0;accent-color:var(--blue)}.credentials{background:#edf2ff;padding:1rem;border-radius:9px;margin:1rem 0;line-height:1.6;font-size:.875rem;overflow-wrap:anywhere}.credentials code{display:block;font-size:1rem;font-weight:600;user-select:all}.user-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef1f6;padding:.8rem 0;font-size:.875rem}.user-row small{color:var(--muted);display:block;font-size:.75rem;margin-top:.3rem}.pdf-dialog{max-width:900px;height:92vh;display:flex;flex-direction:column}.pdf-dialog:not([open]){display:none}.pdf-dialog iframe{width:100%;flex:1;min-height:300px;border:1px solid var(--line);border-radius:5px;margin-bottom:1rem}.pdf-dialog .primary{align-self:flex-end}.toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);padding:.9rem 1.4rem;background:#16243b;color:#fff;border-radius:10px;box-shadow:0 5px 20px #0002;z-index:20;font-size:.875rem;max-width:90vw}.toast.error{background:#a52b40}@media(min-width:1550px){.workspace-grid{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1150px){.studio{grid-template-columns:200px 1fr}.sidebar{padding:2rem 1rem}.workspace{padding:2.2rem 1.8rem}.workspace-grid{grid-template-columns:minmax(0,1fr) 270px;gap:1rem}.panel{padding:1.25rem}}@media(max-width:900px){.studio{grid-template-columns:1fr}.sidebar{position:relative;top:auto;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-right:0;border-bottom:1px solid var(--line);gap:1rem}.sidebar nav{margin:0;display:flex}.sidebar .nav-symbol,.sidebar #nav-documents,.sidebar-bottom .text-button{display:none}.sidebar-bottom{margin:0;border:0;padding:0}.account-name{margin:0}.workspace{padding:2rem 1.5rem}.workspace-grid{grid-template-columns:minmax(0,1fr) 270px}.sidebar #nav-admin{font-size:.8rem;padding:.5rem}.sidebar-bottom{flex-direction:row;align-items:center;gap:1rem}.sidebar-bottom .logout{display:block;font-size:.8rem}}@media(max-width:680px){.brand-sub{display:none}.sidebar{padding:1rem}.brand{font-size:.95rem}.brand-mark.small{width:34px;height:34px;border-radius:9px}.sidebar-bottom .account-name{display:none}.workspace{padding:1.8rem 1rem}.page-header{margin-bottom:1.3rem}.private-label{display:none}h1{font-size:1.8rem}.workspace-grid{display:flex;flex-direction:column}.generator,.document-column{width:100%}.document-column{grid-template-columns:1fr}.cv-preview{max-width:240px;margin:auto}.panel{padding:1.25rem}.form-grid{grid-template-columns:1fr;gap:0}.auth-wrap{padding:1rem}.auth-card{padding:1.8rem}.auth-card h1{font-size:1.6rem}.button-row .primary,.button-row .secondary{width:100%}.sidebar .brand{gap:.6rem}.sidebar nav{margin-left:auto}.generator .primary{width:100%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:900px){.sidebar-bottom{flex-direction:column;align-items:flex-start;gap:0}.sidebar-bottom .text-button{display:block;font-size:.8rem;padding:.3rem 0}.sidebar-bottom .account-name{display:none}}
