/* RESTOM_FUUDY_V1 */
.fu-modal { position: fixed; inset: 0; z-index: 4300; background: rgba(8, 20, 14, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fu-sheet { --fu-card: var(--sidebar-bg, #fff); --fu-tx: var(--text-main, #14261d); --fu-mu: var(--text-muted, #6b7f74); --fu-ln: rgba(8, 50, 32, .12); width: min(640px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--fu-card); color: var(--fu-tx); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.fu-sheet.small { width: min(420px, 100%); }
body.dark-mode .fu-sheet { --fu-ln: rgba(255, 255, 255, .12); }
.fu-sheet * { box-sizing: border-box; }
.fu-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--fu-ln); }
.fu-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.fu-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .07); color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; min-width: 0 !important; min-height: 0 !important; padding: 0; }
.fu-body { padding: 14px 20px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.fu-sec { border: 1px solid var(--fu-ln); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.fu-sec h4 { margin: 0 0 8px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: var(--fu-mu); }
.fu-body label { display: block; font-size: .82rem; font-weight: 700; margin: 8px 0 0; }
.fu-body input[type="password"], .fu-body input[type="number"] { display: block; width: 100%; height: 40px; margin-top: 4px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--fu-ln); background: var(--bg-main, #f4f7f5); color: inherit; font: inherit; }
.fu-inline { display: flex !important; align-items: center; gap: 10px; } .fu-inline input { width: 90px !important; margin: 0 !important; }
.fu-sw { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 600 !important; }
.fu-sw input { width: 18px; height: 18px; accent-color: #10b981; flex: none; }
.fu-note { font-size: .78rem; color: var(--fu-mu); line-height: 1.5; margin: 8px 0 0; }
.fu-seg { display: inline-flex; border: 1px solid var(--fu-ln); border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
.fu-seg button { height: 36px; padding: 0 18px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; min-height: 0 !important; }
.fu-seg button.on { background: #10b981; color: #fff; }
.fu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.fu-btn { height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: #10b981; color: #fff; font: inherit; font-weight: 800; font-size: .84rem; cursor: pointer; min-height: 0 !important; min-width: 0 !important; }
.fu-btn.gh { background: rgba(0, 0, 0, .07); color: inherit; } .fu-btn.pr { background: linear-gradient(135deg, #10b981, #047857); height: 42px; padding: 0 26px; }
.fu-btn:disabled { opacity: .5; cursor: default; }
.fu-chip { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: .76rem; font-weight: 800; background: rgba(0, 0, 0, .07); }
.fu-chip.ok { background: rgba(16, 185, 129, .16); color: #047857; } .fu-chip.bad { background: rgba(239, 68, 68, .14); color: #b91c1c; }
.fu-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; } .fu-list label { margin: 0; padding: 7px 10px; border: 1px solid var(--fu-ln); border-radius: 10px; font-weight: 600; }
.fu-menu { margin-top: 10px; font-size: .82rem; } .fu-menu ul { margin: 4px 0 8px 18px; padding: 0; } .fu-menu em { color: var(--fu-mu); margin-left: 6px; }
.fu-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.fu-entry { margin-top: 8px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(14, 165, 233, .5); background: rgba(14, 165, 233, .1); color: #0369a1; font: inherit; font-weight: 800; font-size: .76rem; cursor: pointer; min-height: 0 !important; min-width: 0 !important; }
.fu-fab { position: fixed; right: 16px; bottom: 16px; z-index: 900; height: 40px; padding: 0 16px; border-radius: 99px; border: 0; background: #0ea5e9; color: #fff; font: inherit; font-weight: 800; box-shadow: 0 8px 20px rgba(14, 165, 233, .4); cursor: pointer; min-height: 0 !important; }
@media (max-width: 640px) { .fu-modal { padding: 0; align-items: flex-end; } .fu-sheet, .fu-sheet.small { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; } }
