*{box-sizing:border-box}body{color:#0f172a;background:#f8fafc;margin:0;line-height:1.6}a{color:#4f46e5;text-underline-offset:.2em}button,.button-secondary{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #0000;border-radius:.5rem;padding:.5rem .85rem;font-size:.875rem;font-weight:600;transition:background .15s}button:hover{background:#6366f1}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline-offset:3px;outline:3px solid #818cf8}.button-secondary{color:#475569;background:#fff;border-color:#e2e8f0;text-decoration:none;display:inline-block}.button-secondary:hover{background:#f1f5f9}button.button-link{color:#475569;background:0 0;padding:.3rem .1rem;font-size:.75rem}button.button-link:hover{color:#4f46e5}.product-header{background:#ffffffb3;border-radius:1rem;justify-content:space-between;align-items:center;gap:1rem;margin:1.5rem;padding:1rem 1.5rem;display:flex;box-shadow:0 8px 24px #0f172a14}.product-brand{color:#0f172a;letter-spacing:.025em;font-size:1.875rem;font-weight:600;text-decoration:none}.product-header-actions{align-items:center;gap:.75rem;min-width:0;display:flex}.account-link{color:#475569;overflow-wrap:anywhere;font-size:.875rem}.product-brand-group{align-items:center;gap:.75rem;display:flex}.beta-tag{text-transform:uppercase;letter-spacing:.3em;color:#64748b;font-size:.75rem}.proofreader-page{max-width:1152px;margin:auto;padding:0 2rem 2rem}.proofreader-page h1{margin:0;font-size:1.875rem;font-weight:600}.proofreader-page h2{overflow-wrap:anywhere;margin:0;font-size:1.25rem;font-weight:600}.muted{color:#64748b;margin:.25rem 0;font-size:.875rem}.upload-dropzone{color:#0f172a;text-align:center;cursor:pointer;background:linear-gradient(#fff,#f8fafc);border:2px dashed #e2e8f0;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;width:100%;min-height:320px;margin-top:1.5rem;padding:3rem 1.5rem;font-weight:400;transition:all .15s cubic-bezier(.4,0,.2,1);display:flex}.upload-dropzone:hover{background:linear-gradient(#fff,#f8fafc)}.upload-dropzone.is-dragging{background:#fff;border-color:#a5b4fc;box-shadow:0 25px 45px #6366f133}.upload-dropzone:disabled{cursor:progress}.upload-icon{color:#4f46e5;background:#e0e7ff;border-radius:50%;place-items:center;width:4rem;height:4rem;display:grid}.upload-icon svg{width:1.75rem;height:1.75rem}.upload-instruction{color:#334155;margin:0;font-size:1.125rem;font-weight:500}.upload-select{color:#fff;background:#4f46e5;border-radius:2rem;padding:.5rem 1.5rem;font-size:.875rem;font-weight:600;box-shadow:0 8px 16px #c7d2fe80}.upload-dropzone small{color:#64748b;letter-spacing:.06em;font-size:.75rem}.upload-feedback{text-align:center;overflow-wrap:anywhere;font-size:.875rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.history-section{margin-top:2rem}.history-heading{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.history-heading p,.history-pagination{color:#64748b;margin:.25rem 0;font-size:.75rem}.history-scroll{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;overflow-x:auto}.history-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%;min-width:760px}.history-table th{letter-spacing:.15em;color:#64748b;background:#f8fafc;padding:1rem 1.5rem;font-size:.7rem;font-weight:600}.history-table th:first-child{width:27%}.history-table th:nth-child(2){width:19%}.history-table th:nth-child(3){width:12%}.history-table th:last-child{width:42%}.history-table td{color:#64748b;border-top:1px solid #f1f5f9;padding:1rem 1.5rem;font-size:.75rem}.history-table th:not(:first-child),.history-table td:not(:first-child){text-align:center}.history-table tbody tr:hover{background:#f8fafccc}.history-file{align-items:center;gap:.75rem;min-width:0;display:flex}.history-file a{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:.875rem;font-weight:500;text-decoration:none;overflow:hidden}.pdf-badge{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:1rem;flex-shrink:0;place-items:center;width:2.5rem;height:2.5rem;font-size:.7rem;font-weight:700;display:inline-grid}.job-status{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:2rem;padding:.2rem .7rem;font-size:.7rem;display:inline-block}.status-2{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.status-3{color:#047857;background:#ecfdf5;border-color:#d1fae5}.status-4{color:#be123c;background:#fff1f2;border-color:#ffe4e6}.status-partly{color:#b45309;background:#fffbeb;border-color:#fde68a}.job-state{flex-direction:column;align-items:flex-end;gap:.25rem;display:inline-flex}.job-failed-features{color:#b45309;margin-top:.35rem;font-size:.7rem;display:block}.job-state .job-failed-features{margin-top:0}.history-actions{white-space:nowrap;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem .65rem;display:flex}.history-actions>span{color:#cbd5e1}.history-action-link{color:#475569;font-size:.75rem;font-weight:600;text-decoration:none}.history-action-link:hover{color:#4f46e5}.action-disabled{cursor:not-allowed;display:inline-flex}.history-failure{color:#be123c;font-size:.7rem;display:block}.history-empty{flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1rem;display:flex}.history-empty p{margin:0}.history-pagination{justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem;display:flex}.history-pagination>div{gap:.75rem;display:flex}.proofreader-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;margin:1.25rem 0;padding:1.5rem}summary{cursor:pointer}.job-list{padding:0;list-style:none}.proofreader-actions{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}[role=alert]{color:#be123c;overflow-wrap:anywhere;background:#fff1f2;border-radius:.6rem;padding:.8rem 1rem}[role=alert] button{margin-left:.75rem}.info-notice{color:#b45309;background:#fffbeb;border-radius:.6rem;margin:1rem 0 0;padding:.8rem 1rem;font-size:.875rem}.success-notice{color:#047857;background:#ecfdf5;border-radius:.6rem;padding:.8rem 1rem}.auth-layout{background:linear-gradient(#f8fafc,#f1f5f9);align-content:center;justify-items:center;min-height:100vh;padding:2rem 1rem;display:grid}.auth-layout>main{background:#ffffffe6;border-radius:1rem;width:100%;max-width:384px;padding:2rem;box-shadow:0 12px 40px #0f172a1a}.auth-layout h1{margin:0 0 1.5rem;font-size:1.5rem;font-weight:600}.auth-layout fieldset{border:0;flex-direction:column;gap:1rem;min-width:0;margin:0;padding:0;display:flex}.auth-layout label{color:#334155;flex-direction:column;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.auth-layout input,.account-page input{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;width:100%;padding:.5rem .75rem}.auth-layout form{margin-bottom:1rem}.auth-layout a{font-size:.875rem}.auth-layout code{overflow-wrap:anywhere}.account-page>section{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;margin-top:1rem;padding:1.5rem}.account-page label{margin:.75rem 0;display:block}.version-dialog{color:#0f172a;border:1px solid #e2e8f0;border-radius:.5rem;width:min(576px,100vw - 2rem);max-height:calc(100dvh - 4rem);padding:0;box-shadow:0 20px 40px #0f172a30}.version-dialog::backdrop{background:#02061759}.version-dialog header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.version-dialog h2{margin:0;font-size:1rem}.version-dialog header>div{min-width:0}.version-dialog .version-job-id{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:.25rem 0 0;font-size:.75rem;overflow:hidden}.version-close{color:#94a3b8;background:0 0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;font-size:1.25rem;display:grid}.version-close:hover{color:#334155;background:#f1f5f9}.version-body{max-height:60vh;padding:1rem 1.25rem;overflow:auto}.version-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.version-list li{border:1px solid #e2e8f0;border-radius:.375rem}.version-select{color:#0f172a;text-align:left;background:#fff;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.75rem 1rem;font-weight:400;display:flex}.version-select:hover{background:#f8fafc}.version-info{min-width:0}.version-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;display:block;overflow:hidden}.version-info>span{color:#64748b;margin-top:.25rem;font-size:.75rem;display:block}.version-source{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;padding:.25rem .75rem;font-size:.6875rem;font-weight:600}.version-empty{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem;padding:1rem}.version-loading{place-items:center;height:8rem;display:grid}.version-spinner{border:2px solid #cbd5e1;border-top-color:#334155;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite version-spin}@keyframes version-spin{to{transform:rotate(360deg)}}@media (width<=640px){.product-header{flex-wrap:wrap;margin:1rem;padding:1rem}.product-brand{font-size:1.5rem}.product-header-actions{flex-wrap:wrap;width:100%}.beta-tag{display:none}.proofreader-page{padding:0 1rem 2rem}.proofreader-page h1{font-size:1.5rem}.history-pagination{flex-wrap:wrap}.upload-dropzone{min-height:300px;padding:2rem 1rem}}.account-email{color:#475569;overflow-wrap:anywhere;font-size:.875rem}.history-cards{max-width:896px}.history-card{border:1px solid #e2e8f0;border-radius:1rem;margin:1.5rem 0;padding:1rem;box-shadow:0 1px 3px #0f172a0a}.history-card header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.history-card header p{overflow-wrap:anywhere;margin:0}.history-card dl{color:#475569;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;font-size:.875rem;display:grid}.history-card dt{font-weight:600}.history-card dd{overflow-wrap:anywhere;margin:.25rem 0}.card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.card-header h2{overflow-wrap:anywhere;margin:0;font-size:1.125rem;font-weight:600}.card-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.proofreader-card>:last-child{margin-bottom:0}.page-back{margin:0 0 .75rem;font-size:.875rem;display:inline-block}.page-title{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.badge{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:2rem;padding:.15rem .6rem;font-size:.7rem;font-weight:500;line-height:1.6;display:inline-block}.badge-info{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.badge-success{color:#047857;background:#ecfdf5;border-color:#d1fae5}.badge-warning{color:#b45309;background:#fffbeb;border-color:#fde68a}.badge-danger{color:#be123c;background:#fff1f2;border-color:#ffe4e6}.badge-accent{color:#4338ca;background:#eef2ff;border-color:#e0e7ff}.data-table{border-collapse:collapse;text-align:left;width:100%}.data-table th{letter-spacing:.15em;color:#64748b;white-space:nowrap;background:#f8fafc;padding:.75rem 1.25rem;font-size:.7rem;font-weight:600}.data-table td{color:#334155;vertical-align:middle;overflow-wrap:anywhere;border-top:1px solid #f1f5f9;padding:.85rem 1.25rem;font-size:.875rem}.data-table tbody tr:hover{background:#f8fafccc}.data-table .cell-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.field{color:#334155;flex-direction:column;gap:.25rem;min-width:0;font-size:.875rem;font-weight:500;display:flex}.field-inline{flex-direction:row;align-items:center;gap:.5rem}.field-label{white-space:nowrap}.field input,.field select,.field textarea,select.control{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;min-width:0;max-width:100%;padding:.45rem .75rem;font-size:.875rem;font-weight:400}.field textarea{resize:vertical;min-height:5rem}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,select.control:focus-visible{outline-offset:1px;outline:3px solid #818cf8}.form-row{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.form-row .field:first-child{flex:16rem}.inline-form{flex-wrap:wrap;align-items:center;gap:.5rem;margin:0;display:flex}.stack{gap:1rem;display:grid}.field-row{flex-wrap:wrap;align-items:flex-end;gap:.5rem;margin:0;display:flex}.field-row .field{flex:18rem}.account-current{gap:.25rem;margin:0;display:grid}.account-current dt{color:#334155;font-size:.875rem;font-weight:500}.account-current dd{color:#0f172a;overflow-wrap:anywhere;margin:0}.org-row-name{color:#0f172a;font-weight:600}.org-close{border-top:1px solid #f1f5f9;margin-top:1rem;padding-top:1rem;font-size:.875rem}.org-close summary{color:#be123c;font-weight:500}.org-close p{color:#64748b}.button-danger{background:#be123c}.button-danger:hover{background:#e11d48}.history-file-name{flex-direction:column;gap:.25rem;min-width:0;display:flex}.history-file-name>span:first-child{text-overflow:ellipsis;white-space:nowrap;color:#0f172a;overflow:hidden}.history-file-name .badge{align-self:flex-start}.modal-body{padding:1rem 1.25rem 1.25rem}.modal-body .field input,.modal-body .field select{width:100%}.modal-actions{justify-content:flex-end;gap:.5rem;display:flex}
