:root{--navy: #16266b;--navy-deep: #111a4b;--violet: #3c0a97;--ink: #172033;--muted: #667085;--line: #d9deea;--panel: #ffffff;--canvas: #eef1f6}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--canvas);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{position:sticky;top:0;z-index:20;height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 34px;color:#fff;background:linear-gradient(115deg,var(--navy-deep),var(--navy));box-shadow:0 10px 28px #111a4b2e}.brand-lockup,.header-actions,.preview-toolbar,.panel-heading,.intro-row{display:flex;align-items:center}.brand-lockup img{width:190px;height:auto;background:#fff}.brand-divider{width:1px;height:34px;background:#ffffff52;margin:0 17px}.eyebrow,.step-kicker{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.18em}.brand-lockup h1{margin:0;font-size:23px;font-weight:600}.save-indicator{display:block;margin-top:2px;color:#ffffffad;font-size:10px;line-height:1.2}.save-indicator.save-saved{color:#bff0d4}.save-indicator.save-error{color:#ffd0d0}.header-actions{gap:18px}.privacy-note{font-size:13px;color:#ffffffb3}.primary-button,.secondary-button,.header-button,.ai-button{border:0;border-radius:9px;padding:11px 17px;font-weight:700;transition:transform .12s ease,box-shadow .12s ease}.primary-button{color:var(--navy-deep);background:#fff;box-shadow:0 7px 18px #0000001f}.primary-button:hover,.secondary-button:hover,.header-button:hover,.ai-button:hover{transform:translateY(-1px)}.header-button{padding:9px 11px;color:#fff;border:1px solid rgb(255 255 255 / 28%);background:#ffffff12;font-size:12px}.library-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#0f173a9e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.library-dialog{width:min(720px,100%);max-height:min(780px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8deeb;border-radius:20px;background:#f7f8fb;box-shadow:0 28px 90px #060d3159}.library-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 18px;background:#fff;border-bottom:1px solid #e3e7ef}.library-heading h2{margin:0;color:var(--ink);font-size:27px;letter-spacing:-.025em}.dialog-close{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:11px;color:#586174;background:#edf0f5;font-size:25px;line-height:1}.library-actions{display:flex;flex-wrap:wrap;gap:8px;padding:18px 26px 10px}.library-primary,.library-secondary{min-height:40px;padding:9px 13px;border-radius:9px;font-size:12px;font-weight:700}.library-primary{border:0;color:#fff;background:var(--navy)}.library-secondary{border:1px solid #ced5e4;color:#344054;background:#fff}.library-help{margin:0;padding:0 26px 15px;color:var(--muted);font-size:12px;line-height:1.45}.job-list{min-height:180px;display:grid;align-content:start;gap:9px;padding:0 26px 26px;overflow:auto}.job-card{position:relative;display:flex;align-items:stretch;overflow:hidden;border:1px solid #dce1eb;border-radius:13px;background:#fff}.job-card.is-current{border-color:#8797ca;box-shadow:0 0 0 2px #16266b14}.job-open{min-width:0;flex:1;display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 12px;text-align:left;border:0;color:inherit;background:transparent}.job-open:hover{background:#f7f8fc}.job-thumb{width:78px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:8px;color:#8b94a6;background:#e9ecf2;font-size:9px;font-weight:700;letter-spacing:.1em}.job-thumb img{width:100%;height:100%;object-fit:cover}.job-copy{min-width:0;display:grid;gap:3px}.job-copy strong,.job-copy span,.job-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-copy strong{color:var(--navy-deep);font-size:14px}.job-copy span{color:#475467;font-size:12px}.job-copy small{color:var(--muted);font-size:10px}.current-badge{padding:5px 8px;border-radius:999px;color:#245c43;background:#e2f5ea;font-size:9px;font-weight:700}.job-delete{align-self:center;margin-right:12px;padding:7px 9px;border:0;border-radius:8px;color:#a12a2a;background:#fff0f0;font-size:10px;font-weight:700}.library-empty{min-height:170px;display:grid;place-items:center;align-content:center;gap:6px;padding:30px;text-align:center;color:var(--muted);border:1px dashed #cdd4e1;border-radius:13px;background:#fff;font-size:12px}.library-empty strong{color:#344054;font-size:15px}.workspace{display:grid;grid-template-columns:minmax(500px,.88fr) minmax(620px,1.12fr);min-height:calc(100vh - 78px)}.editor{padding:42px clamp(28px,4vw,62px) 70px;overflow:auto}.intro-row{align-items:flex-start;justify-content:space-between;gap:24px;margin:0 auto 28px;max-width:760px}.step-kicker{color:var(--navy)}.intro-row h2{margin:0;font-size:clamp(28px,2.6vw,40px);line-height:1.08;letter-spacing:-.035em}.intro-copy{max-width:560px;margin:13px 0 0;color:var(--muted);font-size:15px;line-height:1.6}.count-card{flex:0 0 112px;min-height:112px;display:grid;place-items:center;align-content:center;border:1px solid #d6dced;border-radius:18px;background:#ffffffb3;box-shadow:0 12px 30px #1f2a5912}.count-card strong{color:var(--navy);font-size:32px;line-height:1}.count-card span{font-size:13px;font-weight:700}.count-card small{margin-top:7px;color:var(--muted);font-size:10px}.status-message{max-width:760px;margin:-8px auto 18px;padding:11px 14px;border:1px solid #ccd5ed;border-radius:10px;color:#273b7d;background:#f1f4fd;font-size:12px;line-height:1.4}.panel{max-width:760px;margin:0 auto 18px;border:1px solid #d9deeb;border-radius:16px;background:var(--panel);box-shadow:0 13px 35px #19255512}.panel-heading{gap:13px;padding:20px 22px;border-bottom:1px solid #e7eaf1}.panel-heading>div{min-width:0;flex:1}.panel-heading h3,.panel-heading p{margin:0}.panel-heading h3{font-size:17px}.panel-heading p{margin-top:3px;color:var(--muted);font-size:12px}.step-number{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--navy);font-weight:700}.toggle-row{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:700}.toggle-row input{width:17px;height:17px;accent-color:var(--navy)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:22px}.field-grid label,.caption-field{display:grid;gap:7px;color:#475467;font-size:12px;font-weight:700}.field-grid input,.caption-field textarea,.ai-guidance-field input{width:100%;border:1px solid #cfd5e3;border-radius:9px;outline:none;color:var(--ink);background:#fff}.field-grid input{height:44px;padding:0 12px}.caption-field textarea{min-height:58px;resize:vertical;padding:9px 11px;line-height:1.35}.caption-tools{display:flex;flex-wrap:wrap;gap:8px 16px}.text-button{justify-self:start;padding:0;border:0;color:var(--navy);background:transparent;font-size:11px;font-weight:700}.text-button:hover{text-decoration:underline}.guidance-toggle{color:#59647a}.guidance-toggle.has-guidance:after{content:" ✓";color:#16855b}.ai-guidance-field{display:grid;gap:5px;margin-top:2px;padding:10px;border:1px solid #d9deeb;border-radius:9px;background:#f7f8fc}.ai-guidance-field span{color:#344054;font-size:11px}.ai-guidance-field input{height:38px;padding:0 10px;font-size:12px;font-weight:500}.ai-guidance-field small{color:var(--muted);font-size:10px;font-weight:500;line-height:1.35}.field-grid input:focus,.caption-field textarea:focus,.ai-guidance-field input:focus{border-color:var(--navy);box-shadow:0 0 0 3px #16266b1a}.secondary-button{color:var(--navy);background:#eef1fb;box-shadow:none;padding:9px 12px;font-size:12px}.dropzone{margin:22px;padding:42px 24px;text-align:center;border:1.5px dashed #a9b4d2;border-radius:13px;background:#f8f9fd;transition:border-color .12s ease,background .12s ease}.dropzone.is-dragging{border-color:var(--navy);background:#eef1fb}.upload-mark{width:45px;height:45px;display:grid;place-items:center;margin:0 auto 13px;border-radius:14px;color:#fff;background:var(--navy);font-size:28px;line-height:1}.dropzone h4{margin:0;font-size:18px}.dropzone p{margin:7px 0 18px;color:var(--muted);font-size:13px}.dropzone .primary-button{color:#fff;background:var(--navy)}.ai-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #e7eaf1;background:#f5f7fd}.ai-toolbar>div{display:grid;gap:3px}.ai-toolbar strong{color:var(--navy);font-size:13px}.ai-toolbar span{color:var(--muted);font-size:11px}.ai-button{flex:0 0 auto;padding:9px 12px;color:#fff;background:var(--navy);font-size:11px}.photo-list{display:grid;gap:1px;background:#e7eaf1}.photo-row{min-width:0;display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 18px;background:#fff}.photo-thumb{position:relative;height:68px;overflow:hidden;border-radius:8px;background:#e8ebf2}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb span{position:absolute;left:6px;top:6px;min-width:22px;height:22px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#111a4be0;font-size:11px;font-weight:700}.caption-field>label{color:var(--navy)}.row-actions{display:grid;grid-template-columns:34px 34px;gap:5px}.row-actions button{height:30px;border:1px solid #d2d7e2;border-radius:7px;color:#344054;background:#fff;font-size:12px}.row-actions .fit-button{grid-column:2;padding:0 4px;font-size:9px}.row-actions .remove-button{grid-column:1 / -1;border-color:#f2c9c9;color:#a12a2a}.preview-pane{min-width:0;padding:30px clamp(24px,4vw,54px) 80px;background:#dfe4ec;border-left:1px solid #cfd5df;overflow:auto}.preview-toolbar{justify-content:space-between;max-width:720px;margin:0 auto 16px;color:#4d586b;font-size:12px}.preview-toolbar div{display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;background:#2ba66b;box-shadow:0 0 0 4px #2ba66b1f}.paper-stack{display:grid;gap:28px;justify-content:center}.paper{position:relative;width:min(100%,720px);aspect-ratio:210 / 297;overflow:hidden;color:#101216;background:#fff;box-shadow:0 15px 36px #19233a2b}.cover-rule{position:absolute;top:2.7%;bottom:2.7%;left:1.4%;width:1.65%;background:var(--violet)}.cover-logo{position:absolute;top:2.4%;left:7.2%;width:27%}.cover-title{position:absolute;right:7.5%;bottom:26.4%;text-align:right}.cover-title h2{margin:0 0 18px;color:var(--navy);font-size:clamp(17px,2.2vw,29px)}.cover-title p{max-width:420px;margin:3px 0;font-size:clamp(11px,1.35vw,18px)}.cover-title .cover-date{margin-top:6px;font-size:clamp(9px,1.05vw,14.5px)}.cover-page address{position:absolute;left:6.2%;bottom:2.3%;color:var(--navy);font-size:clamp(8px,1vw,13px);font-style:normal;line-height:1.25}.photo-page{padding:4.3% 6.8% 3.4%}.page-header{height:5%;display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:.65%;border-bottom:1.3px solid #151515}.page-header img{width:24%}.page-header strong{font-size:clamp(10px,1.2vw,17px)}.photo-grid{height:89%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr);gap:2.1% 2.3%;padding-top:1.7%}.print-photo,.empty-photo{min-height:0;margin:0}.print-photo{display:grid;grid-template-rows:auto minmax(0,1fr) minmax(20px,auto);gap:.55%}.photo-number{font-size:clamp(9px,1vw,14px);line-height:1}.image-frame{min-height:0;overflow:hidden;background:#edf0f4}.image-frame img{display:block;width:100%;height:100%;object-fit:cover}.photo-caption{min-height:1.6em;overflow:hidden;font-size:clamp(7px,.82vw,11.5px);line-height:1.15}.empty-photo{display:grid;grid-template-rows:auto 1fr auto;gap:4px;color:#a3a9b5;font-size:clamp(8px,.95vw,13px)}.empty-photo>div{display:grid;place-items:center;border:1px dashed #d3d8e1;background:#f5f6f8}.empty-photo small{font-size:clamp(7px,.82vw,11px)}.page-footer{height:3.7%;display:flex;align-items:flex-end;justify-content:space-between;padding-top:.7%;color:#687083;border-top:1px solid #e1e4ea;font-size:clamp(6px,.72vw,10px)}@media(max-width:1120px){.workspace{grid-template-columns:1fr}.preview-pane{border-top:1px solid #cfd5df;border-left:0}}@media(max-width:680px){.topbar{height:auto;align-items:flex-start;flex-wrap:wrap;padding:18px}.brand-lockup img,.brand-divider,.privacy-note{display:none}.header-actions{width:100%;display:grid;grid-template-columns:.7fr 1fr 1fr 1.25fr;gap:6px}.header-actions button{padding:10px 7px;font-size:10px}.library-backdrop{align-items:end;padding:0}.library-dialog{width:100%;max-height:92vh;border-radius:20px 20px 0 0}.library-heading{padding:19px 18px 14px}.library-heading h2{font-size:23px}.library-actions{display:grid;grid-template-columns:1fr 1fr;padding:14px 18px 9px}.library-primary{grid-column:1 / -1}.library-help{padding:0 18px 13px}.job-list{padding:0 18px 22px}.job-open{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:10px}.job-thumb{width:64px;height:52px}.current-badge{display:none}.job-delete{margin-right:8px;padding:7px}.editor{padding:28px 17px 48px}.count-card{display:none}.field-grid{grid-template-columns:1fr}.photo-row{grid-template-columns:70px minmax(0,1fr)}.row-actions{grid-column:2;display:flex}.row-actions .remove-button{grid-column:auto;padding:0 9px}.row-actions .fit-button{padding:0 7px}.ai-toolbar{align-items:stretch;flex-direction:column}.preview-pane{padding:24px 12px 50px}}@page{size:A4 portrait;margin:0}.auth-gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;text-align:center;background:#f4f6fa;color:#17266a}.auth-gate img{width:min(300px,75vw);height:auto;margin-bottom:18px}.auth-gate h1,.auth-gate p{margin:0}.auth-gate p{max-width:520px;color:#50586b}.auth-gate a{margin-top:10px;text-decoration:none}@media print{html,body,.app-shell,.workspace,.preview-pane,.paper-stack{display:block;width:auto;height:auto;min-height:0;margin:0;padding:0;overflow:visible;background:#fff}.no-print{display:none!important}.paper{width:210mm;height:297mm;aspect-ratio:auto;margin:0;page-break-after:always;break-after:page;box-shadow:none}.paper:last-child{page-break-after:auto;break-after:auto}.cover-title h2{font-size:22pt}.cover-title p{font-size:14pt}.cover-title .cover-date{font-size:11pt}.cover-page address{font-size:10pt}.page-header strong{font-size:12pt}.photo-number{font-size:10.5pt}.photo-caption{font-size:8.5pt}.page-footer{font-size:7.5pt}.empty-photo{display:none}}
