.ff-dialog{width:96vw;max-width:1600px;height:94dvh;max-height:94dvh;padding:0!important;overflow:auto;border:1px solid #bbc9dd;border-radius:14px;background:#f3f5fa;color:#192e49}.ff-dialog::backdrop{background:#12213999}.ff-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;background:#1c2f4d;position:sticky;top:0;z-index:5}.ff-head h2{color:white!important;font-size:21px;margin:0!important}.ff-head button{color:white;background:#ffffff18;border-color:#ffffff44}.ff-dialog>label{margin:14px 22px;display:block}.ff-dialog>label input{display:block;width:min(750px,100%);margin-top:6px}.ff-upload{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px 22px;background:white;border-bottom:1px solid #ccd6e6}.ff-upload label{display:grid;gap:5px}.ff-upload select{min-width:210px;max-width:360px}.ff-note{font-size:12px;color:#566b88;line-height:1.6;margin:12px 0}.ff-dialog>.ff-note{margin:10px 22px}.ff-preview{margin:12px 22px 22px;background:white;border:1px solid #c7d3e5;border-radius:9px;padding:12px;min-width:0}.ff-cell-tools{display:flex;align-items:center;gap:12px;margin:0 22px;min-height:40px;font-size:12px}.ff-cell-tools label{display:flex;gap:7px;align-items:center}.ff-cell-tools input[type=checkbox]{width:auto}.ff-cell-tools select{width:140px}.ff-tabs{display:flex;gap:5px;overflow:auto;margin-bottom:10px}.ff-tabs button{min-width:max-content}.ff-tabs button.active{color:white;background:#662d91;border-color:#662d91}.ff-grid-view{min-width:0}.ff-tablewrap{max-height:65dvh;overflow:auto;border:1px solid #becce0;border-radius:7px}.ff-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed!important;width:max-content!important;min-width:100%;font-size:12px;margin:0!important}.ff-table td,.ff-table th{border:0!important;border-right:1px solid #d7dfeb!important;border-bottom:1px solid #d7dfeb!important;padding:0!important;min-width:115px;width:125px;vertical-align:middle;background:white}.ff-table thead th{position:sticky;top:0;z-index:2;background:#e1e7f1;color:#526782;height:28px;text-align:center}.ff-table .ff-row-number{position:sticky;left:0;z-index:1;min-width:35px;width:35px;background:#e1e7f1;font-weight:400;text-align:center;color:#526782}.ff-table td.ff-label{background:#edf1f7;color:#183452;max-width:250px}.ff-label>span{display:block;padding:8px;white-space:pre-wrap;line-height:1.5;overflow-wrap:anywhere}.ff-label>span.ff-long-text{max-height:80px;overflow:auto}.ff-table td.ff-formula{background:#ede5f6;text-align:right;color:#592582}.ff-formula output{display:block;padding:8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ff-table td input,.ff-table td textarea{display:block;width:100%;min-width:100px;border:0!important;border-radius:0!important;margin:0!important;padding:8px!important;background:white!important;color:#142d48!important;font:13px Arial,sans-serif;min-height:34px;box-shadow:none!important}.ff-table td input:focus,.ff-table td textarea:focus{outline:2px solid #8757b4;outline-offset:-2px}.ff-table td textarea{height:64px;resize:vertical}.ff-table td input:disabled,.ff-table td textarea:disabled{opacity:1;background:#fafbfe!important}.ff-selectable{cursor:cell}.ff-errors{margin-top:10px;border:1px solid #efc69d;border-radius:6px;background:#fff5e9;padding:9px 12px;font-size:12px;color:#794917}.ff-errors[hidden]{display:none}.ff-errors summary{cursor:pointer;font-weight:600}.ff-errors li{margin:5px 0;overflow-wrap:anywhere}.ff-error-cell{color:#b12739!important;background:#fff0f1}.ff-calc-status{font-size:11px;color:#65768e;margin:8px 0 0}.ff-footer{position:sticky;bottom:0;z-index:5;background:white;border-top:1px solid #c8d4e4;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.ff-message{font-size:13px;color:#365c42;white-space:pre-wrap}.ff-runtime{border:1px solid #cbd6e7;border-radius:10px;padding:14px;margin:16px 0;background:#f7f9fd;min-width:0}.ff-runtime-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}.ff-runtime-bar a{display:inline-block;color:#662d91;font-weight:600;text-decoration:none;border:1px solid #cdb9e2;background:white;border-radius:6px;padding:9px 13px;font-size:13px}.ff-import{background:white;padding:12px;border:1px solid #cad5e6;border-radius:7px;margin-bottom:14px}.ff-import>label{display:grid;gap:6px;font-size:13px}.ff-import-preview{margin:12px 0}.ff-import-preview table{font-size:12px}.ff-import-preview th{width:120px}.ff-import-preview td{white-space:pre-wrap;overflow-wrap:anywhere}.ff-import>p{font-size:12px;color:#526782;white-space:pre-wrap}.ff-word-line{line-height:2;white-space:pre-wrap}.ff-word-line input,.ff-word-line textarea{display:inline-block!important;width:auto!important;min-width:180px;max-width:100%;padding:6px 8px!important;margin:3px 6px!important;border:1px solid #c3cfdf!important;background:white!important}.ff-word-line input:disabled{opacity:1;color:#172e49}.ff-dialog button{width:auto;font-size:13px;min-height:33px;padding:6px 12px}.ff-dialog button.primary,.ff-runtime button.primary{background:#662d91;border-color:#662d91;color:white}@media(max-width:700px){.ff-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.ff-preview{margin:10px;padding:8px}.ff-head,.ff-upload,.ff-footer{padding:12px}.ff-footer{flex-direction:column;align-items:stretch}.ff-cell-tools{margin:0 12px;flex-wrap:wrap}.ff-tablewrap{max-height:60dvh}.ff-runtime{padding:9px}.ff-head h2{font-size:17px}}@media print{.ff-runtime-bar,.ff-import,.ff-tabs,.ff-calc-status{display:none!important}.ff-tablewrap{max-height:none;overflow:visible}.ff-dialog{display:none!important}}
