.mobile-dock,.mobile-overview,.mobile-project,.mobile-field{display:none}
.mobile-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mobile-action{display:flex;align-items:center;gap:12px;text-align:left;min-height:64px;padding:14px;border:1px solid #dce4ef;background:#fff;border-radius:14px;color:#172d4d;font-weight:600}
.mobile-action .ico{width:25px;height:25px;flex-shrink:0;color:#2464e9}
@media(max-width:760px){
 body{background:#f4f7fb}
 aside{background:#102f57;color:#fff;padding:16px}
 aside .brand{color:#fff}
 aside #nav,aside #account{display:none!important}
 main{padding:0 16px calc(100px + env(safe-area-inset-bottom))}
 .top{height:50px;margin-bottom:12px}
 .top .headeractions{display:none}
 .mobile-project{display:block;margin:14px 0}
 .mobile-project button{display:flex;gap:12px;align-items:center;width:100%;padding:15px;border-radius:14px;background:#fff;text-align:left;min-height:54px}
 .mobile-project span{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:650}
 .mobile-project .ico{color:#2464e9;flex-shrink:0}
 .pagehead h1{font-size:22px}
 .mobile-owner-home .pagehead{display:none}
 .mobile-owner-home>.actions{display:none}
 .mobile-overview,.mobile-field{display:block;margin-bottom:22px}
 .mobile-balance{background:linear-gradient(120deg,#0962ed,#1644c4);color:white;border-radius:20px;padding:22px;box-shadow:0 8px 24px #2257c71a}
 .mobile-balance>strong{display:block;font-size:clamp(25px,7.5vw,36px);line-height:1.3;margin:7px 0 18px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .mobile-balance>div{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff40;padding-top:12px;gap:14px}
 .mobile-balance p{margin:0;font-size:12px}
 .mobile-balance p b{display:block;font-size:clamp(13px,3.8vw,17px);overflow-wrap:anywhere}
 .mobile-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
 .mobile-progress{display:block;width:100%;padding:16px;background:#fff;border-radius:15px;text-align:left}
 .mobile-progress>span{display:flex;justify-content:space-between;margin-bottom:12px;font-weight:600}
 .mobile-progress b{color:#2464e9}
 .mobile-field>.mobile-action{width:100%;background:#1d5deb;color:white;font-size:18px}
 .mobile-field>.mobile-action .ico{color:white}
 .mobile-dock{position:fixed;z-index:50;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;background:#fff;border-top:1px solid #e0e7ef;padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #1a30500a}
 .mobile-dock button{width:100%;min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 2px;min-height:54px;border:0;background:transparent;color:#617087;font-size:10px;border-radius:12px}
 .mobile-dock .ico{width:23px;height:23px}
 .mobile-dock .selected{color:#185be7;background:#edf3ff;font-weight:700}
 .mobile-dock .mobile-add .ico{background:#155ded;color:#fff;border-radius:50%;padding:11px;width:46px;height:46px}
 dialog{max-height:88dvh;max-width:calc(100vw - 20px);border-radius:22px;padding:20px}
 .mobile-menu{gap:9px}
 .mobile-menu .mobile-action{font-size:13px;padding:12px;min-width:0}
 button,input,select{min-height:44px}
 input,select,textarea{font-size:16px}
}
@media print{.mobile-dock,.mobile-overview,.mobile-project,.mobile-field{display:none!important}}
/* Reference-inspired visual system: calm white surfaces and blue controls. */
:root{--jet-accent:var(--brand-primary,#0866ed);--jet-ink:#102b4d}
.mobile-action{border-color:#edf1f6;box-shadow:0 4px 18px #14345905;border-radius:18px}
.mobile-action .ico{box-sizing:content-box;background:#edf5ff;border-radius:12px;padding:10px;width:22px;height:22px;color:var(--jet-accent)}
button{transition:background-color .18s,box-shadow .18s,transform .18s}
button:active:not(:disabled){transform:scale(.97)}
button:disabled{cursor:wait}
.card,.panel,.login{border-radius:20px;box-shadow:0 5px 24px #16325705}
input,select,textarea{border-radius:12px;background:#fbfcfe}
.primary{background:var(--jet-accent);border-color:var(--jet-accent);border-radius:13px}
.login{border:1px solid #e9eff6;padding:30px;box-shadow:0 12px 48px #16487709}
.login h1{font-size:25px;color:var(--jet-ink)}
.jet-page-enter{animation:jet-enter .23s ease-out}
dialog[open]{animation:jet-enter .2s ease-out}
dialog::backdrop{backdrop-filter:blur(3px)}
#toast:not(:empty){z-index:100;animation:jet-enter .2s ease-out}
.jet-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;color:#66798e}
.jet-spinner{display:inline-block;flex:none;width:23px;height:23px;border:2px solid #dceaff;border-top-color:var(--jet-accent);border-radius:50%;animation:jet-spin .75s linear infinite}
.jet-request-status{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:200;display:flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid #e1eafa;border-radius:30px;background:#fff;color:#173350;box-shadow:0 4px 25px #1733501a;font-size:13px;pointer-events:none}
@keyframes jet-spin{to{transform:rotate(360deg)}}
@keyframes jet-enter{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}
@media(max-width:760px){
 body{background:#f7faff}
 aside{background:#fff;color:var(--jet-ink);border-bottom:1px solid #edf2f8;padding:17px 20px}
 aside .brand{color:var(--jet-ink)}
 aside .brand small{color:#72859b}
 main{padding-left:18px;padding-right:18px}
 .mobile-balance{border-radius:24px;background:linear-gradient(125deg,#0875f5,#0751cf);box-shadow:0 8px 24px #0866ed1a}
 .mobile-shortcuts{gap:12px}
 .mobile-shortcuts .mobile-action{flex-direction:column;align-items:flex-start;gap:10px;padding:16px;font-size:13px}
 .mobile-project button{border:1px solid #eaf0f7;border-radius:16px}
 .mobile-progress{border:1px solid #eaf0f7;border-radius:19px}
 .mobile-dock{border-radius:24px 24px 0 0;box-shadow:0 -6px 30px #12365f09;padding-top:9px}
 .mobile-dock .selected{background:transparent;color:var(--jet-accent)}
 .mobile-dock .mobile-add .ico{background:var(--jet-accent);box-shadow:0 4px 12px #0866ed30;width:48px;height:48px}
 .mobile-dock .ico{stroke-width:1.8}
 .mobile-menu .mobile-action{gap:9px}
 .mobile-menu .mobile-action .ico{padding:7px;width:20px;height:20px}
 .login{margin:8vh auto;padding:25px 22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.jet-spinner{border-color:#0866ed}}
@media print{.jet-request-status{display:none!important}}
.jet-mobile-tools{display:none}
.jet-alert-list{display:grid;gap:9px}.jet-alert{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;padding:13px;border:1px solid #e3ebf6;border-radius:15px;background:#f3f8ff}.jet-alert.is-read{background:#fff}.jet-alert-icon{color:#1467d9}.jet-alert b,.jet-alert small{display:block}.jet-alert small{margin-top:4px}.jet-profile-preview{display:flex;align-items:center;flex-direction:column;gap:5px;padding:10px}.jet-profile-preview .jet-avatar-image{width:62px;height:62px}.jet-avatar-image{width:100%;height:100%;object-fit:cover;border-radius:50%}
@media(max-width:760px){aside .brand{min-width:0}.jet-mobile-tools{display:flex;align-items:center;gap:6px;margin-left:auto}.jet-mobile-tools button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;position:relative;padding:0;border:0;background:transparent}.jet-bell .ico{width:22px;height:22px;color:#17385e}.jet-alert-count{position:absolute;right:2px;top:1px;min-width:17px;height:17px;border-radius:10px;background:#ef4056;color:#fff;font-size:10px;font-style:normal;line-height:17px}.jet-mobile-tools .jet-avatar-btn{width:40px;height:40px;border-radius:50%;background:#e8f1ff;color:#1763cf;font-weight:800;overflow:hidden}.jet-avatar-btn .jet-avatar-image{width:40px;height:40px}.jet-profile-preview .jet-avatar-image:has(span){display:grid;place-items:center;background:#e8f1ff;color:#1763cf;font-size:25px}}
/* Mobile polish: compact context, readable alerts and reachable form actions. */
.jet-alert{line-height:1.45;min-height:68px}
.jet-alert>span:last-child{flex:1;min-width:0;overflow-wrap:anywhere}
.jet-alert b{font-size:14px;line-height:1.45}
.jet-alert small{font-size:12px;font-weight:400;line-height:1.5;color:#60738a}
.jet-alert-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:#e8f1ff}
.jet-profile-preview .jet-avatar-image{display:grid;place-items:center;background:#e8f1ff;color:#1763cf;font-size:25px;overflow:hidden}
@media screen and (max-width:760px){
 aside{padding:12px 16px;gap:12px}
 aside .brand{flex:1;font-size:16px;letter-spacing:-.4px}
 aside .brand-logo{width:34px;height:34px;flex:none}
 aside .brand>span{min-width:0;overflow-wrap:anywhere}
 aside .brand small{font-size:8px;letter-spacing:1.5px}
 .jet-mobile-tools{flex:none;margin:0;gap:8px}
 .jet-mobile-tools .jet-bell{border-radius:50%;background:#f1f6fc}
 .jet-mobile-tools .jet-avatar-btn{border:2px solid #fff;box-shadow:0 0 0 1px #e1eaf5}
 main{padding-left:16px;padding-right:16px}
 .top{height:38px;margin-bottom:8px;border:0;background:transparent}
 .mobile-project{margin:8px 0 18px}
 .mobile-project button{min-height:48px;padding:11px 14px}
 .mobile-project-context>.pagehead{display:none}
 .sectionhead{align-items:flex-start;gap:10px;margin-top:18px}
 .sectionhead h2{font-size:19px;line-height:1.3}
 .sectionhead .muted,.sectionhead p{font-size:13px;margin:5px 0}
 .headbuttons{display:flex;flex-wrap:wrap;gap:8px}
 .headbuttons button{min-width:0;line-height:1.4}
 .mobile-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mobile-action span{min-width:0;overflow-wrap:anywhere}
 .mobile-menu .mobile-action{font-size:13px;padding:12px 10px}
 dialog{padding:0!important;overflow:hidden;width:calc(100% - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:#fff}
 dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;padding:0 18px}
 dialog .modalhead{flex:none;margin:0;padding:17px 0 13px;border-bottom:1px solid #edf1f6;align-items:center;gap:10px;background:#fff}
 dialog .modalhead h2{font-size:18px;line-height:1.35;overflow-wrap:anywhere}
 dialog .modalhead button{flex:0 0 44px}
 dialog #fields{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 0 16px;-webkit-overflow-scrolling:touch}
 dialog #error{flex:none;margin:0;font-size:13px}
 dialog #error:not(:empty){padding:8px 0}
 dialog #save{flex:none;margin:10px 0 16px;min-height:48px}
 dialog input,dialog select,dialog textarea{font-size:16px}
 dialog label{font-size:13px;line-height:1.5}
 #toast{bottom:calc(100px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 32px);text-align:center;font-size:13px}
 #reportPreview .report-table-wrap{overflow:visible}
 #reportPreview .report-table-wrap table{display:block;width:100%;min-width:0}
 #reportPreview .report-table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #reportPreview .report-table-wrap tbody{display:grid;gap:12px}
 #reportPreview .report-table-wrap tr{display:block;border:1px solid #e5ebf3;border-radius:14px;padding:8px 12px;background:#fff}
 #reportPreview .report-table-wrap td{display:flex;justify-content:space-between;gap:14px;border:0;padding:7px 0;white-space:normal;min-width:0;overflow-wrap:anywhere;text-align:right}
 #reportPreview .report-table-wrap td[data-label]::before{content:attr(data-label);font-weight:500;color:#697b8e;text-align:left;flex:0 0 90px}
 #reportPreview .report-table-wrap td[data-label="Nominal"],#reportPreview .report-table-wrap td[data-label="Nilai"]{font-weight:700;color:#173350}
 .report-proof img,.photoGallery img{max-width:100%;object-fit:cover}
}

@media screen and (max-width:760px){
 .mobile-balance .mobile-progress{margin:16px 0 0;padding:14px 0 0;color:white;background:transparent;border:0;border-top:1px solid #ffffff50;border-radius:0;box-shadow:none;min-height:48px}
 .mobile-balance .mobile-progress b{color:white;font-variant-numeric:tabular-nums}
 .mobile-balance .mobile-progress .bar{width:100%;background:#ffffff45}
 .mobile-balance .mobile-progress .bar i{background:white}
 .mobile-balance .mobile-progress:focus-visible{outline:2px solid white;outline-offset:4px}
}
