/* Shared GARPU interaction system. Brand remains red, white and gold. */
:root{--ux-ink:#29232a;--ux-muted:#65565b;--ux-red:#b70720;--ux-gold:#805b17;--ux-line:#e7d9ce;--ux-surface:#fff;--ux-canvas:#fffaf6;--ux-radius:12px}
body.ux-ready{color:var(--ux-ink)}
.ux-ready :is(input,select,textarea,button){font-family:inherit}
.ux-ready :is(button,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:44px;box-sizing:border-box}
.ux-ready :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #29232a;outline-offset:3px;box-shadow:0 0 0 5px #fff}
.ux-ready :is(.hint,.caption,.field-help,.registration-note,.summary-footnote){color:var(--ux-muted)}
.ux-ready :is(button,a,summary){touch-action:manipulation}
.ux-ready [hidden]{display:none!important}
.ux-ready main{min-width:0}
.ux-skip{position:fixed;top:8px;left:8px;z-index:10000;transform:translateY(-160%);background:#fff;color:#a9071b;padding:12px 20px;border:2px solid #805b17;border-radius:8px}
.ux-skip:focus{transform:none}
.ux-ready .ux-password{display:block;position:relative;width:100%;margin-top:6px;min-width:0;box-sizing:border-box}
.ux-ready .ux-password input{display:block;margin:0!important;min-width:0;width:100%!important;box-sizing:border-box;padding-right:58px!important}
.ux-ready .ux-password button{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px!important;height:44px;min-width:44px;min-height:44px;margin:0!important;padding:10px!important;background:transparent!important;color:#815222!important;border:0!important;border-radius:7px;display:grid;place-items:center;box-shadow:none}
.ux-password button svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ux-password button[aria-pressed=true]{color:#a9071b!important}
.ux-ready.portal-visual .login-wrap #login-form{border-top:0!important;padding-top:0}
.ux-ready .login-panel #login-message:empty{display:none}
.ux-ready .login-panel .ux-help-button{width:auto!important;margin:8px 0 14px!important;min-height:44px}
.ux-ready .login-wrap{max-width:560px;box-sizing:border-box;margin:36px auto;padding:20px}
.ux-ready .login-wrap .login-brand{justify-content:center;padding:0;margin-bottom:24px}
.ux-ready .login-panel{margin-top:0;padding:30px}
.ux-dialog{max-width:520px;width:calc(100% - 32px);box-sizing:border-box;border:1px solid #d4aa64;border-radius:16px;padding:28px;color:var(--ux-ink);background:#fffaf6;line-height:1.65}
.ux-dialog::backdrop{background:#26131788}
.ux-dialog h2{font-size:24px;margin-top:0}.ux-dialog a{color:#a9071b}
.ux-help-button{background:transparent!important;color:#a9071b!important;border:0!important;text-decoration:underline;padding:8px 0!important;text-align:left;font-size:14px}
.ux-menu-search{display:block;margin:12px 0 18px;font-size:12px;color:#5f4c50}
.ux-menu-search input{display:block;width:100%;margin-top:6px;border:1px solid #c7b9b4;border-radius:8px;padding:10px 12px;font-size:15px;background:#fff;color:#29232a}
.ux-menu-empty{font-size:13px;padding:12px;color:#65565b}
.ux-ready .shared-admin-nav details{margin-bottom:8px;padding-bottom:6px}
.ux-ready .shared-brand img{border-radius:0;background:transparent;padding:0;object-fit:contain}
.ux-ready .shared-admin-nav summary{min-height:48px;box-sizing:border-box;display:flex;align-items:center;gap:4px}
.ux-ready .shared-admin-nav details a{font-size:14px;min-height:44px;line-height:1.4}
.ux-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 24px}
.ux-quick-actions a{padding:11px 16px;border:1px solid #d4b779;border-radius:8px;background:#fff;color:#a9071b;text-decoration:none;font-weight:600;min-height:44px;box-sizing:border-box}
.ux-checklist{border:1px solid var(--ux-line);border-left:4px solid #c89539;padding:20px;border-radius:12px;background:#fff;margin:20px 0}
.ux-checklist h2{font-size:20px;margin:0 0 8px}.ux-checklist li{margin:10px 0}.ux-checklist a{color:#a9071b}
.ux-checklist p{color:var(--ux-muted);font-size:14px}
.ux-ready .public-page-intro{padding:36px 6% 28px;background:#fff8ee;border-bottom:1px solid var(--ux-line)}
.ux-ready .public-page-intro h1{font-size:clamp(28px,4vw,48px);margin:20px 0 12px;line-height:1.15;color:#a9071b;letter-spacing:-1px}
.ux-ready[data-public-page="/media-kegiatan"] .media-heading{display:none}
.ux-ready[data-public-page="/media-kegiatan"] .media-showcase{padding-top:24px}
.ux-ready .site-header nav :is(a,summary){min-height:44px;box-sizing:border-box}
.public-page-intro p{max-width:700px;line-height:1.7}.public-page-intro a{color:#a9071b}
body.garpu-home.ux-ready main>.section,body.garpu-home.ux-ready main>.join{min-height:0;padding:48px 6%}
body.garpu-home.ux-ready .about>div:first-child{min-height:0}
body.garpu-home.ux-ready .section-heading{margin-bottom:24px}
.ux-section-more{align-self:flex-start;margin-top:24px}.ux-ready .hero-copy{min-width:0}
.ux-ready .media-visual.is-portrait video{aspect-ratio:auto;width:auto;max-width:100%;height:min(65svh,640px);object-fit:contain}
.ux-ready .media-featured .media-visual.is-portrait{background:#27151b}

.ux-preview-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ux-preview-tools button{border:1px solid #d3b273;border-radius:8px;background:#fff;color:#9e0b20;padding:8px 12px}
.ux-preview-tools button[aria-pressed=true]{background:#a9071b;color:#fff}
.ux-mobile-preview{max-width:390px;margin-inline:auto}
.ux-mobile-preview .preview-visual{min-height:180px}
.ux-ready .media-description p{max-width:65ch}
.ux-ready .media-story-copy p{line-height:1.7}
.ux-ready .media-story.media-text-only{display:block;border-top:3px solid #c89539}
.ux-ready .media-text-only .media-story-copy{padding:28px;overflow:visible}
.ux-ready .media-text-only h3{line-height:1.3;overflow-wrap:anywhere}
.garpu-home.ux-ready .media-story .media-cta{background:#b70720;color:#fff!important;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;line-height:1.5}
.garpu-home.ux-ready .media-featured .media-cta{background:#fff;color:#a9071b!important}
.ux-registration-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;border:1px solid var(--ux-line);padding:14px 18px;background:#fff;border-radius:12px;margin:18px 0}
.ux-registration-tools p{flex:1;min-width:220px;font-size:13px;margin:0;color:var(--ux-muted);line-height:1.5}
.ux-ready .ux-registration-tools button,.ux-ready .ux-wizard-actions button{border:1px solid #c4a76f;background:#fff!important;color:#a9071b!important;padding:10px 18px;border-radius:8px;font-weight:700}
.ux-wizard-actions{display:flex;justify-content:space-between;gap:12px;margin:18px 0 26px;align-items:center}
.ux-ready .ux-wizard-actions button.ux-next{background:#b70720!important;color:#fff!important;border-color:#b70720;margin-left:auto}
.ux-step-status{font-size:14px;font-weight:600;color:#805b17;line-height:1.5}
.ux-draft-note{font-size:14px;color:#65565b;line-height:1.6;margin:10px 0;flex-basis:100%}
.ux-registration-review{padding:20px;margin-bottom:24px;background:#fff8ee;border:1px solid #dcc8a2;border-radius:12px}
.ux-registration-review h3{font-size:20px;margin:0 0 16px;color:#a9071b}.ux-registration-review dl{display:grid;grid-template-columns:130px 1fr;gap:10px;margin:0;font-size:14px;line-height:1.5}.ux-registration-review dt{color:#65565b}.ux-registration-review dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.ux-ready .registration-package .package-bonus{display:none}
.ux-ready .registration-section-heading{padding:20px!important}
.ux-ready .registration-hero{padding-block:28px}
.ux-ready .registration-hero h1{font-size:clamp(28px,3.2vw,44px)}
.ux-ready .registration-steps a{min-height:48px}
.ux-ready .register-steps a{min-height:48px;box-sizing:border-box}
.ux-ready .registration-status .status-fields{display:none}
.ux-ready .registration-status{grid-template-columns:1fr}
.ux-parent-referral{margin:24px 0;border:1px solid var(--ux-line);border-radius:12px;background:#fff;padding:18px}
.ux-parent-referral>summary{cursor:pointer;font-size:17px;font-weight:700;color:#a9071b;padding:8px 0}
.ux-ready #wali-menu{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0;margin:12px 0 20px}
.ux-ready #wali-menu a{padding:10px 14px;border:1px solid var(--ux-line);border-radius:8px;color:#a9071b;background:#fff;text-decoration:none;min-height:44px;box-sizing:border-box}
.ux-ready .branch-workspace main,.ux-ready.branch-workspace main{max-width:1200px;margin:auto;padding:24px}
.ux-ready.branch-workspace>main>header{padding:24px;border-radius:12px;border-bottom:3px solid #c89539;background:#b70720;color:#fff;margin-bottom:18px}
.ux-ready.branch-workspace>main>header h1{color:#fff;font-size:28px}
.ux-ready .branch-workspace input,.ux-ready.branch-workspace input{max-width:100%}
.ux-scroll-hint{font-size:13px;color:#65565b;margin:8px 0}
.ux-studio-menu{display:none}
.ux-ready .mitra-message.error,.ux-ready .error{color:#a5001a;background:#fff0f1;border-color:#d48491}
@media(max-width:1024px){
 .ux-ready.has-mobile-drawer header #logout,.ux-ready.has-mobile-drawer .ux-original-logout{display:none!important}
 .ux-ready.has-mobile-drawer .mobile-portal-bar{min-height:64px;box-sizing:border-box;align-items:center;border-bottom:1px solid #c89539;background:#fff;color:#a9071b;z-index:120}
 .ux-ready.has-mobile-drawer .mobile-portal-bar button{font-size:14px;min-height:44px}
 .ux-ready.has-mobile-drawer .mobile-portal-brand img{object-fit:contain}
 .ux-ready.has-mobile-drawer .content{padding:20px 16px!important}
 .ux-ready.has-mobile-drawer main>header,.ux-ready.has-mobile-drawer main>.content>header{position:static!important;top:auto!important;padding:10px 16px!important;gap:12px;flex-wrap:nowrap!important;background:#fff!important;color:#65565b!important;border-bottom:1px solid #e7d9ce!important;min-height:0!important}
 .ux-ready.has-mobile-drawer main>header .account-controls{min-width:0;display:block}
 .ux-ready.has-mobile-drawer main>header .account-controls span{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#65565b!important}
 .ux-ready.has-mobile-drawer main>header #identity{max-width:100%;font-size:13px;white-space:normal}
}
@media(max-width:650px){
 .ux-ready{font-size:16px}
 .ux-ready input:not([type=radio]):not([type=checkbox]),.ux-ready select,.ux-ready textarea{font-size:16px!important;max-width:100%}
 .ux-ready :is(.op-stats,#stats,.stats){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .ux-ready .stat{min-width:0!important;padding:16px!important;overflow-wrap:anywhere}
 .ux-ready .op-stat{min-height:132px!important}.ux-ready .op-stat>span:not(.metric-icon){font-size:14px;line-height:1.5}
 .ux-ready .op-stat strong{font-size:24px!important}.ux-ready .op-stat small{display:none}
 .ux-ready .op-banner{padding:22px!important;gap:16px;align-items:flex-start}.ux-ready .op-banner h2{font-size:26px!important;line-height:1.2}
 .ux-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .ux-quick-actions a{font-size:14px;padding:12px;line-height:1.4}
 .ux-ready :is(.heading,.editor-head){gap:12px;flex-wrap:wrap}
 .ux-ready .heading h1{font-size:28px;line-height:1.2}
 .ux-ready .ux-mobile-cards{display:block;min-width:0!important;border:0;background:transparent}
 .ux-ready .ux-mobile-cards thead{display:none}
 .ux-ready .ux-mobile-cards tbody{display:grid;gap:12px}
 .ux-ready .ux-mobile-cards tr{display:block;padding:16px;background:#fff;border:1px solid var(--ux-line);border-radius:12px}
 .ux-ready .ux-mobile-cards td{display:block!important;width:auto!important;min-width:0!important;border:0!important;padding:7px 0!important;white-space:normal!important}
 .ux-ready .ux-mobile-cards td:first-child{display:none!important}
 .ux-ready .ux-mobile-cards td[data-label]::before{content:attr(data-label);display:block;color:#65565b;font-size:12px;margin-bottom:6px}
 .ux-ready .admin-data-sheet:has(.ux-mobile-cards){overflow:visible}
 .ux-ready .registration-hero{padding:24px 18px}.ux-ready .registration-hero h1{font-size:30px}
 .ux-ready .registration-section{padding:18px!important}.ux-ready .registration-section-heading{padding:16px!important}
 .ux-ready .registration-section-heading h2{font-size:24px!important}.ux-ready .register-steps a{padding:10px 6px!important;font-size:12px!important;line-height:1.4}
 .ux-ready .registration-sidebar{display:none}.ux-ready .ux-step-status{display:block;margin:12px 0}
 .ux-ready .registration-upload{min-height:140px}
 .ux-ready .registration-submit-row{display:flex;flex-direction:column;align-items:stretch;gap:16px}
 .ux-ready #submit-registration{width:100%}.ux-registration-tools{padding:14px}.ux-registration-tools button{flex:1}
 .ux-ready #wali-menu{gap:8px}.ux-ready #wali-menu a{flex:1 1 40%;text-align:center;font-size:14px}
 .ux-ready.garpu-parent>header{display:flex;flex-wrap:nowrap;gap:10px;padding:12px 16px;min-height:64px;box-sizing:border-box}
 .ux-ready.garpu-parent>header strong{font-size:13px;line-height:1.4}.ux-ready.garpu-parent>header img{width:32px;height:36px}
 .ux-ready.garpu-parent>header #logout{font-size:13px;padding:10px;min-width:68px}
 .ux-ready .toolbar{flex-wrap:wrap;gap:12px}.ux-ready .toolbar label{min-width:0;flex:1 1 100%}
 .ux-ready .studio-sidebar{display:none!important}
 .ux-ready .studio-shell{margin-left:0!important;min-width:0}
 .ux-ready .studio-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #c89539}
 .ux-ready .studio-header #identity{display:none}
 .ux-ready .studio-shell main{padding:20px 16px}
 .ux-ready .studio-hero{padding:24px!important;flex-wrap:wrap}
 .ux-ready .studio-hero h1{font-size:30px!important}
 .ux-ready .library-grid,.ux-ready .field-grid{grid-template-columns:1fr}
 .ux-ready .studio-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ux-studio-menu{display:block;position:relative}
 .ux-studio-menu>summary{min-height:44px;padding:10px 12px;box-sizing:border-box;cursor:pointer;color:#a9071b;font-weight:700;border:1px solid #d7c299;border-radius:8px}
 .ux-studio-menu nav{position:absolute;top:100%;left:0;min-width:260px;max-height:70svh;overflow:auto;background:#fff;border:1px solid #d7c299;border-radius:12px;padding:12px;box-shadow:0 8px 24px #29121a26}
 .ux-studio-menu nav a{display:block;padding:12px;color:#9e0b20;text-decoration:none;min-height:44px;box-sizing:border-box;font-size:14px}
 body.garpu-home.ux-ready main>.section,body.garpu-home.ux-ready main>.join{padding:32px 6%}
 body.garpu-home.ux-ready .section-heading{padding:20px;margin-bottom:20px}
 body.garpu-home.ux-ready .section h2{font-size:28px;line-height:1.2}
 body.garpu-home.ux-ready .hero h1{font-size:clamp(36px,10.5vw,62px);line-height:1.03;letter-spacing:-1.5px}
 .ux-ready .media-visual .media-autoplay-note{font-size:12px;max-width:calc(100% - 28px)}
 .ux-ready .media-sound-toggle{bottom:62px;right:10px}
 .ux-ready.branch-workspace main{padding:16px}.ux-ready.branch-workspace .actions{gap:8px;flex-wrap:wrap}
 .ux-ready.branch-workspace .actions a{min-height:44px;padding:10px 12px;box-sizing:border-box}
 .ux-ready .mitra-header{flex-wrap:wrap;gap:12px}.ux-ready .mitra-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding-bottom:12px}
 .ux-ready .mitra-tabs a{white-space:normal;min-height:44px;box-sizing:border-box;padding:12px;border:1px solid #e7d9ce;border-radius:8px;text-align:center}
 .ux-ready .mitra-tabs>button{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.ux-ready *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media print{.ux-skip,.ux-password button,.ux-quick-actions,.ux-registration-tools,.ux-wizard-actions,.ux-preview-tools{display:none!important}}
