body{margin:0;background:#f5f6fa}html{overflow-x:hidden}.module-card{height:100%;cursor:pointer;transition:box-shadow .15s,transform .15s}.module-card:hover{box-shadow:0 8px 24px #0f172a1f;transform:translateY(-2px)}.module-icon{font-size:30px;color:#4f46e5}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}.page-header h2{margin:0}.page-header .ant-typography-edit-content{max-width:640px;inset-inline-start:0;margin-top:0}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.gallery-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.gallery-item.drag-over{outline:2px solid #4f46e5}.gallery-item img{width:100%;height:130px;object-fit:cover;display:block;cursor:grab}.file-thumb{width:44px;height:44px;object-fit:cover;border-radius:6px;background:#f1f5f9}.picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:50vh;overflow:auto}.picker-item{border:2px solid transparent;border-radius:8px;overflow:hidden;cursor:pointer}.picker-item:hover{border-color:#a5b4fc}.picker-item.selected{border-color:#4f46e5}.picker-item img{width:100%;height:90px;object-fit:cover;display:block}.editor-shell{display:flex;flex-direction:column;height:100vh}.editor-toolbar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #e5e7eb}.editor-frame{flex:1;border:0;width:100%;background:#fff}.fc .fc-event{cursor:pointer}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:16px;box-sizing:border-box;background:linear-gradient(135deg,#1e1b4b,#4f46e5)}.switcher-list{display:flex;flex-direction:column;gap:8px}.switcher-option{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.switcher-option:hover,.switcher-option:focus-visible{border-color:#4f46e5;background:#eef2ff;outline:none}.switcher-option .anticon:first-child{font-size:20px;color:#4f46e5}.switcher-option-text{flex:1;display:flex;flex-direction:column;min-width:0}.switcher-option-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:16px;background:#1e1b4b;padding:0 24px}.app-content{padding:24px;max-width:1280px;width:100%;margin:0 auto;box-sizing:border-box}.page-header-actions{display:flex;gap:8px;flex-wrap:wrap}.gallery-reorder{display:none}.calendar-card{background:#fff;padding:16px;border-radius:8px}.tag-wrap{white-space:normal}.fb-layout{transition:margin-right .3s}.fb-card .ant-card-body{padding:24px 32px}@media(min-width:992px){.fb-layout-shifted{margin-right:max(0px,calc(372px - max(0px,(100vw - 1280px) / 2)))}}.fb-canvas{position:relative;min-height:240px;max-width:960px;margin:0 auto;padding:8px 0;font-size:15px;color:#1f2937}.fb-empty{border:2px dashed #d1d5db;border-radius:8px;padding:40px 16px;text-align:center;color:#6b7280;margin-bottom:16px}.fb-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.fb-canvas-busy .fb-row{background-image:repeating-linear-gradient(to right,rgba(79,70,229,.06) 0,rgba(79,70,229,.06) calc((100% - 176px) / 12),transparent calc((100% - 176px) / 12),transparent calc((100% - 176px) / 12 + 16px))}.fb-cell{position:relative;min-width:0;padding:14px 12px;border:1px dashed transparent;border-radius:8px;cursor:pointer;outline:none;transition:border-color .12s,background .12s}.fb-canvas:not(.fb-canvas-busy) .fb-cell:not(.selected):hover,.fb-cell:focus-visible,.fb-cell.resizing{border-color:#a5b4fc;background:#fafaff}.fb-cell.selected{border:1px solid #4f46e5;background:#eef2ff;box-shadow:0 0 0 2px #4f46e526}.fb-cell.dragging{opacity:.4}.fb-cell.fb-drop-before:before,.fb-cell.fb-drop-after:after{content:"";position:absolute;top:4px;bottom:4px;width:4px;border-radius:2px;background:#4f46e5}.fb-cell.fb-drop-before:before{left:-10px}.fb-cell.fb-drop-after:after{right:-10px}.fb-cell.fb-drop-blocked:before,.fb-cell.fb-drop-blocked:after{background:#ef4444}.fb-toolbar{position:absolute;z-index:3;top:-15px;right:8px;display:none;align-items:center;gap:2px;height:28px;padding:0 2px;white-space:nowrap;background:#fff;border:1px solid #c7d2fe;border-radius:6px;box-shadow:0 2px 6px #0f172a1f;cursor:default}.fb-cell.selected .fb-toolbar{display:flex}.fb-cell.dragging .fb-toolbar{display:none}@media(hover:hover){.fb-canvas:not(.fb-canvas-busy) .fb-cell:hover .fb-toolbar{display:flex}}.fb-toolbar .ant-btn{transition-property:color,background-color,border-color,box-shadow}.fb-handle{cursor:grab;color:#6b7280;padding:4px}.fb-field{pointer-events:none;-webkit-user-select:none;user-select:none}.fb-label{font-weight:500;margin-bottom:6px;overflow-wrap:anywhere}.fb-required{color:#dc3545}.fb-muted{color:#9ca3af;font-style:italic;font-weight:400}.fb-control{height:38px;border:1px solid #ced4da;border-radius:6px;background:#fff;padding:7px 12px;color:#9ca3af}.fb-textarea{height:104px}.fb-check{display:flex;align-items:center;gap:8px;margin-bottom:4px;overflow-wrap:anywhere}.fb-radio,.fb-checkbox{flex:none;width:16px;height:16px;border:1px solid #adb5bd;background:#fff}.fb-radio{border-radius:50%}.fb-checkbox{border-radius:4px}.fb-resize{position:absolute;top:8px;bottom:8px;right:-6px;width:12px;cursor:col-resize;display:flex;justify-content:center;touch-action:none}.fb-resize:after{content:"";width:4px;border-radius:2px;background:transparent;transition:background .12s}.fb-canvas:not(.fb-canvas-busy) .fb-cell:hover .fb-resize:after,.fb-cell.selected .fb-resize:after{background:#a5b4fc}.fb-cell.resizing .fb-resize:after{background:#4f46e5}.fb-resize:hover:after{background:#4f46e5!important}.fb-gap{height:12px;border-radius:4px;transition:height .12s,background .12s}.fb-gap-live{height:20px}.fb-gap-active{background:#4f46e540;outline:2px dashed #4f46e5}.fb-submit{margin:8px 12px 0;padding:8px 16px;border:0;border-radius:6px;background:#0d6efd;color:#fff;font:inherit;cursor:pointer}.fb-submit:hover{box-shadow:0 0 0 3px #4f46e54d}@media(max-width:767px){.app-header{padding:0 12px;gap:12px}.app-content{padding:12px}.page-header{flex-direction:column;align-items:stretch}.page-header-actions>*{flex:1 1 auto}.page-header-actions .ant-btn{flex:1 1 auto}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.gallery-item img{height:110px}.gallery-reorder{display:flex}.calendar-card{padding:8px}.fc .fc-toolbar{flex-wrap:wrap;gap:8px}.fc .fc-toolbar-title{font-size:1.1rem}.fb-row{grid-template-columns:minmax(0,1fr)}.fb-cell{grid-column:1 / -1!important}.fb-resize{display:none}.fb-canvas{padding:4px 0}.module-card .ant-card-body{padding:16px}.switcher-option-text{overflow:hidden}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-tbody>tr>td{padding:10px 8px}}
