.s643-overlay{position:fixed;inset:0;z-index:5200;background:rgba(7,20,55,.72);display:flex;align-items:center;justify-content:center;padding:26px;font-family:inherit}
.s643-loading{background:#fff;border-radius:16px;padding:28px 34px;color:#0c1a45;font-weight:700;box-shadow:0 24px 70px rgba(3,12,35,.26)}
.s643-shell{width:min(1560px,100%);height:min(900px,calc(100vh - 52px));background:#f7f9fc;border-radius:18px;overflow:hidden;display:grid;grid-template-rows:auto auto 1fr auto;color:#0c1a45;box-shadow:0 26px 86px rgba(3,12,35,.32)}
.s643-header{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:25px 30px;border-bottom:1px solid #e5eaf3}
.s643-header>div>span{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.07em;color:#2d6bf3;font-weight:800}
.s643-header>div>span i{width:7px;height:7px;border-radius:50%;background:#2d6bf3}
.s643-header h2{font-size:27px;line-height:1.15;margin:8px 0 4px;letter-spacing:-.035em}
.s643-header p{margin:0;color:#8390aa;font-size:14px}
.s643-header button{width:44px;height:44px;border:1px solid #dce3ef;border-radius:50%;background:#fff;color:#66748e;font-size:25px;cursor:pointer}
.s643-header button:hover{border-color:#2d6bf3;color:#2d6bf3}
.s643-policy{min-height:68px;padding:12px 30px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:#edfff6;border-bottom:1px solid #b8efd2}
.s643-policy-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#d6f8e7;color:#008c60;font-weight:900}
.s643-policy div:nth-child(2){display:flex;flex-direction:column;gap:3px}.s643-policy strong{font-size:14px}.s643-policy span{color:#4d7567;font-size:12px}
.s643-policy code{border:1px solid #a9dec4;border-radius:7px;padding:7px 10px;color:#14674f;background:#f7fffb;font-size:11px;font-weight:800}
.s643-main{overflow:auto;padding:20px 26px 26px}
.s643-message{position:sticky;top:0;z-index:3;margin-bottom:14px;padding:12px 15px;border-radius:9px;font-size:13px;font-weight:700;box-shadow:0 5px 16px rgba(12,26,69,.07)}
.s643-message.success{background:#e9fbf2;border:1px solid #a8e9c8;color:#08744f}.s643-message.error{background:#fff0f1;border:1px solid #ffc3c8;color:#b51f2d}
.s643-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.s643-metrics article{background:#fff;border:1px solid #dfe5ef;border-radius:12px;padding:16px 18px;display:grid;grid-template-columns:1fr auto;align-items:center}
.s643-metrics span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#657490}.s643-metrics strong{grid-row:1/3;grid-column:2;font-size:25px;color:#1f5fe3}.s643-metrics small{margin-top:5px;color:#8a96ac;font-size:11px}
.s665-weekly{display:grid;grid-template-columns:auto minmax(260px,1fr) minmax(170px,.45fr) minmax(170px,.45fr) auto;align-items:center;gap:18px;margin-bottom:14px;padding:16px 18px;border:1px solid #a9e4c8;border-radius:12px;background:linear-gradient(135deg,#effcf6 0%,#f8fffc 100%)}
.s665-weekly.due{border-color:#f4d28c;background:linear-gradient(135deg,#fffbeb 0%,#fffdf6 100%)}
.s665-weekly-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#d8f7e8;color:#087c56;font-size:20px;font-weight:900}.s665-weekly.due .s665-weekly-icon{background:#fff0c9;color:#a56700}
.s665-weekly-main{display:flex;flex-direction:column;gap:3px;min-width:0}.s665-weekly-main>span,.s665-weekly-time>span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#20805f}.s665-weekly-main>strong{font-size:14px}.s665-weekly-main>small{color:#627b72;font-size:10.5px;line-height:1.45}
.s665-weekly-time{display:flex;flex-direction:column;gap:5px;padding-left:16px;border-left:1px solid #cce9dc;min-width:0}.s665-weekly-time>strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.s665-weekly-retention{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:78px;height:52px;border:1px solid #c7e7d8;border-radius:8px;background:#fff}.s665-weekly-retention b{font-size:18px;color:#087c56}.s665-weekly-retention span{font-size:8.5px;color:#718b81}
.s643-create{display:grid;grid-template-columns:auto 1fr minmax(180px,260px) auto;align-items:center;gap:15px;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:15px 18px;margin-bottom:15px}
.s643-step{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eaf1ff;color:#215ee1;font-size:18px;font-weight:900}
.s643-create>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.s643-create strong{font-size:14px}.s643-create span{font-size:11px;color:#71809a}
.s643-create input,.s643-restore-confirm input{height:42px;border:1px solid #ccd6e5;border-radius:8px;padding:0 12px;font:inherit;font-size:12px;min-width:0}
.s643-create button,.s643-history-row button,.s643-restore-confirm button,.s643-footer button{height:42px;border:1px solid #164fc8;border-radius:8px;background:#0c1a45;color:#fff;padding:0 16px;font-weight:800;cursor:pointer;white-space:nowrap}
.s643-create button:disabled,.s643-restore-confirm button:disabled{opacity:.45;cursor:not-allowed}
.s643-columns{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:15px;align-items:start}
.s643-restore-panel,.s643-history-panel{background:#fff;border:1px solid #dce4ef;border-radius:12px;overflow:hidden;min-height:330px}
.s643-section-title{padding:17px 18px 12px;border-bottom:1px solid #edf0f5}.s643-section-title span{color:#2d6bf3;font-size:10px;letter-spacing:.08em;font-weight:900}.s643-section-title h3{font-size:17px;margin:5px 0 0}
.s643-file-picker{margin:16px 18px 13px;border:1px dashed #94b8ff;background:#f5f8ff;border-radius:10px;min-height:62px;display:grid;grid-template-columns:1fr auto;align-items:center;padding:0 14px;gap:12px;cursor:pointer}
.s643-file-picker input{display:none}.s643-file-picker span{font-size:12px;color:#67758f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s643-file-picker b{color:#1f5fe3;font-size:12px}
.s643-restore-empty{margin:0 18px 18px;border:1px solid #e4e9f2;border-radius:10px;min-height:150px;display:flex;align-items:center;justify-content:center;gap:15px;color:#8090aa;text-align:left}
.s643-restore-empty>div{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f0f4fb;color:#64748d;font-weight:900}.s643-restore-empty span{display:flex;flex-direction:column;gap:5px;font-size:11px}.s643-restore-empty strong{font-size:13px;color:#34435f}
.s643-preview-head{display:flex;justify-content:space-between;align-items:center;margin:0 18px 10px}.s643-preview-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}.s643-preview-head span{font-size:9px;letter-spacing:.08em;color:#2d6bf3;font-weight:900}.s643-preview-head strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s643-preview-head small{color:#8290a7;font-size:10px}.s643-preview-head>b{background:#e4faef;color:#08744f;border-radius:999px;padding:7px 9px;font-size:10px}
.s643-exact-scope{margin:0 18px 10px;border-left:3px solid #10b981;background:#f1fcf7;padding:9px 11px;display:flex;flex-direction:column;gap:3px}.s643-exact-scope strong{font-size:12px}.s643-exact-scope span{font-size:10px;color:#608172}
.s643-preview-table{width:calc(100% - 36px);margin:0 18px 12px;border-collapse:collapse;font-size:11px}.s643-preview-table th,.s643-preview-table td{padding:7px 9px;border-bottom:1px solid #edf0f5;text-align:left}.s643-preview-table th{font-size:9px;color:#71809a;letter-spacing:.06em}.s643-preview-table tr.changed td{background:#fff9eb;color:#9a5d00;font-weight:700}
.s643-restore-confirm{margin:0 18px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.s643-restore-confirm label{display:flex;flex-direction:column;gap:5px;color:#51617b;font-size:10px}.s643-restore-confirm button{background:#b21f2d;border-color:#b21f2d}
.s643-pre-restore-note{margin:8px 18px 16px;color:#7d8ba2;font-size:10px}
.s643-history-list{max-height:480px;overflow:auto}
.s643-history-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #edf0f5}
.s643-history-row:last-child{border-bottom:0}.s643-history-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf3ff;color:#2461e3;font-weight:900}
.s643-history-main{display:flex;flex-direction:column;gap:4px;min-width:0}.s643-history-main strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s643-history-main span{font-size:10px;color:#7f8ca2}
.s643-history-count{display:flex;flex-direction:column;align-items:flex-end}.s643-history-count b{font-size:13px}.s643-history-count span{font-size:9px;color:#8995a9}
.s643-history-row code{font-size:9px;color:#71809a}.s643-history-row button{height:34px;background:#fff;color:#0c1a45;border-color:#ccd6e5;font-size:10px;padding:0 10px}
.s643-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#8290a7}.s643-empty strong{color:#374661;font-size:14px}.s643-empty span{font-size:11px;max-width:290px}
.s643-footer{min-height:58px;background:#fff;border-top:1px solid #dfe5ef;padding:9px 22px 9px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.s643-footer span{font-size:10px;color:#71809a}.s643-footer button{height:38px;background:#fff;color:#0c1a45;border-color:#ccd6e5}
@media(max-width:1050px){.s643-overlay{padding:0}.s643-shell{height:100vh;border-radius:0}.s643-columns{grid-template-columns:1fr}.s665-weekly{grid-template-columns:auto minmax(220px,1fr) repeat(2,minmax(145px,.5fr))}.s665-weekly-retention{display:none}.s643-create{grid-template-columns:auto 1fr}.s643-create input,.s643-create button{grid-column:2}.s643-history-panel{min-height:260px}.s643-history-list{max-height:none}}
@media(max-width:680px){.s643-header{padding:20px}.s643-policy{padding:12px 20px;grid-template-columns:auto 1fr}.s643-policy code{display:none}.s643-main{padding:14px}.s643-metrics{grid-template-columns:1fr}.s665-weekly{grid-template-columns:auto 1fr;gap:12px}.s665-weekly-time{grid-column:2;padding:8px 0 0;border-left:0;border-top:1px solid #cce9dc}.s643-create{grid-template-columns:1fr}.s643-step{display:none}.s643-create input,.s643-create button{grid-column:1}.s643-history-row{grid-template-columns:auto minmax(0,1fr) auto}.s643-history-count,.s643-history-row code{display:none}.s643-restore-confirm{grid-template-columns:1fr}}
.s643-unavailable{width:min(520px,calc(100% - 32px));margin:auto;background:#fff;border:1px solid #dfe6f0;border-radius:16px;padding:32px;text-align:center;color:#0c1a45;box-shadow:0 20px 70px rgba(5,20,60,.2)}
.s643-unavailable-icon{width:42px;height:42px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#fff5db;color:#a76400;font-size:24px;font-weight:800}
.s643-unavailable h2{margin:0 0 8px;font-size:20px}.s643-unavailable p{margin:0 auto 22px;max-width:410px;color:#64748b;line-height:1.6;font-size:13px}.s643-unavailable button{border:1px solid #cbd7e8;background:#fff;border-radius:8px;padding:10px 16px;margin:0 4px;color:#17345c;cursor:pointer;font:inherit;font-size:12px}.s643-unavailable button:first-child{background:#0c1a45;color:#fff;border-color:#0c1a45}
.s643-trial-note,.s643-restore-locked{display:flex;flex-direction:column;gap:4px;border:1px solid #F2C94C;border-radius:8px;background:#FFFBEB;color:#78350F}.s643-trial-note{margin-bottom:14px;padding:11px 14px}.s643-restore-locked{margin:16px 18px;padding:18px;min-height:120px;justify-content:center}.s643-trial-note b,.s643-restore-locked b{font-size:12px}.s643-trial-note span,.s643-restore-locked span{font-size:10px;line-height:1.5;color:#92400E}.s643-file-picker:has(input:disabled){opacity:.5;cursor:not-allowed}
