:root{--bg: #f4f6fb;--card: #ffffff;--border: #e2e8f0;--text: #1e293b;--muted: #64748b;--primary: #2563eb;--primary-dark: #1d4ed8;--danger: #dc2626;--radius: 12px}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text)}.container{max-width:880px;margin:0 auto;padding:32px 20px 64px}header{margin-bottom:24px}.header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.header-title h1{font-size:1.6rem;margin:0 0 8px}.header-auth{flex-shrink:0}.btn-login{background:var(--primary);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-login:hover{background:var(--primary-dark)}.user-menu-wrapper{position:relative}.user-button{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--border);padding:8px 12px;border-radius:8px;cursor:pointer;transition:border-color .15s}.user-button:hover{border-color:var(--primary)}.user-avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#7c3aed);color:#fff;font-weight:700;font-size:1rem}.user-info{display:flex;flex-direction:column;text-align:left}.user-name{font-weight:600;font-size:.9rem;color:var(--text)}.user-email{font-size:.75rem;color:var(--muted)}.user-menu{position:absolute;top:calc(100% + 8px);right:0;background:var(--card);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 12px #0000001a;min-width:200px;z-index:1000}.user-menu-item{padding:12px 16px;cursor:pointer;font-size:.9rem;transition:background .15s;border:none;background:transparent;width:100%;text-align:left}.user-menu-item:not(.logout):hover{background:#f8fafc}.user-menu-item.logout{color:var(--danger);cursor:pointer}.user-menu-item.logout:hover{background:#fef2f2}.user-menu hr{margin:4px 0;border:none;border-top:1px solid var(--border)}header p{color:var(--muted);margin:0;line-height:1.6}.store-code-field{display:grid;grid-template-columns:max-content 100px max-content minmax(240px,1fr);align-items:center;gap:10px 12px;margin-bottom:12px;padding:10px 16px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.store-code-field label{font-weight:600;white-space:nowrap}.store-code-field label span{color:var(--danger)}.store-code-field input,.store-code-field select,.history-filters input{min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#fff;font:inherit}.store-code-field input{width:100px}.store-code-field select{width:100%;min-width:0}.store-code-field input:focus,.store-code-field select:focus,.history-filters input:focus{outline:2px solid rgba(37,99,235,.2);border-color:var(--primary)}.store-code-field small,.history-note{color:var(--muted);font-size:.82rem}.upload-zone{border:2px dashed #b6c6e0;border-radius:var(--radius);background:var(--card);padding:8px 20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;min-height:30px;display:flex;flex-direction:column;align-items:center;justify-content:center}.upload-zone:hover{border-color:var(--primary);background:#f8faff}.upload-zone-disabled{opacity:.55;cursor:not-allowed}.upload-zone-disabled:hover{border-color:#b6c6e0;background:var(--card)}.drop-title{margin:0 0 6px;font-weight:600}.drop-hint{margin:0;color:var(--muted);font-size:.85rem}.previews{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.preview-card{position:relative;width:160px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);overflow:hidden}.preview-card img{width:100%;height:110px;object-fit:cover;display:block}.pdf-icon{height:110px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff;font-weight:700}.preview-meta{padding:8px 10px;display:flex;flex-direction:column;gap:2px}.preview-meta .name{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-meta .size{font-size:.72rem;color:var(--muted)}.remove{position:absolute;top:6px;right:6px;width:24px;height:24px;border:none;border-radius:50%;background:#0000008c;color:#fff;cursor:pointer;font-size:.7rem;line-height:1}.add-more{width:160px;border:1px dashed var(--border);border-radius:var(--radius);background:transparent;color:var(--muted);cursor:pointer;font-size:.9rem}.add-more:disabled{opacity:.5;cursor:not-allowed}.actions{margin-top:24px}.extract{background:var(--primary);color:#fff;border:none;padding:12px 28px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer}.extract:hover:not(:disabled){background:var(--primary-dark)}.extract:disabled{opacity:.5;cursor:not-allowed}.error{margin-top:16px;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;color:var(--danger);border-radius:8px}.loading{margin-top:16px;color:var(--muted);font-style:italic}.validation{margin-top:24px}.validation h2{margin:0 0 12px}.issue{padding:10px 14px;border-radius:8px;margin-bottom:8px;font-size:14px}.issue.error{background:#fef2f2;border:1px solid #fecaca;color:var(--danger)}.issue.warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.result{margin-top:32px}.badge{display:inline-block;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:600;color:var(--primary);background:#1d4ed81f;border:1px solid rgba(29,78,216,.3);border-radius:999px;vertical-align:middle}.result h2{margin:0 0 16px}.result-reading-mode{margin:-10px 0 16px;color:var(--muted);font-size:.82rem}.result-timing{margin:-8px 0 16px;color:var(--muted);font-size:.85rem}.result-partial{margin-bottom:16px}.field-status-badge{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-size:.65rem;font-weight:700;vertical-align:middle;line-height:1}.field-status-verified{background:#dcfce7;color:#16a34a;border:1px solid #86efac}.field-status-unverified{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.field-status-unreadable{background:#fef2f2;color:var(--danger);border:1px solid #fecaca}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-account-card{width:100%}@media(max-width:640px){.result-grid{grid-template-columns:1fr}}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:12px}.card h3{margin:0 0 12px;font-size:1rem;color:var(--primary-dark)}.row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px dashed var(--border)}.row:last-child{border-bottom:none}.row .label{color:var(--muted);font-size:.85rem}.row .value{font-weight:600;text-align:right;word-break:break-word}.result .row{display:grid;grid-template-columns:minmax(155px,190px) minmax(0,1fr);align-items:baseline;justify-content:initial;column-gap:12px}.result .row .value{min-width:0;text-align:left;overflow-wrap:anywhere}@media(max-width:540px){.result .row{grid-template-columns:minmax(0,130px) minmax(0,1fr)}}.plan-table{width:100%;border-collapse:collapse;font-size:.9rem}.plan-table th,.plan-table td{border:1px solid var(--border);padding:8px 10px;text-align:left}.plan-table th{background:#f8fafc}.plan-table td:first-child{font-weight:600}.json-toggle{margin-top:4px;background:transparent;border:1px solid var(--border);color:var(--primary);border-radius:8px;padding:8px 14px;cursor:pointer}.json-view{background:#0f172a;color:#e2e8f0;border-radius:var(--radius);padding:16px;overflow-x:auto;font-size:.82rem;margin-top:12px}.history{margin-top:40px}.history-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.history-header h2{margin:0 0 6px}.history-header strong{color:var(--primary-dark);white-space:nowrap}.history-note{margin:0}.history-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px;padding:14px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.history-filters label{display:flex;flex:1 1 170px;flex-direction:column;gap:5px;color:var(--muted);font-size:.82rem}.history-search{min-height:38px;padding:8px 14px;border:none;border-radius:8px;background:var(--primary);color:#fff;font-weight:600;cursor:pointer}.history-search:disabled{opacity:.6;cursor:wait}.history-empty{padding:20px;color:var(--muted);text-align:center;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.history-table-wrap{overflow-x:auto;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.history-table{width:100%;min-width:680px;border-collapse:collapse;font-size:.88rem}.history-table th,.history-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left}.history-table th{background:#f8fafc;color:var(--muted);font-weight:600}.history-table tr:last-child td{border-bottom:none}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px}.pagination-btn{min-height:36px;padding:8px 16px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text);font-weight:600;cursor:pointer}.pagination-btn:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:var(--muted);font-size:.88rem}.history-row{cursor:pointer;transition:background .12s}.history-row:hover,.history-row:focus-visible{background:#f8faff;outline:none}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:20px;z-index:2000}.modal-card{width:min(100%,720px);max-height:88vh;overflow-y:auto;background:var(--card);border-radius:var(--radius);box-shadow:0 20px 48px #0f172a33;padding:24px}.edit-modal-card{width:min(100%,980px);max-height:92vh;padding:28px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-header h2{margin:0;font-size:1.2rem}.modal-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.modal-edit-button{padding:8px 16px;font-size:.9rem}.modal-close{border:none;background:transparent;font-size:1.1rem;cursor:pointer;color:var(--muted);padding:4px 8px;border-radius:6px}.modal-close:hover{background:#f1f5f9}.modal-body{display:flex;flex-direction:column;gap:4px}.modal-section-title{margin:20px 0 10px;font-size:1rem;color:var(--primary-dark)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.btn-secondary{background:transparent;border:1px solid var(--border);color:var(--text);padding:12px 20px;border-radius:8px;font-weight:600;cursor:pointer}.btn-secondary:hover:not(:disabled){background:#f1f5f9}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.edit-workspace{display:flex;flex-direction:column;gap:16px}.edit-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:12px}.edit-kicker{display:block;margin-bottom:5px;color:var(--primary);font-size:.7rem;font-weight:800;letter-spacing:.08em}.edit-intro h3{margin:0;color:var(--text);font-size:1.15rem}.edit-intro p{margin:5px 0 0;color:var(--muted);font-size:.85rem}.edit-version-summary{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;color:var(--muted);font-size:.75rem}.edit-version-summary strong{color:var(--primary-dark);font-size:1.25rem}.edit-section{padding:18px 20px 20px;background:#fff;border:1px solid var(--border);border-radius:12px}.edit-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.edit-section-heading>div{display:flex;align-items:center;gap:11px}.edit-section-index{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#dbeafe;color:var(--primary-dark);font-size:.75rem;font-weight:800}.edit-section-heading h4{margin:0;color:var(--text);font-size:.98rem}.edit-section-heading p{margin:3px 0 0;color:var(--muted);font-size:.78rem}.edit-readonly-note{padding:5px 9px;border-radius:999px;background:#f1f5f9;color:var(--muted);font-size:.75rem;white-space:nowrap}.edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.edit-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:.8rem;font-weight:600}.edit-field-wide{grid-column:1 / -1}.edit-field input,.edit-field textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;color:var(--text);background:#fff;font:inherit;font-weight:400;resize:vertical;transition:border-color .15s,box-shadow .15s}.edit-field input:hover,.edit-field textarea:hover,.edit-field select:hover{border-color:#94a3b8}.edit-field input:focus,.edit-field textarea:focus,.edit-field select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.edit-schedule-section{padding-bottom:18px}.edit-schedule-help{margin:-4px 0 12px 41px;color:var(--muted);font-size:.8rem}.schedule-edit-table-wrap{overflow-x:auto}.schedule-edit-table{min-width:780px}.schedule-edit-table input{min-height:36px;width:100%;padding:7px 8px;border:1px solid #cbd5e1;border-radius:6px;font:inherit}.schedule-edit-table input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #2563eb1a}.schedule-edit-table td{padding:7px 8px}.schedule-edit-table .remove{position:static;background:var(--danger)}.schedule-add{margin-top:10px;width:auto;padding:8px 16px}.edit-save-error{margin-top:0}.edit-actions{position:static;z-index:auto;justify-content:space-between;margin:0;padding:10px 0 0;background:transparent;border-top:0}.edit-actions .extract,.edit-actions .btn-secondary{min-width:150px}.edit-sections-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:801px){.edit-modal-card{max-height:calc(100vh - 28px);overflow:hidden}.edit-modal-card .modal-header{margin-bottom:10px}.edit-workspace{gap:10px}.edit-intro{padding:12px 16px}.edit-intro h3{font-size:1.05rem}.edit-intro p{margin-top:3px;font-size:.78rem}.edit-version-summary strong{font-size:1.1rem}.edit-section{padding:12px 14px 14px}.edit-section-heading{margin-bottom:10px}.edit-section-index{width:26px;height:26px;font-size:.68rem}.edit-section-heading h4{font-size:.88rem}.edit-section-heading p{margin-top:1px;font-size:.68rem}.edit-form{gap:8px 10px}.edit-field{gap:3px;font-size:.72rem}.edit-field input,.edit-field textarea{min-height:32px;padding:6px 8px;font-size:.8rem}.edit-field textarea{min-height:38px}.edit-schedule-section{padding-bottom:12px}.edit-schedule-help{margin:-3px 0 7px 36px;font-size:.7rem}.schedule-edit-table{min-width:0;font-size:.76rem}.schedule-edit-table th,.schedule-edit-table td{padding:4px 6px}.schedule-edit-table input{min-height:29px;padding:4px 6px;font-size:.76rem}.edit-actions{position:static;margin:0;padding:10px 0 0;background:transparent}}@media(min-width:801px){.edit-modal-card{width:min(100%,1120px);padding:20px}.edit-workspace{gap:8px}.edit-intro{padding:8px 12px}.edit-intro h3{font-size:.98rem}.edit-intro p,.edit-section-heading p{display:none}.edit-kicker{margin-bottom:2px;font-size:.62rem}.edit-version-summary{font-size:.68rem}.edit-version-summary strong{font-size:1rem}.edit-sections-grid{gap:8px}.edit-section{padding:9px 11px 10px}.edit-section-heading{margin-bottom:7px}.edit-section-index{width:23px;height:23px;font-size:.62rem}.edit-section-heading>div{gap:8px}.edit-section-heading h4{font-size:.82rem}.edit-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 8px}.edit-field{gap:2px;font-size:.66rem}.edit-field input,.edit-field textarea{min-height:29px;padding:4px 6px;font-size:.74rem}.edit-field textarea{min-height:34px}.edit-readonly-note{padding:3px 7px;font-size:.65rem}.edit-schedule-help{display:none}.edit-actions{padding-top:7px}.edit-actions .extract,.edit-actions .btn-secondary{min-width:130px;padding:8px 14px}}@media(max-width:800px){.edit-sections-grid{grid-template-columns:1fr}.edit-modal-card{overflow-y:auto}}@media(max-width:640px){.header-top{flex-direction:column;align-items:stretch}.user-button{width:100%}.user-menu{right:auto;left:0}.edit-modal-card{padding:18px}.edit-intro{align-items:flex-start;flex-direction:column;padding:16px}.edit-version-summary{align-items:flex-start}.edit-section{padding:16px}.edit-section-heading{align-items:flex-start;flex-direction:column}.edit-form{grid-template-columns:1fr}.edit-field-wide{grid-column:auto}.edit-schedule-help{margin-left:0}.edit-actions{bottom:-18px;flex-direction:column-reverse;margin:0 -18px -18px;padding:14px 18px 18px}.edit-actions .extract,.edit-actions .btn-secondary{width:100%}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:min(100%,420px);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 12px 32px #0f172a14;padding:36px;text-align:center}.login-logo{width:56px;height:56px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,var(--primary),#7c3aed);color:#fff;font-weight:800;letter-spacing:.04em}.login-card h1{margin:0 0 8px}.login-card p{color:var(--muted);line-height:1.5}.login-submit{width:100%;margin-top:12px}.login-logo-image{display:block;width:min(220px,80%);height:auto;max-height:96px;object-fit:contain;margin:0 auto 20px}.view-modal-card{width:min(100%,1120px)}.view-workspace{display:flex;flex-direction:column;gap:8px}.view-sections-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.view-section{min-width:0;padding:9px 11px 10px;background:#fff;border:1px solid var(--border);border-radius:12px}.view-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.view-section-heading>div{display:flex;align-items:center;gap:8px}.view-section-index{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex-shrink:0;border-radius:50%;background:#dbeafe;color:var(--primary-dark);font-size:.62rem;font-weight:800}.view-section-heading h4{margin:0;color:var(--text);font-size:.82rem}.view-section-heading p{display:none}.view-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px}.view-field{min-width:0}.view-field-wide{grid-column:1 / -1}.view-section .row{min-width:0;align-items:baseline;gap:8px;padding:3px 0}.view-section .row .label{min-width:0;color:var(--muted);font-size:.66rem;line-height:1.2}.view-section .row .value{min-width:0;color:var(--text);font-size:.74rem;line-height:1.2;overflow-wrap:anywhere}.view-schedule-section{padding-bottom:10px}.view-schedule-table{min-width:0;font-size:.76rem}.view-schedule-table th,.view-schedule-table td{padding:4px 6px}@media(min-width:801px){.view-modal-card{max-height:calc(100vh - 28px);padding:20px;overflow:hidden}.view-modal-card .modal-header{margin-bottom:10px}}@media(max-width:800px){.view-sections-grid{grid-template-columns:1fr}.view-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.view-modal-card{overflow-y:auto}}@media(max-width:540px){.view-form-grid{grid-template-columns:1fr}.view-field-wide{grid-column:auto}}.edit-field{flex-direction:row;align-items:center;gap:6px}.edit-field>span{flex:0 0 108px;line-height:1.15;white-space:normal}.edit-field input,.edit-field textarea{width:auto;flex:1 1 auto;min-width:0}.edit-field-wide>span{flex-basis:120px}@media(max-width:540px){.edit-field>span{flex-basis:96px;font-size:.64rem}.edit-field-wide>span{flex-basis:104px}}.view-section .row{justify-content:flex-start}.view-section .row .label{flex:0 0 112px}.view-section .row .value{flex:1 1 auto;text-align:left}@media(max-width:800px){.view-section .row .label{flex-basis:104px}}@media(min-width:801px){.edit-modal-card,.view-modal-card{width:min(100%,1200px);max-height:calc(100vh - 28px);padding:20px;overflow:hidden}.edit-modal-card .edit-intro{display:none}.edit-modal-card .modal-header,.view-modal-card .modal-header{margin-bottom:12px}.edit-sections-grid,.view-sections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.edit-section,.view-section{padding:12px 16px 14px}.edit-section-heading,.view-section-heading{margin-bottom:10px}.edit-section-index,.view-section-index{width:27px;height:27px;font-size:.7rem}.edit-section-heading>div,.view-section-heading>div{gap:10px}.edit-section-heading h4,.view-section-heading h4{font-size:.92rem}.edit-form,.view-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.edit-field{gap:8px;font-size:.8rem}.edit-field>span{flex:0 0 132px;font-size:.8rem}.edit-field-wide>span{flex-basis:145px}.edit-field input,.edit-field textarea{min-height:36px;padding:7px 9px;font-size:.88rem}.edit-field textarea{height:42px;min-height:42px}.view-section .row{gap:10px;padding:6px 0}.view-section .row .label{flex:0 0 132px;font-size:.8rem}.view-section .row .value{font-size:.9rem;line-height:1.25;white-space:nowrap;text-align:left}.view-field-wide .row .label{flex-basis:145px}.view-schedule-table{font-size:.86rem}.view-schedule-table th,.view-schedule-table td{padding:6px 8px}.schedule-edit-table{font-size:.86rem}.schedule-edit-table th,.schedule-edit-table td{padding:6px 8px}.schedule-edit-table input{min-height:34px;padding:6px 8px;font-size:.86rem}.edit-actions{padding-top:10px}}.edit-field{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;column-gap:8px;min-width:0}.edit-field>span{flex:none;min-width:0;white-space:normal}.edit-field input,.edit-field textarea{width:100%;min-width:0}.view-section .row{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;justify-content:initial;column-gap:10px;min-width:0}.view-section .row .label{flex:none;min-width:0;white-space:normal}.view-section .row .value{min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:left;white-space:normal}@media(max-width:540px){.edit-field,.view-section .row{grid-template-columns:minmax(0,104px) minmax(0,1fr)}}.appendix-fields{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px 12px;margin-bottom:16px;padding:10px 16px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}.appendix-fields label{font-weight:600;color:var(--muted);font-size:.82rem;white-space:nowrap}.appendix-fields label span{color:var(--danger)}.appendix-fields textarea{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#fff;font:inherit;resize:vertical}.appendix-fields textarea:focus{outline:2px solid rgba(37,99,235,.2);border-color:var(--primary)}.appendix-fields small{grid-column:2;color:var(--muted);font-size:.78rem;margin-top:-3px}.readonly-help{display:block;margin-top:8px;color:var(--muted);font-size:.78rem}.edit-field select{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px;color:var(--text);background:#fff;font:inherit}.edit-field input:disabled{background:#f1f5f9;color:var(--muted);cursor:not-allowed}@media(max-width:700px){.store-code-field{grid-template-columns:max-content minmax(0,1fr)}.store-code-field input{width:100%}.appendix-fields{grid-template-columns:max-content minmax(0,1fr)}.appendix-fields small{grid-column:2}}@media(max-width:480px){.store-code-field,.appendix-fields{grid-template-columns:1fr}.store-code-field input,.store-code-field select,.appendix-fields textarea{width:100%}.appendix-fields small{grid-column:auto}}.edit-field small{grid-column:2;color:var(--muted);font-size:.72rem;font-weight:400}@media(min-width:801px){.edit-modal-card{display:flex;flex-direction:column;width:min(calc(100vw - 16px),1440px);height:fit-content;min-height:0;max-height:calc(100vh - 16px);padding:12px;overflow-x:hidden;overflow-y:auto}.edit-modal-card .modal-header{flex:0 0 auto;margin-bottom:6px}.edit-workspace{display:flex;flex:0 0 auto;flex-direction:column;min-height:0;gap:6px}.edit-sections-grid{grid-template-columns:repeat(4,minmax(0,1fr));flex:0 0 auto;gap:6px}.edit-section{padding:8px 10px;border-radius:8px}.edit-section-heading{margin-bottom:5px}.edit-section-heading>div{gap:6px}.edit-section-index{width:22px;height:22px;font-size:.62rem}.edit-section-heading h4{font-size:.9rem;line-height:1.15}.edit-section-heading p,.edit-schedule-help{display:none}.edit-sections-grid .edit-form{grid-template-columns:minmax(0,1fr);gap:4px}.edit-sections-grid .edit-field{grid-template-columns:minmax(0,1fr);gap:2px}.edit-field{gap:6px;font-size:.84rem}.edit-field>span{font-size:.84rem;line-height:1.15}.edit-field input,.edit-field select,.edit-field textarea{min-height:34px;padding:6px 8px;font-size:.9rem}.edit-field textarea{height:38px;min-height:38px}.appendix-result-card .edit-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}.edit-schedule-section{flex:0 0 auto;min-height:0;padding-bottom:8px}.schedule-edit-table-wrap{max-height:232px;overflow:auto}.schedule-edit-table{font-size:.84rem}.schedule-edit-table th,.schedule-edit-table td{padding:4px 6px}.schedule-edit-table input{min-height:32px;padding:5px 6px;font-size:.86rem}.edit-readonly-note{padding:3px 7px;font-size:.76rem}.edit-actions{position:static;flex:0 0 auto;gap:8px;margin:0;padding:7px 0 0;background:transparent;border-top:0}.edit-actions .extract,.edit-actions .btn-secondary{min-width:128px;padding:8px 14px;font-size:.88rem}}.block-document{border:1px solid #fecaca;border-radius:8px;padding:8px 14px;color:var(--danger);background:#fef2f2;cursor:pointer;font:inherit;font-weight:700}.block-document:hover:not(:disabled){border-color:var(--danger);background:#fee2e2}.block-document:disabled{cursor:not-allowed;opacity:.65}.history-block-action{white-space:nowrap}.history-table .block-document{padding:5px 9px;font-size:.78rem}.block-confirm-overlay{padding:20px;background:#0f172a85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.block-confirm-card{width:min(100%,520px);padding:28px;border:1px solid #fecaca;border-radius:16px;background:#fff;box-shadow:0 24px 64px #0f172a47}.block-confirm-heading{display:flex;align-items:center;gap:14px}.block-confirm-icon{display:inline-flex;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;border-radius:50%;color:var(--danger);background:#fef2f2;font-size:1.35rem;font-weight:800}.block-confirm-kicker{margin:0 0 3px;color:var(--danger);font-size:.7rem;font-weight:800;letter-spacing:.08em}.block-confirm-heading h2{margin:0;color:var(--text);font-size:1.35rem}.block-confirm-description{margin:20px 0 16px;color:var(--muted);line-height:1.6}.block-confirm-description strong{color:var(--text)}.block-confirm-details{display:grid;gap:10px;margin:0;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.block-confirm-details div{display:flex;justify-content:space-between;gap:16px}.block-confirm-details dt{color:var(--muted);font-size:.82rem}.block-confirm-details dd{margin:0;color:var(--text);font-size:.86rem;font-weight:700;text-align:right;overflow-wrap:anywhere}.block-confirm-error{margin:16px 0 0}.block-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.block-confirm-actions .btn-secondary,.block-confirm-submit{min-width:122px;padding:9px 14px}.block-confirm-submit{border:1px solid var(--danger);border-radius:8px;color:#fff;background:var(--danger);cursor:pointer;font:inherit;font-weight:700}.block-confirm-submit:hover:not(:disabled){background:#b91c1c}.block-confirm-submit:disabled{cursor:not-allowed;opacity:.65}@media(max-width:540px){.block-confirm-overlay{padding:14px}.block-confirm-card{padding:22px 18px}.block-confirm-details div{align-items:flex-start;flex-direction:column;gap:3px}.block-confirm-details dd{text-align:left}.block-confirm-actions{flex-direction:column-reverse}.block-confirm-actions .btn-secondary,.block-confirm-submit{width:100%}}
