/* Formulir Kegiatan — tampilan publik (.fx-*) dan pembuat formulir admin (.fb-*). */
.fx-page{--fx-r:14px;--fx-gap:14px;--fx-fs:15px;--fx-line:#e2e9e4;--fx-ink:#1d2b24;--fx-muted:#66766d;container-type:inline-size;background:var(--fx-bgc,#f3f7f4);padding:26px 0 56px;color:var(--fx-ink);font-size:var(--fx-fs);line-height:1.55}
.fx-r-square{--fx-r:6px}.fx-r-round{--fx-r:24px}.fx-f-large{--fx-fs:17px}
.fx-bg-plain{background:#f5f7f6}
.fx-bg-soft{background:#f2f7f3;background:color-mix(in srgb,var(--fx-theme) 8%,#f8faf8)}
.fx-bg-pattern{background-color:#f6f9f7;background-color:color-mix(in srgb,var(--fx-theme) 5%,#fbfcfb);background-image:radial-gradient(color-mix(in srgb,var(--fx-theme) 22%,transparent) 1.1px,transparent 1.6px);background-size:22px 22px}
.fx-bg-color{background:var(--fx-bgc)}
.fx-wrap{width:min(760px,calc(100% - 28px));margin-inline:auto;display:grid;gap:var(--fx-gap)}
.fx-w-narrow .fx-wrap{width:min(640px,calc(100% - 28px))}.fx-w-wide .fx-wrap{width:min(980px,calc(100% - 28px))}
.fx-h-split .fx-wrap{width:min(1180px,calc(100% - 28px))}
.fx-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fx-sr,.fx-opt>input[type=radio],.fx-opt>input[type=checkbox],.fx-scale-opt>input,.fx-stars>input,.fx-file>input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}
.fx-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.fx-card{background:#fff;border:1px solid var(--fx-line);border-radius:var(--fx-r);box-shadow:0 1px 2px #0d1f1608,0 10px 30px -22px #17352c55}
.fx-page a{color:var(--fx-theme)}
/* header */
.fx-cover{overflow:hidden;padding:0}
.fx-cover img{display:block;width:100%;height:230px;object-fit:cover}
.fx-ch-short .fx-cover img{height:150px}.fx-ch-tall .fx-cover img{height:330px}
.fx-head{border-top:9px solid var(--fx-theme);overflow:hidden}
.fx-head-body{padding:24px 28px 26px}
.fx-kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--fx-theme)}
.fx-kicker .fx-icon{width:15px;height:15px}
.fx-title{font:800 clamp(24px,4.4cqi,34px)/1.22 var(--font,system-ui);letter-spacing:-.025em;margin:10px 0 12px;color:inherit;text-wrap:balance}
.fx-desc{color:#3c4c44}.fx-desc p{margin:0 0 10px;line-height:1.75}.fx-desc p:last-child{margin-bottom:0}
.fx-event{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px dashed var(--fx-line);display:grid;gap:9px}
.fx-event li{display:flex;align-items:flex-start;gap:10px;font-weight:650}
.fx-event .fx-icon{color:var(--fx-theme);margin-top:2px}
.fx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.fx-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#eaf3ee;background:color-mix(in srgb,var(--fx-theme) 11%,#fff);color:var(--fx-theme);font-size:12.5px;font-weight:750}
.fx-chip .fx-icon{width:15px;height:15px}
.fx-chip-preview{background:#fff3cd;color:#7a5600}
/* split header */
.fx-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:22px;align-items:start}
.fx-main{display:grid;gap:var(--fx-gap);min-width:0}
.fx-side{position:sticky;top:18px;display:flex;flex-direction:column;border-radius:var(--fx-r);overflow:hidden;background:var(--fx-theme);color:var(--fx-on-theme);box-shadow:0 20px 40px -26px #0b241866}
.fx-side-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.fx-side-body{padding:26px 26px 30px}
.fx-side .fx-kicker,.fx-side .fx-event .fx-icon{color:inherit;opacity:.88}
.fx-side .fx-desc{color:inherit;opacity:.93}
.fx-side .fx-event{border-top-color:color-mix(in srgb,currentColor 30%,transparent)}
.fx-side .fx-chip{background:color-mix(in srgb,currentColor 16%,transparent);color:inherit}
.fx-side a{color:inherit;text-decoration:underline}
/* steps, sections, fields */
.fx-form{display:grid;gap:var(--fx-gap);margin:0}
.fx-steps,.fx-step{display:grid;gap:var(--fx-gap);min-width:0}
.fx-section-head{padding:20px 24px;border-top:6px solid var(--fx-theme)}
.fx-section-head h2{font-size:1.28em;line-height:1.3;margin:0 0 6px;letter-spacing:-.01em}
.fx-section-head p{margin:0;color:var(--fx-muted)}
.fx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--fx-gap)}
.fx-item{grid-column:1/-1;min-width:0;margin:0}
.fx-q.fx-half{grid-column:span 1}
fieldset.fx-q{border:0;padding:0}
.fx-style-cards .fx-item{background:#fff;border:1px solid var(--fx-line);border-radius:var(--fx-r);padding:20px 22px;transition:border-color .18s,box-shadow .18s}
.fx-style-cards fieldset.fx-q{border:1px solid var(--fx-line);padding:20px 22px}
.fx-style-cards .fx-q:focus-within{border-color:color-mix(in srgb,var(--fx-theme) 55%,#fff);box-shadow:inset 4px 0 0 var(--fx-theme),0 10px 26px -20px #17352c66}
.fx-style-panel .fx-step{background:#fff;border:1px solid var(--fx-line);border-radius:var(--fx-r);padding:4px 26px 8px;gap:0}
.fx-style-panel .fx-section-head{border:0;border-bottom:1px solid var(--fx-line);border-radius:0;box-shadow:none;padding:20px 0 16px;margin:0}
.fx-style-panel .fx-grid{gap:0 18px}
.fx-style-panel .fx-item{padding:18px 0;border-bottom:1px solid #edf2ee}
.fx-style-panel .fx-grid>.fx-item:last-child{border-bottom:0}
legend.fx-label{float:left}
legend.fx-label+*{clear:both}
.fx-label{display:block;width:100%;padding:0;margin:0 0 8px;font-weight:750;font-size:1em;line-height:1.45;color:inherit}
.fx-num{color:var(--fx-theme);font-weight:800}
.fx-req{color:#c2352b;margin-left:4px;font-weight:800}
.fx-help{color:var(--fx-muted);font-size:.9em;margin:-3px 0 10px}.fx-help p{margin:0 0 4px}
.fx-input{display:block;width:100%;font:inherit;font-size:1em;color:inherit;padding:12px 14px;min-height:48px;border:1.5px solid #d5dfd8;border-radius:calc(var(--fx-r)*.62);background:#fbfcfb;transition:border-color .15s,box-shadow .15s,background .15s}
.fx-input:hover{border-color:#bfccc4}
.fx-input:focus{outline:none;border-color:var(--fx-theme);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--fx-theme) 18%,transparent)}
.fx-input::placeholder{color:#9aa79f}
.fx-short{max-width:300px}
select.fx-input{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#5d6d64 50%),linear-gradient(135deg,#5d6d64 50%,transparent 50%);background-position:calc(100% - 20px) 21px,calc(100% - 14px) 21px;background-size:6px 6px;background-repeat:no-repeat;padding-right:40px}
textarea.fx-input{min-height:118px;resize:vertical;line-height:1.6}
.fx-counter{display:block;text-align:right;color:#8b988f;font-size:12px;margin-top:5px}
.fx-hint{display:block;color:var(--fx-muted);font-size:12.5px;margin-top:8px}
.fx-options{display:grid;gap:8px}
.fx-opt{position:relative;display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border:1.5px solid #e0e8e3;border-radius:calc(var(--fx-r)*.62);background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.fx-opt:hover{border-color:color-mix(in srgb,var(--fx-theme) 40%,#e0e8e3)}
.fx-mark{width:21px;height:21px;flex:none;border:2px solid #aebdb4;border-radius:50%;display:grid;place-items:center;background:#fff;transition:all .15s}
.fx-mark::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--fx-on-theme);transform:scale(0);transition:transform .15s}
.fx-opt input[type=checkbox]+.fx-mark{border-radius:6px}
.fx-opt input[type=checkbox]+.fx-mark::after{width:10px;height:6px;border-radius:0;background:none;border:solid var(--fx-on-theme);border-width:0 0 2.5px 2.5px;transform:rotate(-45deg) scale(0);margin-top:-3px}
.fx-opt input:checked+.fx-mark{border-color:var(--fx-theme);background:var(--fx-theme)}
.fx-opt input:checked+.fx-mark::after{transform:scale(1)}
.fx-opt input[type=checkbox]:checked+.fx-mark::after{transform:rotate(-45deg) scale(1)}
.fx-opt input:focus-visible+.fx-mark{outline:3px solid color-mix(in srgb,var(--fx-theme) 45%,transparent);outline-offset:2px}
.fx-opt:has(input:checked){border-color:var(--fx-theme);background:#f4faf6;background:color-mix(in srgb,var(--fx-theme) 6%,#fff)}
.fx-opt input:disabled~span{opacity:.5}
.fx-opt-other{flex-wrap:wrap}
.fx-opt-other .fx-other-text{flex:1;min-width:150px;min-height:40px;padding:8px 11px}
.fx-consent{align-items:flex-start;padding:14px 16px}
.fx-consent .fx-mark{margin-top:1px}
.fx-scale{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap}
.fx-scale-label{font-size:13px;color:var(--fx-muted);font-weight:650}
.fx-scale-row{display:flex;gap:7px;flex-wrap:wrap}
.fx-scale-opt{position:relative;cursor:pointer}
.fx-scale-opt span{display:grid;place-items:center;width:46px;height:46px;border:1.5px solid #d5dfd8;border-radius:50%;font-weight:800;background:#fff;transition:all .15s}
.fx-scale-opt:hover span{border-color:var(--fx-theme)}
.fx-scale-opt input:checked+span{background:var(--fx-theme);border-color:var(--fx-theme);color:var(--fx-on-theme);transform:scale(1.06)}
.fx-scale-opt input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--fx-theme) 45%,transparent);outline-offset:2px}
.fx-stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.fx-stars label{cursor:pointer;font-size:36px;line-height:1;color:#d3dbd6;padding:2px 3px;transition:color .12s,transform .12s}
.fx-stars input:checked~label,.fx-stars label:hover,.fx-stars label:hover~label{color:#f3b01b}
.fx-stars label:hover{transform:scale(1.1)}
.fx-stars input:focus-visible+label{outline:3px solid color-mix(in srgb,var(--fx-theme) 45%,transparent);border-radius:6px}
.fx-file{position:relative;display:block;cursor:pointer}
.fx-file-ui{display:flex;align-items:center;gap:14px;padding:18px;border:2px dashed #c9d6ce;border-radius:calc(var(--fx-r)*.62);background:#fbfcfb;transition:all .15s}
.fx-file-ui .fx-icon{width:30px;height:30px;color:var(--fx-theme)}
.fx-file-ui strong{display:block;word-break:break-all}.fx-file-ui small{color:var(--fx-muted);font-size:12.5px}
.fx-file:hover .fx-file-ui,.fx-file input:focus-visible+.fx-file-ui{border-color:var(--fx-theme);background:#fff}
.fx-file.has-file .fx-file-ui{border-style:solid;border-color:var(--fx-theme);background:color-mix(in srgb,var(--fx-theme) 5%,#fff)}
.fx-err{color:#b3261e;font-size:13px;font-weight:650;margin:8px 0 0}
.fx-err:empty{display:none}
.fx-has-error .fx-input,.fx-has-error .fx-file-ui{border-color:#d9534f}
.fx-style-cards .fx-has-error,.fx-style-cards fieldset.fx-has-error{border-color:#efb3ab;box-shadow:inset 4px 0 0 #d9534f}
.fx-text h3{font-size:1.08em;margin:0 0 6px}.fx-text p{margin:0 0 8px;color:#3c4c44}.fx-text p:last-child{margin:0}
.fx-figure{padding:0!important;overflow:hidden}
.fx-figure img{display:block;width:100%;max-height:520px;object-fit:cover}
.fx-figure figcaption{padding:12px 18px;color:var(--fx-muted);font-size:13px}
.fx-style-panel .fx-figure img{border-radius:calc(var(--fx-r)*.6)}
.fx-empty-step{color:var(--fx-muted);font-style:italic;margin:0;padding:10px 0}
/* actions */
.fx-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
.fx-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:12px 24px;border:0;border-radius:calc(var(--fx-r)*.7);background:var(--fx-theme);color:var(--fx-on-theme)!important;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 10px 22px -14px var(--fx-theme);transition:transform .15s,filter .15s}
.fx-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.fx-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--fx-theme) 45%,transparent);outline-offset:2px}
.fx-btn:disabled{opacity:.6;cursor:progress;transform:none}
.fx-btn-ghost{background:#fff;color:var(--fx-theme)!important;border:1.5px solid color-mix(in srgb,var(--fx-theme) 35%,#fff);box-shadow:none}
.fx-btn[hidden]{display:none}
.fx-req-note{margin-left:auto;color:var(--fx-muted);font-size:13px}
.fx-privacy{display:flex;align-items:flex-start;gap:8px;color:var(--fx-muted);font-size:12.5px;line-height:1.6;margin:2px 2px 0}
.fx-privacy .fx-icon{width:15px;height:15px;margin-top:2px}
.fx-alert{padding:13px 16px;border-radius:calc(var(--fx-r)*.62);background:#fff2f0;color:#9b2c1f;border:1px solid #f3c6bf;font-weight:650}
.fx-alert[hidden]{display:none}
.fx-progress{display:grid;gap:7px}
.fx-progress-track{height:8px;border-radius:99px;background:#dde6e0;background:color-mix(in srgb,var(--fx-theme) 14%,#e5ebe7);overflow:hidden}
.fx-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--fx-theme);transition:width .35s ease}
.fx-progress small{color:var(--fx-muted);font-weight:700;font-size:12.5px}
.fx-js .fx-form[data-paging=steps] .fx-step:not(.is-active){display:none}
.fx-js .fx-form[data-paging=steps] .fx-step.is-active{animation:fx-in .3s ease}
@keyframes fx-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* states */
.fx-success,.fx-closed{padding:36px 28px;text-align:center;display:grid;justify-items:center;gap:6px}
.fx-success h2,.fx-closed h2{font-size:1.45em;margin:4px 0;letter-spacing:-.01em}
.fx-success p,.fx-closed p{margin:0;color:#46564d;max-width:560px}
.fx-state-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;margin-bottom:8px;background:color-mix(in srgb,var(--fx-theme) 12%,#fff);color:var(--fx-theme)}
.fx-state-icon .fx-icon{width:30px;height:30px}
.fx-state-icon.fx-ok{background:var(--fx-theme);color:var(--fx-on-theme);animation:fx-pop .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes fx-pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.fx-receipt{display:grid;gap:2px;margin:16px 0 4px;padding:14px 26px;border:2px dashed color-mix(in srgb,var(--fx-theme) 50%,#fff);border-radius:var(--fx-r);background:color-mix(in srgb,var(--fx-theme) 5%,#fff)}
.fx-receipt small{color:var(--fx-muted);font-size:12px}
.fx-receipt strong{font-size:1.75em;letter-spacing:.08em;color:var(--fx-theme);font-variant-numeric:tabular-nums}
.fx-summary{width:100%;max-width:560px;text-align:left;margin:12px 0 4px;border:1px solid var(--fx-line);border-radius:calc(var(--fx-r)*.62);padding:12px 16px;background:#fbfcfb}
.fx-summary summary{cursor:pointer;font-weight:750}
.fx-summary dl{margin:8px 0 0}
.fx-summary dt{font-weight:700;margin-top:10px;font-size:.92em}
.fx-summary dd{margin:2px 0 0;color:#435249;white-space:pre-wrap;word-break:break-word}
.fx-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
/* page chrome */
.fx-main-site{display:block}
.fx-main-focus{display:block;min-height:70vh}
.fx-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(16px,calc((100% - 1000px)/2));background:#fff;border-bottom:1px solid #e6ece8}
.fx-brand{display:flex;align-items:center;gap:10px;font-weight:800;color:#183d2b;text-decoration:none}
.fx-brand img{height:36px;width:auto}
.fx-toplink{font-size:13px;font-weight:700;color:#146443}
.fx-mini-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;padding:22px 16px 30px;color:#6b7a72;font-size:13px}
.fx-mini-footer a{color:inherit}
/* public list */
.fx-list-page{padding:6px 0 50px}
.fx-list-page .breadcrumb{display:flex;gap:8px;align-items:center}
.fx-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.fx-list-card{display:grid;grid-template-rows:auto 1fr;background:#fff;border:1px solid #e3e9e4;border-radius:18px;overflow:hidden;color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
.fx-list-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -26px #17352c80}
.fx-list-card img,.fx-list-art{display:block;width:100%;aspect-ratio:16/7;object-fit:cover}
.fx-list-art{display:grid;place-items:center;background:color-mix(in srgb,var(--fx-theme) 13%,#fff);color:var(--fx-theme)}
.fx-list-art .fx-icon{width:44px;height:44px;stroke-width:1.6}
.fx-list-card>div{display:grid;gap:8px;align-content:start;padding:18px 20px 20px}
.fx-list-card h3{font-size:18px;line-height:1.35;margin:0}
.fx-list-card p{margin:0;color:#617168;font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fx-list-card ul{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:6px;font-size:13px;color:#46564d}
.fx-list-card li{display:flex;align-items:center;gap:8px}
.fx-list-card li .fx-icon{width:15px;height:15px;color:var(--fx-theme)}
.fx-list-cta{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:var(--fx-theme);font-weight:800;font-size:14px}
.fx-list-state{justify-self:start;padding:4px 10px;border-radius:99px;font-size:11px;font-weight:800;letter-spacing:.03em;background:#e5f3ea;color:#146443}
.fx-state-scheduled{background:#fff4d6;color:#7d5a00}.fx-state-full{background:#eef0ef;color:#5f6763}
.home-forms .fx-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
@container (max-width:860px){
 .fx-split{grid-template-columns:1fr}
 .fx-side{position:static}
 .fx-side-img{aspect-ratio:16/7}
}
@container (max-width:600px){
 .fx-q.fx-half{grid-column:1/-1}
 .fx-head-body{padding:20px 18px 22px}
 .fx-style-cards .fx-item,.fx-style-cards fieldset.fx-q{padding:17px 16px}
 .fx-style-panel .fx-step{padding:2px 16px 6px}
 .fx-section-head{padding:18px}
 .fx-cover img{height:170px}.fx-ch-short .fx-cover img{height:120px}.fx-ch-tall .fx-cover img{height:230px}
 .fx-actions .fx-btn{flex:1 1 auto}
 .fx-req-note{flex-basis:100%;margin:0;order:5}
 .fx-scale-opt span{width:40px;height:40px}
 .fx-stars label{font-size:32px}
 .fx-success,.fx-closed{padding:28px 18px}
}
@supports not (container-type:inline-size){
 @media(max-width:860px){.fx-split{grid-template-columns:1fr}.fx-side{position:static}}
 @media(max-width:600px){.fx-q.fx-half{grid-column:1/-1}.fx-head-body{padding:20px 18px}}
}
@media(prefers-reduced-motion:reduce){.fx-page *{animation:none!important;transition:none!important}}
@media print{.fx-topbar,.fx-actions,.fx-mini-footer,.fx-privacy{display:none}.fx-page{background:#fff}}

/* ===================== Pembuat formulir (admin) ===================== */
.fb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.fb-card{display:grid;grid-template-rows:auto 1fr auto;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 5px 20px #1f325105}
.fb-card-band{height:66px;background:var(--fx-theme,#146443);background-size:cover;background-position:center;position:relative}
.fb-card-band .pill{position:absolute;left:14px;bottom:-10px;box-shadow:0 2px 8px #0002;background:#fff}
.fb-card-body{padding:20px 18px 12px;display:grid;gap:6px;align-content:start}
.fb-card-body h3{font-size:14px;line-height:1.4;letter-spacing:-.2px}
.fb-card-body p{font-size:10px;color:var(--muted);line-height:1.7}
.fb-card-stats{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:10px;color:#5d6b84;margin-top:4px}
.fb-card-stats span{display:inline-flex;align-items:center;gap:5px}
.fb-card-stats .icon{width:13px;height:13px}
.fb-card-actions{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px 14px;border-top:1px solid #eef1f7}
.fb-card-actions .btn{min-height:32px;padding:6px 10px;font-size:9.5px;gap:5px}
.fb-card-actions .btn .icon{width:13px;height:13px}
.fb-card-actions .fb-push{margin-left:auto}
.pill.blue{background:#eef0ff;color:#4d58ef}
.fb-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.fb-head-title{display:flex;align-items:center;gap:12px;min-width:0}
.fb-head-title h1{font-size:20px;letter-spacing:-.6px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(52vw,560px)}
.fb-back{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff;border:1px solid var(--line);color:#5d6b84;flex:none}
.fb-head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fb-head-actions .btn{font-size:10px;min-height:38px;padding:8px 13px}
.fb-save-state{font-size:9.5px;color:var(--muted)}
.fb-save-state.dirty{color:#b7791f;font-weight:700}
.fb-tabs{display:flex;gap:4px;padding:4px;background:#eef1f7;border-radius:11px;margin-bottom:16px;overflow-x:auto;scrollbar-width:none}
.fb-tabs button{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:8px;font-size:11px;font-weight:700;color:#5d6b84;white-space:nowrap}
.fb-tabs button .icon{width:14px;height:14px}
.fb-tabs button[aria-selected=true]{background:#fff;color:#1e2b45;box-shadow:0 2px 8px #1f32510f}
.fb-tabs .fb-tab-preview{display:none}
.fb-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:20px;align-items:start}
.fb-pane{display:grid;gap:14px;min-width:0}
.fb-pane[hidden]{display:none}
.fb-section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;display:grid;gap:15px}
.fb-section h2{font-size:13px;letter-spacing:-.2px;display:flex;align-items:center;gap:8px}
.fb-section h2 .icon{width:16px;height:16px;color:var(--blue)}
.fb-section>p.fb-note{font-size:10px;color:var(--muted);line-height:1.7;margin-top:-8px}
.fb-title-input{font-size:19px!important;font-weight:800;letter-spacing:-.4px;border:0!important;border-bottom:2px solid #e3e8f2!important;border-radius:0!important;padding:8px 2px!important;background:none!important}
.fb-title-input:focus{outline:none;border-bottom-color:var(--blue)!important}
.fb-qlist{display:grid;gap:9px}
.fb-q{background:#fff;border:1px solid #e1e6f0;border-radius:12px;transition:border-color .15s,box-shadow .15s}
.fb-q.is-open{border-color:#b9c0fb;box-shadow:0 10px 28px -18px #4d58ef66,inset 4px 0 0 var(--blue)}
.fb-q.is-section{background:#f6f8ff;border-style:dashed}
.fb-q-head{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;cursor:pointer;min-height:54px}
.fb-type-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eef0ff;color:var(--blue);flex:none}
.fb-type-icon .icon{width:16px;height:16px}
.is-section .fb-type-icon{background:#4d58ef;color:#fff}
.fb-q-text{flex:1;min-width:0;display:grid;gap:2px}
.fb-q-text strong{font-size:11.5px;color:#25324b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-q-text strong.is-empty{color:#a1abc0;font-style:italic;font-weight:600}
.fb-q-text small{font-size:9px;color:#8b96ad}
.fb-q-tools{display:flex;gap:3px;flex:none}
.fb-q-tools button{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;color:#7d8aa5}
.fb-q-tools button:hover{background:#f1f3fa;color:#25324b}
.fb-q-tools button.danger:hover{background:#fff0f1;color:#c23b4b}
.fb-q-tools .icon{width:14px;height:14px}
.fb-q-body{display:grid;gap:13px;padding:6px 16px 16px;border-top:1px solid #eef1f7}
.fb-q-body[hidden]{display:none}
.fb-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fb-row-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fb-switches{display:flex;flex-wrap:wrap;gap:8px 18px}
.fb-switch{display:inline-flex;align-items:center;gap:9px;font-size:10.5px;color:#4a5874;cursor:pointer;user-select:none}
.fb-switch input{appearance:none;width:34px;height:20px;border-radius:99px;background:#d6dbe7;position:relative;cursor:pointer;transition:background .2s;flex:none;padding:0;border:0;min-height:0}
.fb-switch input::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}
.fb-switch input:checked{background:var(--blue)}
.fb-switch input:checked::after{transform:translateX(14px)}
.fb-switch input:focus-visible{outline:3px solid #4d58ef55;outline-offset:2px}
.fb-add{display:grid;gap:10px}
.fb-add-bar{display:flex;flex-wrap:wrap;gap:8px}
.fb-add-bar .btn{font-size:10px;min-height:38px}
.fb-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:7px;padding:12px;border:1px dashed #c8cff0;border-radius:12px;background:#fafbff}
.fb-types[hidden]{display:none}
.fb-types h4{grid-column:1/-1;font-size:8.5px;letter-spacing:.8px;text-transform:uppercase;color:#8b96ad;margin-top:4px}
.fb-type{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;background:#fff;border:1px solid #e6eaf3;font-size:10.5px;font-weight:650;color:#34405a;text-align:left}
.fb-type:hover{border-color:var(--blue);color:var(--blue)}
.fb-type .icon{width:15px;height:15px;color:var(--blue)}
.fb-presets{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}
.fb-preset{display:grid;gap:8px;padding:9px;border-radius:12px;border:2px solid #e6eaf3;background:#fff;text-align:left;font-size:10.5px;font-weight:700;color:#34405a;transition:border-color .15s}
.fb-preset:hover,.fb-preset.is-active{border-color:var(--blue)}
.fb-preset-art{height:58px;border-radius:8px;position:relative;overflow:hidden;background:var(--b)}
.fb-preset-art::before{content:"";position:absolute;left:12%;right:12%;top:12px;height:12px;border-radius:4px;background:#fff;box-shadow:inset 0 3px 0 var(--t)}
.fb-preset-art::after{content:"";position:absolute;left:12%;right:30%;top:30px;height:18px;border-radius:4px;background:#ffffffd9}
.fb-preset-art.split::before{left:8px;right:auto;width:36%;top:8px;bottom:8px;height:auto;background:var(--t);box-shadow:none}
.fb-preset-art.split::after{left:46%;right:8px;top:12px}
.fb-swatches{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.fb-swatch{width:26px;height:26px;border-radius:50%;background:var(--c);border:3px solid #fff;box-shadow:0 0 0 1px #d6dbe7;cursor:pointer}
.fb-swatch.is-active{box-shadow:0 0 0 2px var(--blue)}
.fb-color{display:flex;align-items:center;gap:8px}
.fb-color input[type=color]{width:44px;height:38px;padding:3px;border-radius:8px;flex:none}
.fb-choice-group{display:flex;flex-wrap:wrap;gap:6px}
.fb-choice-group label{position:relative}
.fb-choice-group input{position:absolute;opacity:0;pointer-events:none}
.fb-choice-group span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;border:1px solid #dde2ee;background:#fff;font-size:10.5px;font-weight:650;color:#4a5874;cursor:pointer}
.fb-choice-group input:checked+span{border-color:var(--blue);background:#eef0ff;color:#3540c9}
.fb-choice-group input:focus-visible+span{outline:2px solid #4d58ef66;outline-offset:2px}
.fb-cover{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center}
.fb-cover img{width:120px;height:68px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:#f3f5f9}
.fb-preview{position:sticky;top:14px;display:grid;gap:10px}
.fb-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fb-preview-bar strong{font-size:11px;display:flex;align-items:center;gap:6px}
.fb-preview-bar .icon{width:14px;height:14px}
.fb-device{display:flex;gap:3px;padding:3px;background:#eef1f7;border-radius:8px}
.fb-device button{display:grid;place-items:center;width:30px;height:26px;border-radius:6px;color:#7d8aa5}
.fb-device button[aria-pressed=true]{background:#fff;color:#25324b;box-shadow:0 1px 4px #0001}
.fb-device .icon{width:14px;height:14px}
.fb-frame{height:calc(100vh - 150px);min-height:420px;overflow:auto;border:1px solid #dfe4ee;border-radius:14px;background:#fff;box-shadow:0 14px 34px -24px #1f325155}
.fb-frame.is-mobile{width:375px;max-width:100%;justify-self:center;border-width:8px;border-color:#1e2433;border-radius:30px}
.fb-frame .fx-page{min-height:100%;padding-top:14px}
.fb-frame:not(.is-mobile) .fx-page{zoom:.84}
.fb-preview-note{font-size:9.5px;color:#9a6a00;background:#fff7e0;border-radius:8px;padding:8px 10px}
.fb-preview-note[hidden]{display:none}
.fb-preview-site{display:flex;align-items:center;gap:8px;padding:8px 14px;background:linear-gradient(90deg,var(--emerald,#146443),#1d7a52);color:#fff;font-size:9px;font-weight:700;position:sticky;top:0;z-index:1}
.fb-preview-site i{display:block;width:16px;height:16px;border-radius:50%;background:#ffffff40}
.fb-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fb-link{display:flex;align-items:stretch;border:1px solid #e0e6ef;border-radius:7px;overflow:hidden;background:#fff}
.fb-link span{display:flex;align-items:center;padding:0 10px;background:#f4f6fb;color:#7d8aa5;font-size:10px;white-space:nowrap;max-width:48%;overflow:hidden;text-overflow:ellipsis}
.fb-link input{border:0!important;border-radius:0!important;min-width:0;flex:1}
.fb-templates{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.fb-template{display:grid;gap:7px;align-content:start;padding:16px;border:1.5px solid #e2e7f1;border-radius:12px;background:#fff;text-align:left;transition:border-color .15s,transform .15s}
.fb-template:hover{border-color:var(--blue);transform:translateY(-2px)}
.fb-template .fb-type-icon{width:38px;height:38px;border-radius:11px}
.fb-template strong{font-size:12px;color:#25324b}
.fb-template small{font-size:9.5px;color:#7d8aa5;line-height:1.6}
.fb-resp-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.fb-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:16px}
.fb-kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.fb-kpi small{font-size:9px;color:var(--muted);display:block}
.fb-kpi strong{font-size:22px;letter-spacing:-.6px}
.fb-summary{display:grid;gap:12px}
.fb-sq{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;display:grid;gap:10px}
.fb-sq h3{font-size:12px;line-height:1.5}
.fb-sq small{font-size:9.5px;color:var(--muted)}
.fb-bars{display:grid;gap:8px}
.fb-bar{display:grid;grid-template-columns:minmax(80px,32%) minmax(0,1fr) 64px;gap:10px;align-items:center;font-size:10.5px;color:#3d4a63}
.fb-bar>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fb-bar-track{height:12px;border-radius:99px;background:#eef1f7;overflow:hidden}
.fb-bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4d58ef,#7b84f6)}
.fb-bar b{text-align:right;font-variant-numeric:tabular-nums}
.fb-samples{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.fb-samples li{font-size:10.5px;padding:8px 11px;background:#f7f8fb;border-radius:8px;color:#3d4a63;white-space:pre-wrap;word-break:break-word}
.fb-answer-list{display:grid;gap:12px}
.fb-answer-list dt{font-size:9.5px;font-weight:700;color:#7d8aa5;text-transform:uppercase;letter-spacing:.4px}
.fb-answer-list dd{margin:3px 0 0;font-size:12px;color:#25324b;white-space:pre-wrap;word-break:break-word}
.fb-confirm-input{margin-top:12px}
.data-table td.fb-cell{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){
 .fb-layout{grid-template-columns:1fr}
 .fb-tabs .fb-tab-preview{display:inline-flex}
 .fb-layout:not(.show-preview) .fb-preview{display:none}
 .fb-layout.show-preview .fb-pane{display:none}
 .fb-preview{position:static}
 .fb-frame{height:auto;min-height:0;max-height:none;overflow:visible}
}
@media(max-width:700px){
 .fb-row,.fb-row-3,.fb-dates{grid-template-columns:1fr}
 .fb-head-title h1{font-size:17px;max-width:60vw}
 .fb-head-actions{width:100%}
 .fb-head-actions .btn{flex:1}
 .fb-section{padding:15px}
 .fb-q-tools button.fb-hide-sm{display:none}
 .fb-cover{grid-template-columns:1fr}
 .fb-bar{grid-template-columns:1fr 60px;grid-template-areas:"l b" "t t"}
 .fb-bar>span:first-child{grid-area:l}.fb-bar b{grid-area:b}.fb-bar-track{grid-area:t}
}
/* perbaikan 1.3.0: foto potret pada artikel tidak memanjang berlebihan */
.article-main .article-cover,.reader-layout .article-cover{max-height:min(78vh,720px);object-fit:contain;background:#eef3ef}
.table-title-link{display:block;text-align:left;font:inherit;color:inherit;padding:0;background:none;border:0;cursor:pointer}
.table-title-link:hover .table-title{color:var(--blue);text-decoration:underline}
@media(max-width:700px){
 .admin-content .data-table th:last-child,.admin-content .data-table td:last-child{position:sticky;right:0;background:#fff;box-shadow:-10px 0 12px -12px #1f325140}
 .admin-content .data-table thead th:last-child{background:#fafbfe}
}

/* Smart Update 1.3.0: pemeriksaan server & migrasi */
.update-checks{list-style:none;margin:14px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.update-checks li{display:grid;grid-template-columns:22px 1fr;gap:2px 8px;align-items:center;padding:10px 12px;border-radius:9px;background:#f3f9f5;border:1px solid #d9eee0;font-size:10.5px}
.update-checks li.bad{background:#fff3f3;border-color:#f6d0d4}
.update-checks span{grid-row:span 2;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#146443;color:#fff;font-size:11px;font-weight:800}
.update-checks li.bad span{background:#c23b4b}
.update-checks small{color:#6d7b91;font-size:9.5px}
.update-migrations{margin:10px 0;padding-left:18px;display:grid;gap:6px;font-size:10.5px}
