.vfi-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #dfd3c4;border-radius:24px;background:#f1f6f3;color:#302820;box-shadow:0 28px 100px #23352938;font-family:inherit;overflow:hidden;color-scheme:light}
.vfi-dialog[open]{display:flex;flex-direction:column}.vfi-dialog::backdrop{background:#34271e66;backdrop-filter:blur(5px)}
.vfi-dialog *{box-sizing:border-box}.vfi-dialog [hidden]{display:none!important}.vfi-dialog button,.vfi-dialog input,.vfi-dialog textarea{font:inherit}.vfi-dialog button{min-height:44px;cursor:pointer}.vfi-dialog button:disabled{cursor:default;opacity:.55}.vfi-dialog :is(button,input,textarea,summary):focus-visible{outline:3px solid #5bbd7a;outline-offset:3px}
.vfi-header{display:flex;align-items:center;gap:12px;padding:14px 22px;border-bottom:1px solid #e7ded2;flex-shrink:0;background:#f4f9f6}.vfi-header h2{font-size:17px;font-weight:750;letter-spacing:-.03em;margin:0;flex:1}.vfi-back,.vfi-close{background:transparent;border:0;border-radius:12px;color:#6b5141}.vfi-back{font-size:14px!important;padding:0 10px}.vfi-close{width:44px;font-size:27px!important;line-height:1}
.vfi-body{padding:24px 28px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}.vfi-hero{display:flex;gap:18px;align-items:center;margin-bottom:24px}.vfi-badge{width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;border-radius:23px;color:#57b976;background:linear-gradient(145deg,#fffaf0,#d1ead9);border:1px solid #b6e0c3;box-shadow:inset 0 2px 0 #fff,0 8px 20px #4d8f6220;overflow:hidden}.vfi-badge svg{width:49px;height:49px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.vfi-badge-folder svg{fill:#77cf93;stroke:#53af70}.vfi-badge-music{background:linear-gradient(150deg,#8bdca5,#54bb75);color:#eefaf2;border-color:#5fc07e}.vfi-badge.has-thumbnail{background:#dbe8df}.vfi-badge img,.vfi-mini img{width:100%;height:100%;object-fit:cover}.vfi-badge>canvas,.vfi-mini>canvas{max-width:100%;max-height:100%;object-fit:cover}.vfi-hero-copy{min-width:0;flex:1}.vfi-kicker{color:#4f8b62;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800;margin:0 0 6px}.vfi-hero h3{font-size:clamp(19px,3vw,25px);line-height:1.18;letter-spacing:-.045em;overflow-wrap:anywhere;margin:0 0 7px}.vfi-type{font-size:12px;color:#887562;margin:0}
.vfi-menu{position:relative;align-self:flex-start}.vfi-menu>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;border:1px solid #c7d9cd;background:#fffaf3;border-radius:14px;cursor:pointer;font-size:24px}.vfi-menu>summary::-webkit-details-marker{display:none}.vfi-menu-list{position:absolute;right:0;top:49px;z-index:5;min-width:190px;border:1px solid #ded1c1;background:#fffaf4;padding:6px;border-radius:16px;box-shadow:0 12px 35px #4a2d2726}.vfi-menu-list button{display:block;text-align:left;width:100%;padding:9px 12px;border:0;border-radius:10px;background:none;color:inherit;font-size:13px}.vfi-menu-list button:hover{background:#e1f1e6}.vfi-menu-list .vfi-danger{color:#ad3826}
.vfi-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:650;color:#755b46}.vfi-field input,.vfi-field textarea,.vfi-art-picker input{width:100%;font-size:16px;line-height:1.4;min-height:44px;border:1px solid #dacbb8;border-radius:12px;padding:10px 12px;background:#fffdf8;color:#302820;box-shadow:inset 0 1px 2px #24422d06}.vfi-field input[readonly],.vfi-field textarea[readonly]{background:#e6eee8}.vfi-field textarea{min-height:92px;resize:vertical}.vfi-name{margin-bottom:20px}.vfi-name input{font-weight:600}.vfi-facts{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;padding:20px 0;border-top:1px solid #e5dbce;border-bottom:1px solid #e5dbce}.vfi-fact{min-width:0}.vfi-fact dt{font-size:11px;font-weight:650;color:#8f7a65;margin-bottom:5px}.vfi-fact dd{margin:0;font-size:13px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}.vfi-quick{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.vfi-secondary{background:#fffbf4;border:1px solid #bbd0c2;color:#654d38;border-radius:12px;padding:10px 16px;font-size:13px!important;font-weight:650!important}.vfi-secondary:hover{background:#ddeee2}.vfi-primary{background:linear-gradient(#66c584,#55b172);border:1px solid #53af70;color:#fff;border-radius:13px;padding:11px 19px;font-size:13px!important;font-weight:750!important;box-shadow:inset 0 1px #ffffff40,0 4px 12px #4aa76822}.vfi-primary:hover{filter:brightness(1.04)}
.vfi-children,.vfi-music{margin-top:28px}.vfi-children h3,.vfi-music h3{font-size:16px;letter-spacing:-.025em;margin:0 0 12px}.vfi-child-list{padding:0!important;margin:0!important;list-style:none!important;border:1px solid #ccdcd1;border-radius:16px;overflow:hidden;background:#fffbf5}.vfi-child-list li+li{border-top:1px solid #dce8e0}.vfi-child{width:100%;display:flex;align-items:center;gap:12px;padding:10px 13px;text-align:left;border:0;background:none;color:inherit}.vfi-child:hover{background:#e1f1e6}.vfi-child:focus-visible{outline-offset:-4px}.vfi-mini{height:34px;width:34px;flex:0 0 34px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:#d7f0df;color:#5ab376}.vfi-mini svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.vfi-child-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.vfi-child-size{font-size:11px;color:#8b735d;white-space:nowrap}.vfi-empty,.vfi-loading{font-size:13px;color:#8b735d}.vfi-note{font-size:11px;line-height:1.55;color:#8a7662;margin:7px 0 14px}.vfi-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.vfi-wide{grid-column:1/-1}.vfi-toggle{min-height:44px;display:flex;gap:10px;align-items:center;font-size:13px;font-weight:650;margin:17px 0}.vfi-toggle input{width:19px;height:19px;accent-color:#59b777}.vfi-artwork{margin-top:22px;border:1px solid #c8dace;padding:17px;border-radius:17px;background:#e4efe7}.vfi-artwork h4{font-size:13px;margin:0 0 7px}.vfi-art-name{font-size:12px;overflow-wrap:anywhere;color:#826448;margin:0 0 13px}.vfi-art-controls{display:flex;gap:8px;flex-wrap:wrap}.vfi-text-button{border:0;background:none;color:#4c845e;padding:8px 12px;font-size:12px!important}.vfi-art-picker{width:100%;font-size:12px}.vfi-art-picker>summary{min-height:44px;cursor:pointer;display:flex;align-items:center;font-weight:650;color:#466c52}.vfi-art-picker input{margin-bottom:9px}.vfi-art-results{display:grid;gap:4px}.vfi-art-choice{border:0;background:#fffcf5;text-align:left;padding:9px 12px;border-radius:9px;color:#654c36;font-size:12px!important;overflow-wrap:anywhere}
.vfi-footer{display:flex;align-items:center;gap:16px;padding:15px 24px;background:#f4f9f6;border-top:1px solid #e5dbce;flex-shrink:0}.vfi-status{font-size:12px;color:#88715a;line-height:1.4;margin:0;flex:1;min-width:0}.vfi-status.is-error{color:#ab3f2d}.vfi-footer .vfi-primary{flex-shrink:0}
@media(max-width:650px){.vfi-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.vfi-header{padding:10px 13px}.vfi-body{padding:20px}.vfi-badge{width:72px;height:72px;flex-basis:72px;border-radius:19px}.vfi-badge svg{width:40px;height:40px}.vfi-hero{gap:13px}.vfi-facts{gap:15px}.vfi-footer{padding:13px 18px}}
@media(max-width:390px){.vfi-body{padding:17px 15px}.vfi-fields{grid-template-columns:1fr}.vfi-facts{grid-template-columns:1fr}.vfi-hero h3{font-size:18px}.vfi-badge{width:62px;height:62px;flex-basis:62px}.vfi-menu>summary{width:40px;height:40px}.vfi-footer{gap:10px}.vfi-footer .vfi-primary{padding:10px 13px}.vfi-child{gap:8px;padding:9px}.vfi-child-size{font-size:10px}}
@media(prefers-reduced-motion:reduce){.vfi-dialog *{scroll-behavior:auto!important;transition:none!important}}
