:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;background:#eef1f5;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a,input{font:inherit}.app-shell{box-sizing:border-box;background:radial-gradient(circle at 18% 0,#ffffffeb,#fff0 32%),radial-gradient(circle at 80% 12%,#d2e5ff75,#d2e5ff00 34%),linear-gradient(#f7f8fb 0%,#eef2f7 52%,#e9edf3 100%);justify-content:center;align-items:center;width:100vw;height:100vh;padding:24px 40px;display:flex;overflow:hidden}.workspace{width:100%;min-width:0;height:100%;min-height:0}.app-window{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc7;border:1px solid #0f172a14;border-radius:24px;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a1f,inset 0 1px #ffffffe0}.window-bar{background:linear-gradient(#fffffff0,#f5f7fbd1);border-bottom:1px solid #0f172a14;flex:none;justify-content:center;align-items:center;height:34px;display:flex;position:relative}.window-controls{align-items:center;gap:8px;display:flex;position:absolute;left:18px}.control{border-radius:999px;width:12px;height:12px;display:block;box-shadow:inset 0 0 0 1px #00000014}.control.close{background:#ff5f57}.control.minimize{background:#ffbd2e}.control.zoom{background:#28c840}.window-title{color:#64748b;font-size:12px;font-weight:650}.window-content{flex-direction:column;flex:1;gap:16px;min-height:0;padding:28px 36px 24px;display:flex;position:relative;overflow:hidden}.topbar{flex:none;grid-template-columns:minmax(280px,.9fr) minmax(460px,1.1fr);align-items:flex-start;gap:22px;margin-bottom:0;display:grid}.tool-switcher{background:#ffffffb8;border:1px solid #0f172a14;border-radius:18px;grid-template-columns:120px repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;width:100%;padding:7px;display:grid;box-shadow:0 8px 22px #0f172a0d}.toolbox-home-button{min-height:100%;color:#fff!important;background:#0f172a!important;border-radius:14px!important}.toolbox-home-button.is-active{background:#007aff!important}.tool-group{background:#f8fafcad;border:1px solid #0f172a0f;border-radius:14px;align-content:start;gap:7px;min-width:0;padding:8px;display:grid}.tool-group-heading{justify-content:space-between;align-items:baseline;gap:8px;padding:0 2px;display:flex}.tool-group-heading strong{color:#0f172a;font-size:12px;font-weight:860}.tool-group-heading span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;overflow:hidden}.tool-group-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.tool-switcher button{color:#475569;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#ffffff94;border:1px solid #0000;border-radius:11px;min-width:0;min-height:34px;padding:0 9px;font-size:12px;font-weight:780;line-height:1;transition:all .18s;overflow:hidden}.tool-switcher button:hover{color:#007aff;background:#eff6ffb8;border-color:#007aff2e}.tool-switcher button.is-active{color:#fff;background:#007aff;box-shadow:0 8px 18px #007aff33}.office-format-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.office-format-grid button{color:#334155;cursor:pointer;background:#fff;border:1px solid #0f172a1a;border-radius:14px;justify-content:center;align-items:center;gap:7px;height:40px;font-size:13px;font-weight:820;transition:transform .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.office-format-grid button:hover{color:#007aff;border-color:#007aff59;transform:translateY(-1px);box-shadow:0 8px 18px #007aff1a}.office-format-grid button.is-selected{color:#007aff;background:#eff6ff;border-color:#007aff6b}.office-converter-note{color:#334155;background:#f0f9ff;border:1px solid #0ea5e929;border-radius:16px;gap:6px;padding:12px;display:grid}.office-converter-note strong{color:#075985;font-size:13px}.office-converter-note span{color:#475569;font-size:12px;line-height:1.5}.toolbox-home{flex-direction:column;flex:auto;gap:14px;min-height:0;display:flex;overflow:hidden}.toolbox-home-hero,.toolbox-featured,.toolbox-category{background:#ffffffdb;border:1px solid #0f172a14;border-radius:20px;box-shadow:0 8px 24px #0f172a0b}.toolbox-home-hero{flex:none;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:end;gap:18px;padding:18px;display:grid}.toolbox-kicker{color:#007aff;text-transform:uppercase;font-size:12px;font-weight:860}.toolbox-home h2{color:#0f172a;margin:6px 0 0;font-size:24px;font-weight:880}.toolbox-home p{color:#64748b;max-width:680px;margin:7px 0 0;font-size:13px;line-height:1.55}.toolbox-search{gap:7px;display:grid}.toolbox-search span{color:#334155;font-size:12px;font-weight:800}.toolbox-search input{color:#0f172a;background:#f8fafc;border:1px solid #0f172a1a;border-radius:14px;outline:none;width:100%;height:42px;padding:0 13px}.toolbox-search input:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.toolbox-featured{flex:none;gap:12px;padding:16px;display:grid}.toolbox-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;padding-bottom:2px;display:grid;overflow-y:auto}.toolbox-category{align-content:start;gap:12px;min-width:0;padding:16px;display:grid}.toolbox-section-title{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.toolbox-section-title strong{color:#0f172a;font-size:15px;font-weight:860}.toolbox-section-title span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.toolbox-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.toolbox-featured .toolbox-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.toolbox-card{color:#334155;cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;align-content:start;gap:7px;min-width:0;min-height:104px;padding:13px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.toolbox-card:hover{border-color:#007aff47;transform:translateY(-1px);box-shadow:0 12px 24px #007aff17}.toolbox-card strong{color:#0f172a;font-size:14px;font-weight:860}.toolbox-card span{color:#64748b;font-size:12px;line-height:1.45}.toolbox-card.is-compact{min-height:86px}.page-editor-panel{flex-direction:column;flex:auto;gap:12px;min-height:0;display:flex;overflow:hidden}.page-editor-hero{flex:none;align-items:center;gap:12px;min-height:54px;padding:4px 2px;display:flex}.page-editor-hero h2{color:#111827;margin:0;font-size:19px;font-weight:860}.page-editor-hero p{color:#64748b;margin:4px 0 0;font-size:12px}.page-editor-layout{flex:auto;grid-template-columns:minmax(300px,.82fr) minmax(420px,1.18fr);gap:14px;min-height:0;display:grid;overflow:hidden}.page-editor-file-panel,.page-editor-work-panel{flex-direction:column;gap:12px;min-height:0;display:flex}.page-editor-card,.page-editor-work-panel{background:#ffffffdb;border:1px solid #0f172a14;border-radius:18px;box-shadow:0 8px 24px #0f172a0d}.page-editor-card{gap:12px;padding:14px;display:grid}.page-editor-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.page-editor-card h3,.page-editor-tab-title h3{color:#111827;margin:0;font-size:15px;font-weight:860}.page-editor-card-head span,.page-editor-tab-title span{color:#64748b;margin-top:4px;font-size:12px;display:block}.page-editor-file-panel input[type=file],.page-editor-tab-panel input[type=file]{display:none}.page-editor-file-card{color:#64748b;background:#f8fafc;border:1px solid #0f172a14;border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:11px;display:grid}.page-editor-file-card.has-file{color:#007aff;background:#eff6ff;border-color:#007aff2e}.page-editor-file-card strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;display:block;overflow:hidden}.page-editor-file-card span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;display:block;overflow:hidden}.page-editor-icon-button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #0f172a14;border-radius:11px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.page-editor-preview-slot{color:#94a3b8;text-align:center;background:#eff6ff7a;border:1px dashed #007aff47;border-radius:16px;align-content:center;place-items:center;gap:7px;min-height:148px;padding:18px;display:grid}.page-editor-preview-slot strong{color:#334155;font-size:13px;font-weight:850}.page-editor-preview-slot span{color:#64748b;font-size:12px}.page-editor-details{gap:10px}.page-editor-details summary{color:#111827;cursor:pointer;font-size:14px;font-weight:850}.page-editor-details p{color:#64748b;margin:0;font-size:12px;line-height:1.5}.page-editor-work-panel{overflow:hidden}.page-editor-tabs{background:#f8fafce0;border-bottom:1px solid #0f172a14;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px;display:grid}.page-editor-tabs button{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-width:0;height:38px;font-size:12px;font-weight:820;display:inline-flex}.page-editor-tabs button.is-active{color:#007aff;background:#fff;border-color:#007aff40;box-shadow:0 8px 18px #007aff1a}.page-editor-tab-body{flex:auto;min-height:0;padding:16px;overflow-y:auto}.page-editor-tab-panel{gap:14px;min-width:0;display:grid}.page-editor-tab-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.page-editor-field,.page-editor-field label{gap:6px;min-width:0;display:grid}.page-editor-field label,.page-editor-field>label{color:#334155;font-size:12px;font-weight:800}.page-editor-field input,.page-editor-field select,.page-editor-field textarea{color:#111827;background:#fff;border:1px solid #0f172a1a;border-radius:12px;outline:none;width:100%;min-width:0;font-size:13px}.page-editor-field input,.page-editor-field select{height:36px;padding:0 10px}.page-editor-field textarea{resize:vertical;min-height:88px;padding:10px}.page-editor-field input:focus,.page-editor-field select:focus,.page-editor-field textarea:focus{border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.page-editor-inline-form,.page-editor-field-row{align-items:end;gap:10px;display:grid}.page-editor-inline-form{grid-template-columns:minmax(0,1fr) 120px auto}.page-editor-field-row{grid-template-columns:repeat(4,minmax(0,1fr))}.page-editor-form-button{min-height:36px;padding:0 13px}.page-editor-form-actions{justify-content:flex-end;display:flex}.page-editor-rule-list{gap:8px;display:grid}.page-editor-rule-item{color:#1d4ed8;background:#eff6ff;border:1px solid #007aff1f;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:8px 10px;font-size:12px;font-weight:780;display:flex}.page-editor-rule-item span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.page-editor-rule-item button{color:#64748b;cursor:pointer;background:#ffffffd6;border:0;border-radius:9px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.page-editor-empty,.page-editor-image-status{color:#64748b;background:#f8fafc;border-radius:12px;align-items:center;gap:8px;min-height:38px;padding:9px 10px;font-size:12px;display:flex}.page-editor-checkbox-row{flex-wrap:wrap;gap:10px;display:flex}.page-editor-checkbox-row label{color:#334155;background:#fff;border:1px solid #0f172a14;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 10px;font-size:12px;font-weight:780;display:inline-flex}.page-editor-checkbox-row input{accent-color:#007aff}.page-editor-action-bar{background:#ffffffe6;border:1px solid #0f172a14;border-radius:18px;flex:none;justify-content:flex-end;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:flex;box-shadow:0 8px 24px #0f172a0d}.page-editor-shell{flex-direction:column;flex:auto;gap:14px;min-height:calc(100vh - 140px);display:flex;overflow:hidden}.page-editor-shell .page-editor-hero{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #d9e9ff;border-radius:18px;flex:none;align-items:center;gap:12px;min-height:auto;padding:16px 18px;display:flex}.page-editor-hero-icon{color:#fff;background:#0b7cff;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.page-editor-hero-copy h2{color:#0f172a;margin:0;font-size:22px;font-weight:850;line-height:1.25}.page-editor-hero-copy p{color:#64748b;margin:4px 0 0;font-size:13px}.page-editor-workspace{flex:auto;grid-template-columns:minmax(320px,.85fr) minmax(520px,1.15fr);align-items:stretch;gap:14px;min-height:0;display:grid;overflow:hidden}.page-editor-sidebar,.page-editor-main{flex-direction:column;gap:12px;min-width:0;min-height:0;display:flex}.editor-card{background:#ffffffe6;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 24px #0f172a0b}.file-card{gap:12px;padding:14px;display:grid}.editor-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.editor-card-header h3,.panel-heading h3{color:#0f172a;margin:0;font-size:15px;font-weight:850}.editor-card-header span,.panel-heading p{color:#64748b;margin:4px 0 0;font-size:12px;display:block}.editor-upload-button{color:#0574ff;cursor:pointer;background:#eff7ff;border:1px solid #b9dcff;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;font-weight:800;display:inline-flex}.editor-upload-button:hover{background:#e3f1ff}.editor-upload-button.slim{min-height:38px}.page-editor-sidebar input[type=file],.page-editor-main input[type=file]{display:none}.file-status{background:#f8fafc;border:1px dashed #d5deea;border-radius:14px;align-items:center;gap:12px;min-height:58px;padding:12px;display:flex}.file-status-ready{background:#f0f7ff;border-style:solid;border-color:#bfdbfe}.file-status-icon{color:#0b7cff;background:#fff;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.file-status-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.file-status-copy strong{color:#0f172a;font-size:13px;font-weight:850}.file-status-copy span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.text-button{color:#0b7cff;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;min-height:30px;font-weight:800;display:inline-flex}.preview-placeholder{color:#64748b;text-align:center;background:#f8fbff;border:1px dashed #b9dcff;border-radius:16px;align-content:center;place-items:center;gap:6px;min-height:132px;padding:18px;display:grid}.preview-placeholder-icon{color:#94a3b8}.preview-placeholder strong{color:#334155;font-size:13px;font-weight:850}.preview-placeholder span{color:#64748b;max-width:280px;font-size:12px}.page-management-card{gap:10px;padding:0;display:grid;overflow:hidden}.page-management-card summary{color:#0f172a;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 4px;font-size:14px;font-weight:850;display:flex}.page-management-card summary small{color:#64748b;font-size:12px;font-weight:600}.page-management-card .compact-field{padding:0 16px}.page-management-card .helper-text{padding:0 16px 14px}.editor-tabs-card{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.editor-tabs{background:#fbfdff;border-bottom:1px solid #e2e8f0;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;display:grid}.editor-tabs button{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:38px;font-size:12px;font-weight:800;display:inline-flex}.editor-tabs button:hover{background:#f1f5f9}.editor-tabs button.active{color:#0574ff;background:#eff7ff;border-color:#b9dcff}.editor-tab-body{flex:auto;min-height:0;padding:16px;overflow-y:auto}.tab-panel{flex-direction:column;gap:14px;min-width:0;display:flex}.panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.inline-form{grid-template-columns:minmax(0,1fr) 112px auto;align-items:end;gap:10px;display:grid}.grid-form{gap:10px;display:grid}.grid-form.four{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-field{flex-direction:column;gap:6px;min-width:0;display:flex}.compact-field label{color:#334155;font-size:12px;font-weight:800}.compact-field input,.compact-field select,.compact-field textarea{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:12px;outline:none;width:100%;min-width:0;min-height:38px;padding:9px 12px;font-size:13px}.compact-field textarea{resize:vertical;line-height:1.5}.compact-field input:focus,.compact-field select:focus,.compact-field textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #3b82f61f}.helper-text{color:#64748b;margin:0;font-size:12px;line-height:1.5}.preset-row{flex-wrap:wrap;gap:10px;display:flex}.preset-row label{color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 10px;font-size:12px;font-weight:750;display:inline-flex}.preset-row input{accent-color:#0574ff}.page-editor-image-status,.empty-state{color:#64748b;background:#f8fafc;border-radius:12px;align-items:center;gap:8px;min-height:40px;padding:9px 10px;font-size:12px;display:flex}.empty-state{color:#94a3b8;justify-content:center}.page-editor-image-status span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.align-right{justify-content:flex-end;display:flex}.rule-list{gap:8px;display:grid}.rule-item{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;align-items:center;gap:10px;min-height:40px;padding:8px 10px;display:flex}.rule-item span{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;font-weight:750;overflow:hidden}.rule-item button{color:#ef4444;cursor:pointer;background:#fff;border:0;border-radius:9px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.primary-action,.secondary-action,.ghost-action{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 16px;font-weight:800;text-decoration:none;display:inline-flex}.primary-action{color:#fff;background:#0574ff;border:1px solid #0574ff}.primary-action:hover{background:#0066df}.secondary-action{color:#334155;background:#fff;border:1px solid #d9e6f7}.secondary-action:hover{background:#f8fafc}.ghost-action{color:#64748b;background:0 0;border:1px solid #0000}.primary-action:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.55}.page-editor-actionbar{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #e2e8f0;border-radius:18px;flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px 12px;display:flex;position:sticky;bottom:12px;box-shadow:0 10px 30px #0f172a14}.actionbar-status{color:#64748b;font-size:12px}.actionbar-buttons{align-items:center;gap:8px;display:flex}.eyebrow{color:#007affb8;margin:0 0 2px;font-size:11px;font-weight:720;line-height:1.25}h1{color:#111827;letter-spacing:0;margin:0;font-size:34px;font-weight:850;line-height:1}.subtitle{color:#64748b;margin:4px 0 0;font-size:14px;line-height:1.25}.stats-grid{flex:none;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:0;display:grid}.stat-card{background:#ffffffdb;border:1px solid #0f172a14;border-radius:14px;flex-direction:column;justify-content:center;gap:4px;height:66px;padding:10px 16px;display:flex;box-shadow:0 8px 24px #0f172a0d}.stat-card span{color:#64748b;font-size:12px;font-weight:720}.stat-card strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:850;line-height:1.08;overflow:hidden}.output-card strong{color:#007aff;font-size:15px;line-height:1.25}.drop-zone,.option-panel,.validation-panel,.file-panel,.preview-panel,.bottom-bar{background:#ffffffd1;border:1px solid #0f172a14;border-radius:22px;box-shadow:0 8px 24px #0f172a0d}.drop-zone{color:#24456f;cursor:pointer;border:1.5px dashed #007aff6b;flex:none;justify-content:space-between;align-items:center;gap:18px;width:100%;height:132px;min-height:132px;padding:0 28px;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;display:flex}.drop-zone:hover,.drop-zone.is-dragging{background:#007aff14;border-color:#007aff;transform:translateY(-1px);box-shadow:0 16px 34px #007aff21}.drop-zone.is-dragging{outline:4px solid #007aff14}.upload-icon{color:#007aff;background:linear-gradient(#eff6ff,#dcecff);border-radius:17px;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex;box-shadow:0 12px 24px #007aff21}.upload-copy{flex:1;gap:5px;display:grid}.mobile-upload-copy{display:none}.upload-copy strong{color:#1f2937;font-size:18px;font-weight:850}.upload-copy small{color:#64748b;font-size:13px}.select-file-button,.secondary,.primary,.download{cursor:pointer;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:7px;text-decoration:none;transition:transform .16s,background .16s,border-color .16s,color .16s,box-shadow .16s,opacity .16s;display:inline-flex}.select-file-button{color:#007aff;background:#fff;border-color:#007aff38;border-radius:999px;min-height:38px;padding:0 15px;font-size:13px;font-weight:800}.select-file-button:hover{border-color:#007aff73;transform:translateY(-1px);box-shadow:0 10px 20px #007aff1a}.drop-zone input{display:none}.privacy-strip{color:#64748b;background:#ffffffb8;border:1px solid #0f172a14;border-radius:16px;flex:none;justify-content:space-between;align-items:center;gap:14px;min-height:42px;padding:0 16px;font-size:12px;display:flex}.privacy-strip button{color:#007aff;cursor:pointer;background:0 0;border:0;min-width:max-content;font-size:12px;font-weight:800}.security-footer{color:#64748b;background:#ffffffb8;border:1px solid #0f172a14;border-radius:16px;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:10px;min-height:38px;padding:0 12px;font-size:12px;display:grid}.security-footer span{text-align:center;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.privacy-modal,.privacy-backdrop{z-index:60;position:fixed;inset:0}.privacy-backdrop{background:#0f172a47;border:0}.privacy-card{z-index:61;background:#fffffff5;border:1px solid #0f172a14;border-radius:22px;gap:12px;width:min(520px,100vw - 40px);padding:24px;display:grid;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 28px 80px #0f172a38}.privacy-card h2{color:#0f172a;margin:0;font-size:22px}.privacy-card p{color:#475569;margin:0;font-size:13px;line-height:1.65}.privacy-card .primary{justify-self:end}.template-panel{background:#ffffffd1;border:1px solid #0f172a14;border-radius:18px;flex:none;align-items:center;gap:14px;width:100%;min-height:66px;padding:10px 14px;display:flex;box-shadow:0 12px 28px #0f172a0f}.template-field{align-items:center;gap:8px;min-height:38px;display:flex}.template-select-field{flex:0 0 300px;min-width:260px}.template-name-field{flex:auto;min-width:260px}.template-field label{color:#334155;flex:none;font-size:13px;font-weight:800}.template-field select,.template-field input{color:#111827;background:#fbfcfe;border:1px solid #0f172a1a;border-radius:14px;outline:none;width:100%;height:36px;padding:0 13px;font-size:13px;transition:border-color .15s,box-shadow .15s,background .15s}.template-field select:focus,.template-field input:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.template-field input::placeholder{color:#94a3b8}.template-actions{flex:none;align-items:center;gap:8px;display:flex}.template-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #0f172a17;border-radius:14px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:13px;font-weight:800;transition:transform .16s,background .16s,border-color .16s,color .16s,box-shadow .16s,opacity .16s;display:inline-flex}.template-button:hover:not(:disabled){color:#007aff;border-color:#007aff47;transform:translateY(-1px);box-shadow:0 10px 20px #007aff1a}.template-button:disabled{cursor:not-allowed;opacity:.48}.save-template{color:#007aff;border-color:#007aff2e}.delete-template:hover:not(:disabled){color:#e11d48;border-color:#e11d483d;box-shadow:0 10px 20px #e11d4814}.template-message{color:#64748b;min-width:160px;max-width:260px;margin:0;font-size:12px;font-weight:760;line-height:1.35}.template-message.error{color:#be123c}.template-message.success{color:#15803d}.option-panel{flex:none;grid-template-columns:minmax(260px,1fr) repeat(4,minmax(108px,auto));align-items:center;gap:10px;width:100%;min-height:58px;margin-top:0;padding:9px 12px;display:grid}.option-row,.switch-row{align-items:center;gap:8px;min-height:38px;display:flex}.title-option{min-width:0}.title-option label{color:#334155;flex:none;font-size:13px;font-weight:800}.title-option input{color:#111827;background:#fbfcfe;border:1px solid #0f172a1a;border-radius:14px;outline:none;width:100%;height:36px;padding:0 13px;transition:border-color .15s,box-shadow .15s,background .15s}.title-option input::placeholder{color:#94a3b8}.title-option input:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.title-option input:disabled{color:#94a3b8;background:#f4f6f9}.option-hint{color:#64748b;white-space:nowrap;flex:none;font-size:12px;font-weight:740}.switch-row{color:#334155;cursor:pointer;background:#f8fafcb8;border:1px solid #0f172a0f;border-radius:999px;justify-content:center;min-width:0;padding:0 10px;font-size:12px;font-weight:760}.switch-row input{opacity:0;pointer-events:none;position:absolute}.switch-track{background:#d9e1eb;border-radius:999px;align-items:center;width:36px;height:20px;padding:2px;transition:background .15s;display:inline-flex}.switch-track span{background:#fff;border-radius:999px;width:16px;height:16px;transition:transform .15s;display:block;transform:translate(0);box-shadow:0 2px 6px #0f172a38}.switch-row input:checked+.switch-track{background:#007aff}.switch-row input:checked+.switch-track span{transform:translate(16px)}.switch-row.is-disabled{cursor:default}.switch-row.is-disabled .switch-label{color:#64748b}.alert{border-radius:16px;flex:none;margin-top:0;padding:11px 13px;font-size:13px;font-weight:760}.alert.error{color:#be123c;background:#fff1f2;border:1px solid #fecaca}.alert.info{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.alert.warning{color:#a16207;background:#fffbeb;border:1px solid #fde68a}.alert.success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.parse-progress{align-items:center;gap:8px;display:flex}.validation-panel{flex:none;grid-template-columns:minmax(190px,.8fr) minmax(280px,1.1fr) minmax(260px,2fr);align-items:center;gap:10px;min-height:56px;padding:9px 12px;display:grid}.validation-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.validation-head>div{gap:3px;min-width:0;display:grid}.validation-head strong{color:#111827;font-size:13px;font-weight:850}.validation-head span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.validation-state{border-radius:999px;flex:none;padding:5px 9px;font-size:12px;font-weight:820}.validation-state.is-ok{color:#15803d;background:#ecfdf3}.validation-state.has-error{color:#be123c;background:#fff1f2}.validation-metrics{align-items:center;gap:8px;min-width:0;display:flex}.validation-pill{text-overflow:ellipsis;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-width:0;padding:5px 9px;font-size:12px;font-weight:820;display:inline-flex;overflow:hidden}.validation-pill.is-pass{color:#15803d;background:#ecfdf3;border-color:#22c55e2e}.validation-pill.is-warning{color:#a16207;background:#fffbeb;border-color:#f59e0b38}.validation-pill.is-error{color:#be123c;background:#fff1f2;border-color:#f43f5e2e}.validation-detail{align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.validation-message{color:#64748b;text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border-radius:10px;min-width:0;max-width:260px;padding:5px 8px;font-size:12px;font-weight:740;overflow:hidden}.validation-message.is-warning{color:#a16207;background:#fffbeb}.validation-message.is-error{color:#be123c;background:#fff1f2}.file-panel{flex-direction:column;flex:1 1 0;min-height:0;margin-top:0;display:flex;overflow:hidden}.preview-overlay{z-index:9999;background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.preview-panel{background:#fff;border:1px solid #0f172a14;border-radius:16px;flex-direction:column;width:min(96vw,1500px);height:min(90vh,920px);margin-top:0;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 80px #0f172a59}.preview-close-btn{z-index:11;color:#111827;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:24px;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:8px;right:10px;box-shadow:0 6px 18px #0f172a26}.preview-close-btn:hover{background:#f3f4f6;border-color:#cbd5e1}.panel-title{border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;gap:12px;height:44px;min-height:44px;padding:0 56px 0 16px;display:flex}.panel-title>div{gap:3px;min-width:0;display:grid}.panel-title h2{color:#111827;align-items:center;gap:7px;margin:0;font-size:15px;font-weight:850;display:inline-flex}.panel-title span{color:#64748b;font-size:12px}.preview-download-link{flex:none;height:30px;padding:0 11px}.smart-sort-button{color:#007aff;cursor:pointer;background:#fff;border:1px solid #007aff33;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12px;font-weight:820;transition:transform .15s,background .15s,border-color .15s,color .15s,box-shadow .15s,opacity .15s;display:inline-flex}.smart-sort-button:hover:not(:disabled){border-color:#007aff6b;transform:translateY(-1px);box-shadow:0 10px 20px #007aff1c}.smart-sort-button:disabled{cursor:not-allowed;opacity:.48}.table{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.table-head,.table-row{grid-template-columns:54px 58px 82px minmax(260px,1fr) 116px 78px 104px 126px;align-items:center;gap:12px;padding:0 18px;display:grid}.table-head{color:#64748b;background:#f8fafceb;flex:none;height:36px;font-size:12px;font-weight:820}.table-body{flex:1;min-height:0;overflow:hidden auto}.table-row{color:#24364f;border-top:1px solid #e2e8f0e6;min-height:78px;font-size:12px;transition:background .14s,opacity .14s}.table-row:hover{background:#f3f7fb}.table-row.is-row-dragging{opacity:.56}.table-row.is-row-drop-target{background:#eef6ff;box-shadow:inset 4px 0 #007aff,inset 0 0 0 1px #007aff2e}.workspace-file-panel{min-height:auto;padding:18px}.workspace-panel-title{align-items:flex-start}.workspace-current-file{background:#eff6ffb8;border:1px solid #007aff24;border-radius:14px;gap:4px;min-width:220px;padding:10px 12px;display:grid}.workspace-current-file span{color:#64748b;font-size:11px;font-weight:780}.workspace-current-file strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;overflow:hidden}.workspace-file-list{gap:10px;display:grid}.workspace-file-row{background:#f8fafccc;border:1px solid #e2e8f0e6;border-radius:16px;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:10px;padding:10px;display:grid}.workspace-file-row.is-selected{background:#eff6ffdb;border-color:#007aff57;box-shadow:0 0 0 3px #007aff12}.workspace-select-button{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.workspace-file-copy{gap:4px;min-width:0;display:grid}.workspace-file-copy strong,.workspace-file-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-file-copy strong{color:#1f2937;font-size:13px;font-weight:850}.workspace-file-copy small{color:#64748b;font-size:12px}.workspace-delete-button{color:#dc2626;cursor:pointer;background:#fff5f5;border:1px solid #ef44442e;border-radius:11px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.drag-cell,.order-cell{color:#64748b;align-items:center;font-weight:820;display:inline-flex}.drag-cell{cursor:grab}.thumb{color:#94a3b8;background:#f8fafc;border:1px solid #0f172a1a;border-radius:12px;justify-content:center;align-items:center;width:50px;height:62px;display:inline-flex;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%}.filename{gap:6px;min-width:0;display:grid}.filename strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:820;overflow:hidden}.filename small{color:#64748b;font-size:12px}.display-name-field{align-items:center;gap:8px;min-width:0;display:flex}.display-name-field span{color:#64748b;flex:none;font-size:11px;font-weight:780}.display-name-field input{color:#111827;background:#fff;border:1px solid #0f172a1a;border-radius:11px;outline:none;width:100%;min-width:0;height:30px;padding:0 10px;font-size:12px;transition:border-color .15s,box-shadow .15s,background .15s}.display-name-field input:focus{border-color:#007aff;box-shadow:0 0 0 3px #007aff1a}.display-name-field input:disabled{color:#94a3b8;background:#f4f6f9}.filename .row-error{color:#be123c}.filename .row-warning{color:#a16207}.row-status{border-radius:999px;align-items:center;width:fit-content;padding:3px 8px;font-size:11px;font-weight:820;display:inline-flex}.row-status.is-waiting{color:#64748b;background:#f1f5f9}.row-status.is-parsing{color:#007aff;background:#eff6ff}.row-status.is-ready{color:#15803d;background:#ecfdf3}.row-status.is-error{color:#be123c;background:#fff1f2}.type-cell{min-width:0}.type-tag{text-overflow:ellipsis;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-width:0;max-width:100%;padding:4px 9px;font-size:12px;font-weight:820;line-height:1;display:inline-flex;overflow:hidden}.type-contract,.type-agreement,.type-quote,.type-authorization,.type-bid{color:#0066d6;background:#eaf4ff;border-color:#007aff2e}.type-invoice,.type-acceptance,.type-reimbursement,.type-payment{color:#15803d;background:#ecfdf3;border-color:#22c55e2e}.type-license,.type-certificate{color:#6d28d9;background:#f3edff;border-color:#7c3aed2e}.type-id-card{color:#c2410c;background:#fff4e8;border-color:#f9731633}.type-attachment{color:#0f766e;background:#ecfeff;border-color:#14b8a62e}.type-unknown{color:#64748b;background:#f1f5f9;border-color:#64748b29}.pages,.size{color:#64748b;font-weight:760}.actions{justify-content:flex-start;gap:7px;display:flex}.actions button{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #0f172a1a;border-radius:11px;justify-content:center;align-items:center;width:32px;height:32px;transition:transform .15s,background .15s,border-color .15s,color .15s,box-shadow .15s,opacity .15s;display:inline-flex}.actions button:hover:not(:disabled){color:#007aff;background:#edf6ff;border-color:#007aff59;transform:translateY(-1px);box-shadow:0 8px 18px #007aff1a}.actions button.danger:hover:not(:disabled){color:#be123c;background:#fff1f2;border-color:#fda4af;box-shadow:0 8px 18px #be123c1a}button:disabled,a[aria-disabled=true]{cursor:not-allowed;opacity:.52}.empty-state{color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;height:100%;min-height:0;display:flex}.empty-icon{color:#94a3b8;background:#f1f5f9;border-radius:24px;justify-content:center;align-items:center;width:78px;height:78px;display:inline-flex}.empty-state div{gap:6px;display:grid}.empty-state strong{color:#334155;font-size:16px;font-weight:850}.empty-state small{color:#94a3b8;font-size:13px}.bottom-bar{background:#ffffffd1;flex:none;justify-content:space-between;align-items:center;gap:14px;height:60px;min-height:60px;margin:0;padding:0 14px;display:flex}.bottom-bar p{color:#64748b;margin:0;font-size:13px;font-weight:720}.bottom-actions{align-items:center;gap:8px;display:flex}.secondary,.primary,.download{border-radius:999px;width:auto;height:38px;min-height:38px;padding:0 14px;font-size:13px;font-weight:820}.primary{width:140px}.secondary{color:#334155;background:#fff;border-color:#0f172a1a}.secondary:hover:not(:disabled){color:#007aff;border-color:#007aff59;transform:translateY(-1px);box-shadow:0 9px 18px #0f172a14}.primary{color:#fff;background:linear-gradient(#33a0ff 0%,#007aff 100%);box-shadow:0 12px 24px #007aff3d}.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 30px #007aff4d}.primary:disabled{box-shadow:none;color:#fff;background:linear-gradient(#d6dce6,#c6ceda)}.download{color:#007aff;background:#fff;border-color:#0f172a1a}.download:hover{border-color:#007aff66;transform:translateY(-1px);box-shadow:0 10px 20px #007aff1a}.preview-panel iframe{background:#f8fafc;border:0;flex:1;width:100%;min-height:0;display:block}.text-editor-panel{background:#ffffffd1;border:1px solid #0f172a14;border-radius:22px;flex-direction:column;flex:1;gap:16px;min-height:0;padding:18px;display:flex;overflow:hidden;box-shadow:0 8px 24px #0f172a0d}.text-editor-hero{background:linear-gradient(#eff6ffeb,#ffffffdb);border:1px solid #007aff1f;border-radius:18px;justify-content:space-between;align-items:center;padding:18px;display:flex}.text-editor-hero>div{gap:7px;display:grid}.text-editor-icon{color:#fff;background:#007aff;border-radius:14px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex;box-shadow:0 12px 24px #007aff3d}.text-editor-hero h2{color:#111827;margin:0;font-size:24px;line-height:1.1}.text-editor-hero p,.text-editor-actions p{color:#64748b;margin:0;font-size:13px;line-height:1.45}.text-editor-grid{grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:16px;min-height:0;display:grid}.text-editor-upload,.text-editor-form{background:#ffffffdb;border:1px solid #0f172a14;border-radius:18px;align-content:start;gap:14px;padding:16px;display:grid}.text-editor-rules-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.text-editor-rules-header>div{gap:3px;display:grid}.text-editor-rules-header strong{color:#0f172a;font-size:14px}.text-editor-rules-header span{color:#64748b;font-size:12px}.text-editor-add-rule{justify-content:center;align-items:center;gap:6px;min-width:106px;height:34px;display:inline-flex}.text-editor-rules{gap:12px;max-height:280px;padding-right:4px;display:grid;overflow-y:auto}.text-editor-rule{background:#f8fafce6;border:1px solid #0f172a12;border-radius:16px;gap:10px;padding:12px;display:grid}.text-editor-rule-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.text-editor-rule-title>span{color:#007aff;font-size:12px;font-weight:700}.text-editor-options{grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.text-editor-upload input{display:none}.text-editor-upload-button{color:#007aff;cursor:pointer;background:#f0f7ff;border:1px solid #007aff38;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:760;display:inline-flex}.text-editor-file-card{color:#334155;background:#f8fafc;border:1px dashed #0f172a29;border-radius:16px;align-items:center;gap:12px;min-height:92px;padding:14px;display:flex}.text-editor-file-card>div{gap:5px;min-width:0;display:grid}.text-editor-file-card strong,.text-editor-file-card span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-editor-file-card span{color:#64748b;font-size:12px}.text-editor-form label{gap:7px;display:grid}.text-editor-form label>span,.text-editor-checkbox span{color:#334155;font-size:12px;font-weight:760}.text-editor-form input[type=text],.text-editor-form input[type=number],.text-editor-form select{color:#111827;background:#f8fafce6;border:1px solid #0f172a1a;border-radius:13px;outline:none;width:100%;height:40px;padding:0 13px}.text-editor-form input[type=range]{accent-color:#007aff;width:100%}.text-editor-form input[type=text]:focus,.text-editor-form input[type=number]:focus,.text-editor-form select:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.text-editor-checkbox{grid-template-columns:auto 1fr;align-items:center;gap:8px;display:inline-flex!important}.text-editor-checkbox input{accent-color:#007aff;width:16px;height:16px}.text-editor-alert{flex:none}.text-editor-actions{background:#f8fafcd6;border:1px solid #0f172a14;border-radius:18px;justify-content:space-between;align-items:center;gap:14px;margin-top:auto;padding:14px 16px;display:flex}.text-editor-actions>div{align-items:center;gap:10px;display:flex}.text-editor-submit,.text-editor-download{width:132px}.text-editor-downloads{background:#f8fafcdb;border:1px solid #0f172a14;border-radius:18px;flex-wrap:wrap;gap:10px;padding:12px 14px;display:flex}.watermark-grid{grid-template-columns:minmax(260px,.72fr) minmax(520px,1.28fr)}.watermark-form{gap:16px}.compress-result-card{color:#14532d;background:#f0fdf4;border:1px solid #22c55e33;border-radius:16px;gap:12px;padding:14px;display:grid}.compress-result-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.compress-result-heading strong{color:#14532d;font-size:14px;font-weight:850}.compress-result-heading span{color:#15803d;background:#22c55e1f;border-radius:999px;flex:none;padding:4px 8px;font-size:12px;font-weight:820}.compress-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.compress-result-grid div{background:#ffffffbd;border:1px solid #15803d1f;border-radius:12px;min-width:0;padding:10px}.compress-result-grid dt{color:#64748b;margin:0 0 4px;font-size:12px;font-weight:760}.compress-result-grid dd{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:850;overflow:hidden}.compress-result-card p{color:#166534;margin:0;font-size:12px;line-height:1.5}.pdf-compress-panel .text-editor-download,.pdf-split-panel .text-editor-download,.pdf-image-panel .text-editor-download,.image-pdf-panel .text-editor-download{width:auto;min-width:172px}.image-pdf-file-list{background:#f8fafcdb;border:1px solid #0f172a14;border-radius:16px;gap:10px;min-height:116px;max-height:260px;padding:12px;display:grid;overflow:auto}.image-pdf-file-list p{color:#64748b;margin:0;font-size:13px}.image-pdf-file-row{background:#fff;border:1px solid #0f172a14;border-radius:14px;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.image-pdf-file-row>span{color:#007aff;background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:850;display:inline-flex}.image-pdf-file-row>div{gap:4px;min-width:0;display:grid}.image-pdf-file-row strong,.image-pdf-file-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.image-pdf-file-row strong{color:#0f172a;font-size:13px;font-weight:820}.image-pdf-file-row small{color:#64748b;font-size:12px}.image-pdf-file-row button{color:#dc2626;cursor:pointer;background:#fff5f5;border:1px solid #ef44442e;border-radius:12px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.watermark-option-row{flex-wrap:wrap;align-items:center;gap:12px 18px;display:flex}.watermark-settings-grid{grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end;gap:12px;display:grid}.watermark-report-panel{background:#ffffffe6;border:1px solid #0f172a14;border-radius:20px;gap:14px;min-height:0;padding:16px;display:grid}.edit-report-panel{background:#ffffffe6;border:1px solid #0f172a14;border-radius:20px;gap:14px;min-height:0;padding:16px;display:grid;overflow-y:auto}.edit-report-title{justify-content:space-between;align-items:center;gap:14px;display:flex}.edit-report-title>div{align-items:center;gap:12px;min-width:0;display:flex}.edit-report-icon{color:#007aff;background:#eff6ff;border-radius:13px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.edit-report-title h3{color:#111827;margin:0;font-size:17px;font-weight:850}.edit-report-title p{color:#64748b;margin:4px 0 0;font-size:12px}.report-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.report-metric{background:#f8fafce0;border:1px solid #0f172a14;border-radius:15px;gap:5px;min-width:0;padding:11px 12px;display:grid}.report-metric span{color:#64748b;font-size:11px;font-weight:780}.report-metric strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;overflow:hidden}.report-warning-box{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:16px;gap:8px;padding:12px;display:grid}.report-warning-box>div{align-items:center;gap:7px;display:flex}.report-warning-box ul{margin:0;padding-left:22px;font-size:12px;line-height:1.55}.report-section{gap:8px;min-width:0;display:grid}.report-section-heading{color:#334155;align-items:center;gap:7px;font-size:13px;display:flex}.report-table{border:1px solid #0f172a14;border-radius:16px;min-width:0;overflow-x:auto}.report-row{color:#334155;border-top:1px solid #e2e8f0e6;align-items:center;gap:10px;min-width:920px;min-height:38px;padding:8px 12px;font-size:12px;display:grid}.rule-table .report-row{grid-template-columns:110px minmax(150px,1fr) minmax(150px,1fr) 72px 120px 100px}.item-table .report-row{grid-template-columns:58px 100px minmax(130px,1fr) minmax(130px,1fr) 58px 190px 100px minmax(160px,1fr) 112px}.report-row:first-child{border-top:0}.report-head{color:#64748b;background:#f8fafcf0;min-height:34px;font-weight:820}.report-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.status-badge{border-radius:999px;justify-content:center;align-items:center;width:fit-content;max-width:100%;padding:4px 8px;font-size:12px;font-weight:820;display:inline-flex}.status-badge.is-success{color:#15803d;background:#ecfdf3}.status-badge.is-warning{color:#a16207;background:#fffbeb}.status-badge.is-invalid,.status-badge.is-error{color:#be123c;background:#fff1f2}.status-badge.is-muted{color:#64748b;background:#f1f5f9}.report-empty{color:#64748b;text-align:center;padding:18px;font-size:12px}.report-view-button{color:#007aff;cursor:pointer;background:#eff6ff;border:1px solid #007aff2e;border-radius:999px;justify-content:center;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:12px;font-weight:820;transition:transform .15s,box-shadow .15s,border-color .15s;display:inline-flex}.report-view-button:hover{border-color:#007aff61;transform:translateY(-1px);box-shadow:0 8px 18px #007aff1a}.edit-preview-panel{background:#ffffffe6;border:1px solid #0f172a14;border-radius:20px;gap:12px;padding:16px;display:grid}.edit-preview-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.edit-preview-header>div{color:#111827;align-items:center;gap:8px;font-size:14px;display:flex}.edit-preview-header span{color:#64748b;font-size:12px;font-weight:760}.edit-preview-canvas-wrap{background:#f8fafc;border:1px solid #0f172a14;border-radius:16px;justify-content:center;align-items:flex-start;min-height:360px;padding:16px;display:flex;position:relative;overflow:auto}.edit-preview-canvas-wrap canvas{background:#fff;border-radius:10px;max-width:100%;height:auto;display:block;box-shadow:0 12px 28px #0f172a1f}.edit-preview-loading{color:#007aff;background:#ffffffeb;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:820;display:inline-flex;position:absolute;top:14px;left:14px;box-shadow:0 8px 20px #0f172a14}.compare-preview-panel{background:#ffffffe6;border:1px solid #0f172a14;border-radius:20px;gap:14px;padding:16px;display:grid}.compare-preview-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.compare-preview-header>div:first-child{color:#111827;align-items:center;gap:8px;font-size:14px;display:flex}.compare-page-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.compare-page-controls .report-view-button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none;transform:none}.compare-page-form{color:#64748b;align-items:center;gap:7px;font-size:12px;font-weight:760;display:inline-flex}.compare-page-form input{color:#111827;text-align:center;background:#f8fafcf2;border:1px solid #0f172a1a;border-radius:10px;outline:none;width:64px;height:32px;padding:0 8px;font-size:13px;font-weight:780}.compare-page-form input:focus{border-color:#007aff73;box-shadow:0 0 0 3px #007aff1a}.compare-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-height:420px;display:grid}.compare-page-pane{background:#f8fafc;border:1px solid #0f172a14;border-radius:18px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.compare-page-title{color:#334155;background:#ffffffc7;border-bottom:1px solid #0f172a12;flex-shrink:0;padding:10px 14px;font-size:13px;font-weight:820}.compare-canvas-wrap{flex:1;justify-content:center;align-items:flex-start;min-height:380px;padding:16px;display:flex;position:relative;overflow:auto}.compare-canvas-wrap canvas{background:#fff;border-radius:10px;max-width:100%;height:auto;display:block;box-shadow:0 12px 28px #0f172a1f}@media (width<=980px){.compare-preview-grid{grid-template-columns:1fr}.page-editor-workspace,.page-editor-layout{grid-template-columns:1fr;overflow-y:auto}}.preview-fallback{color:#334155;background:#fffbeb;border:1px solid #f59e0b38;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;margin:10px 14px;padding:10px 12px;display:grid}.preview-fallback strong{color:#1f2937;font-size:13px}.preview-fallback span{color:#64748b;grid-column:1;font-size:12px}.preview-fallback div{flex-wrap:wrap;grid-area:1/2/span 2;gap:8px;display:flex}.rename-backdrop{z-index:8;cursor:pointer;background:#0f172a29;border:0;position:absolute;inset:0}.rename-panel{z-index:9;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border:1px solid #0f172a14;border-radius:24px;flex-direction:column;width:min(420px,100vw - 56px);display:flex;position:absolute;top:58px;bottom:80px;right:28px;overflow:hidden;box-shadow:0 24px 70px #0f172a2e}.rename-panel-header{border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:flex-start;gap:14px;min-height:82px;padding:20px 20px 14px;display:flex}.rename-panel-header h2{color:#111827;margin:0;font-size:18px;font-weight:860}.rename-panel-header p{color:#64748b;margin:6px 0 0;font-size:12px;line-height:1.5}.icon-close{color:#475569;cursor:pointer;background:#fff;border:1px solid #0f172a14;border-radius:12px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;transition:transform .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.icon-close:hover{color:#007aff;border-color:#007aff4d;transform:translateY(-1px);box-shadow:0 8px 18px #007aff1a}.rename-panel-body{flex:1;align-content:start;gap:14px;min-height:0;padding:18px 20px;display:grid;overflow-y:auto}.rename-field{gap:7px;display:grid}.rename-field span,.rename-preview span{color:#334155;font-size:12px;font-weight:820}.rename-field input,.rename-field select{color:#111827;background:#fbfcfe;border:1px solid #0f172a1a;border-radius:14px;outline:none;width:100%;height:38px;padding:0 12px;font-size:13px;transition:border-color .15s,box-shadow .15s,background .15s}.rename-field input:focus,.rename-field select:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 4px #007aff1a}.rename-options{background:#f8fafc;border:1px solid #0f172a14;border-radius:18px;gap:9px;padding:12px;display:grid}.rename-options label{color:#334155;align-items:center;gap:9px;font-size:13px;font-weight:760;display:flex}.rename-options input{accent-color:#007aff;width:16px;height:16px}.rename-preview{background:#eff6ff;border:1px solid #007aff1f;border-radius:18px;gap:8px;padding:12px;display:grid}.rename-preview strong{overflow-wrap:anywhere;color:#005ecb;font-size:13px;font-weight:850}.rename-panel-actions{border-top:1px solid #0f172a14;gap:10px;padding:14px 20px 20px;display:flex}.rename-panel-actions .secondary,.rename-panel-actions .primary{flex:1;width:auto}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (height<=940px) and (width>=901px){.app-shell{padding:16px 28px}.workspace{width:calc(100vw - 56px);height:calc(100vh - 32px)}.window-bar{height:32px}.window-content{gap:10px;padding:16px 24px 14px}.eyebrow{display:none}h1{font-size:28px}.subtitle{font-size:13px}.stats-grid{gap:10px}.stat-card{gap:3px;height:58px;padding:9px 14px}.stat-card strong{font-size:19px}.output-card strong{font-size:13px}.drop-zone{height:104px;min-height:104px;padding:0 24px}.upload-icon{border-radius:16px;width:52px;height:52px}.upload-copy{gap:4px}.upload-copy strong{font-size:17px}.upload-copy small{font-size:12px}.select-file-button,.template-button{height:32px;min-height:32px}.template-panel,.option-panel{min-height:50px;padding:7px 12px}.template-field select,.template-field input,.title-option input{height:32px}.template-message,.option-hint{display:none}.validation-panel{min-height:50px;padding:8px 12px}.validation-detail{display:none}.panel-title{height:42px;min-height:42px}.bottom-bar{height:54px;min-height:54px}}@media (width<=1280px){.app-shell{padding:16px}.workspace{width:calc(100vw - 32px);height:calc(100vh - 32px)}.template-panel{flex-wrap:wrap}.window-content{gap:12px;padding:20px 28px 16px}.topbar{grid-template-columns:1fr;gap:10px;margin-bottom:-2px}.tool-switcher{grid-template-columns:1fr 1fr}.stat-card{height:70px}.drop-zone{height:132px;min-height:132px;padding:0 28px}.privacy-strip{min-height:40px}.option-panel{grid-template-columns:minmax(280px,1fr) repeat(4,minmax(104px,auto));min-height:56px}.validation-panel{grid-template-columns:1fr}.validation-detail{flex-wrap:wrap}.bottom-bar{height:60px;min-height:60px}.primary{width:128px}}@media (width<=1120px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-head{display:none}.table-row{grid-template-columns:34px 42px 68px minmax(0,1fr);grid-template-areas:"drag order thumb name""drag order thumb type""drag order thumb meta""drag order thumb actions";gap:7px 10px;padding:14px 16px}.table-row .drag-cell{grid-area:drag}.table-row .order-cell{grid-area:order}.table-row .thumb{grid-area:thumb}.table-row .filename{grid-area:name}.table-row .type-cell{grid-area:type}.table-row .pages{grid-area:meta}.table-row .size{grid-area:meta;justify-self:end}.table-row .actions{grid-area:actions}}@media (width<=900px){.app-shell{align-items:center;padding:0}.workspace{width:100vw;height:100vh}.app-window{border-radius:0}.window-content{padding:16px 14px 14px}.topbar,.tool-switcher{grid-template-columns:1fr}.window-title{display:none}.stats-grid{grid-template-columns:1fr}h1{font-size:28px}.drop-zone{flex-direction:column;align-items:flex-start;height:158px;min-height:158px;padding:22px}.title-option{grid-column:1/-1;min-width:0}.option-panel{grid-template-columns:1fr 1fr}.template-panel{align-items:stretch}.template-field,.template-select-field,.template-name-field{flex-basis:100%;min-width:100%}.template-actions{width:100%}.template-button{flex:1}.template-message{max-width:none}.file-panel{min-height:0}.bottom-bar{flex-direction:column;align-items:stretch;margin-left:0;margin-right:0;padding:12px 14px}.bottom-actions{flex-direction:column;width:100%}.secondary,.primary,.download{width:100%}.preview-download-link{width:auto}.preview-overlay{padding:14px}.preview-panel{width:100%;height:min(90vh,860px);inset:auto}}@media (width<=768px){body{min-width:0}.app-shell{padding:0}.app-window{border-radius:0}.window-bar{height:32px}.window-content{padding:14px 12px calc(92px + env(safe-area-inset-bottom));gap:10px;overflow:hidden auto}.topbar{gap:8px}h1{font-size:25px}.subtitle{font-size:13px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{gap:3px;height:64px;padding:10px 12px}.stat-card span{font-size:11px}.stat-card strong{font-size:18px}.output-card strong{font-size:12px}.drop-zone{align-items:stretch;gap:14px;height:auto;min-height:auto;padding:16px}.upload-icon{border-radius:16px;width:52px;height:52px}.upload-copy{gap:5px}.desktop-upload-copy{display:none}.mobile-upload-copy{display:block}.privacy-strip{flex-direction:column;align-items:flex-start;gap:6px;min-height:auto;padding:10px 12px;line-height:1.45}.security-footer{grid-template-columns:1fr;align-items:stretch;gap:6px;min-height:auto;padding:10px 12px}.security-footer span{text-align:left}.select-file-button,.template-button,.secondary,.primary,.download{height:44px;min-height:44px}.template-panel,.option-panel,.validation-panel{border-radius:18px;padding:12px}.option-panel{grid-template-columns:1fr;gap:8px}.switch-row,.option-toggle{min-height:36px}.file-panel{flex:none;min-height:320px}.table-body{min-height:0;max-height:300px;overflow:auto}.table-row{grid-template-columns:30px 34px 56px minmax(0,1fr);min-width:0;padding:12px}.thumb{width:52px;height:64px}.filename strong,.display-name-input{font-size:12px}.actions{justify-content:flex-start}.icon-button{width:34px;height:34px}.bottom-bar{z-index:6;height:auto;min-height:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-radius:18px;flex-shrink:0;gap:10px;position:sticky;bottom:0}.bottom-bar p{font-size:12px}.bottom-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.bottom-actions .primary,.bottom-actions [data-testid=download-button]{grid-column:1/-1}.preview-overlay{padding:10px}.preview-panel{border-radius:16px;width:100%;height:calc(100vh - 20px);inset:auto}.preview-close-btn{top:8px;right:8px}.preview-fallback{grid-template-columns:1fr;margin:8px 10px;padding:10px}.preview-fallback div{grid-area:auto/1;grid-template-columns:1fr;display:grid}.tool-switcher{border-radius:16px;grid-template-columns:1fr;gap:6px;width:100%;padding:6px;display:grid;overflow:visible}.tool-group{padding:7px}.tool-group-heading{flex-direction:column;align-items:flex-start;gap:2px}.tool-group-buttons{scrollbar-width:none;gap:6px;display:flex;overflow-x:auto}.tool-group-buttons::-webkit-scrollbar{display:none}.tool-switcher button{flex:none;min-width:max-content;min-height:36px;padding:0 12px}.page-editor-panel,.page-editor-shell{overflow-y:auto}.page-editor-hero{min-height:auto}.page-editor-shell .page-editor-hero{align-items:flex-start;padding:14px}.page-editor-layout{flex:none;min-height:auto;overflow:visible}.page-editor-workspace{flex:none;gap:12px;min-height:auto;overflow:visible}.editor-tabs,.page-editor-tabs,.inline-form,.grid-form.four,.page-editor-inline-form,.page-editor-field-row{grid-template-columns:1fr 1fr}.page-editor-form-button,.align-right .secondary-action,.page-editor-actionbar .secondary-action,.page-editor-actionbar .primary-action,.page-editor-actionbar .ghost-action,.page-editor-form-button,.page-editor-form-actions .secondary,.page-editor-action-bar .secondary,.page-editor-action-bar .primary{width:100%}.page-editor-actionbar{flex-direction:column;align-items:stretch;position:static}.actionbar-buttons{grid-template-columns:1fr;display:grid}.page-editor-action-bar{flex-direction:column;align-items:stretch}.text-editor-panel{border-radius:18px;padding:14px;overflow-y:auto}.text-editor-grid{grid-template-columns:1fr}.text-editor-actions{flex-direction:column;align-items:stretch}.text-editor-actions>div{flex-direction:column;width:100%}.text-editor-submit,.text-editor-download{width:100%}.text-editor-downloads,.compress-result-heading{flex-direction:column}.compress-result-grid,.report-summary-grid{grid-template-columns:1fr}.edit-report-title{flex-direction:column;align-items:flex-start}}
