:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#152d4d;background:#eaf0f7}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}.shell{max-width:600px;margin:auto;background:#f5f8fc;min-height:100vh;box-shadow:0 0 45px #163d6712}.header{display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e5eaf2;padding:17px 21px}.brand{display:flex;align-items:center;gap:11px}.brand img{border-radius:50%;object-fit:contain}.brand strong{font-size:17px;letter-spacing:.035em;font-weight:850;display:block}.brand small{letter-spacing:.14em;font-size:10px;color:#7a8ca3;font-weight:700}.avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#eaf2fc;color:#234e7f;font-weight:900;font-size:13px}main{padding:24px 17px 112px}.view{animation:fade .17s ease}@keyframes fade{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}h1{font-size:27px;line-height:1.17;letter-spacing:-.75px;color:#122b50;margin:3px 0 10px}h2{font-size:16px;margin:0 0 12px;color:#152f56}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.13em;color:#507bab;margin-bottom:8px}.intro{color:#7890a8;font-size:13px;line-height:1.6;margin:0 0 21px}.card{padding:17px 16px;background:#fff;border-radius:17px;border:1px solid #e0e9f3;box-shadow:0 4px 18px #1537630b;margin:0 0 14px}.fields{display:grid;gap:11px}.fields label,label{font-size:12px;font-weight:750;color:#375171}.fields input,.fields select,.fields textarea,input,select,textarea{min-height:45px;width:100%;background:white;border:1px solid #cfdaea;border-radius:10px;padding:10px 12px;color:#142e53;outline:0}.fields textarea{resize:vertical}.fields input:focus,.fields select:focus,.fields textarea:focus,input:focus,select:focus,textarea:focus{border-color:#3a77ca;box-shadow:0 0 0 3px #2d65b819}.primary,.secondary,.danger{min-height:44px;border:0;border-radius:11px;font-weight:800;font-size:13px;padding:11px 15px}.primary{background:#163c70;color:#fff}.secondary{background:#edf4fc;color:#255188;border:1px solid #d8e4f2}.danger{background:#fff2f3;color:#b13448;border:1px solid #eeced3}.home-actions,.stack{display:grid;gap:12px}.action{border:1px solid #e0e7f2;background:#fff;border-radius:15px;display:flex;align-items:center;gap:13px;text-align:left;padding:16px;box-shadow:0 4px 17px #1128490a;color:#163155;width:100%}.action-icon{width:42px;height:42px;background:#edf3fc;border-radius:12px;display:grid;place-items:center;font-size:24px;color:#275b9c;flex-shrink:0}.action strong{display:block;font-size:14px}.action small{display:block;font-size:12px;color:#8494a7;margin-top:4px}.action b{margin-left:auto;font-size:22px;color:#8a9eb2}.readonly-date{border:1px solid #e0e7f0;background:#f4f7fb;border-radius:10px;padding:13px;display:flex;justify-content:space-between;color:#395778;font-size:13px;font-weight:750}.section-title{display:flex;justify-content:space-between;align-items:center;margin:18px 2px 10px}.section-title h2{margin:0}.section-title span{font-size:11px;color:#7a8da4}.item-editor{position:relative}.item-editor .item-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.item-header strong{font-size:13px;color:#23436b}.remove{border:0;background:#fff2f2;color:#aa3e50;border-radius:8px;padding:5px 8px}.item-editor .fields{gap:8px}.mini-preview{font-size:11px;line-height:1.55;color:#71859f;background:#f4f8fd;border-radius:9px;padding:10px}.add{width:100%;background:white;color:#245c98;border:1px dashed #86a5c9;border-radius:11px;padding:13px;font-weight:800;margin:0 0 14px}.accordion{width:100%;display:flex;justify-content:space-between;background:transparent;border:0;text-align:left;color:#25466e;font-size:14px;font-weight:850;padding:1px 0 3px}.accordion span+span{font-size:12px;color:#788da6}.return-row{display:flex;align-items:center;gap:15px;padding:11px 0;border-top:1px solid #eef2f7}.return-row:first-child{margin-top:12px}.return-row .ret-name{flex:1;min-width:0;font-size:13px;font-weight:750}.return-row .ret-name small{display:block;font-weight:500;color:#8192a6;font-size:11px;margin-top:3px}.return-row input{width:98px}.smallhelp{font-size:12px;color:#74879f;line-height:1.5}.summary-line{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid #edf2f7;gap:10px;font-size:13px}.summary-line strong{font-size:12px}.summary-line small{color:#8a9cb0;display:block;margin-top:4px}.summary-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#f0f5fb;border-radius:12px;padding:14px 10px;margin-top:13px}.summary-totals div{display:grid;gap:5px;text-align:center}.summary-totals span{font-size:10px;color:#6d839c}.summary-totals strong{font-size:20px}.list-card,.req-card{background:#fff;border:1px solid #dfE7f1;border-radius:15px;padding:14px;text-align:left;display:grid;gap:8px;color:#163252}.list-card{width:100%}.list-card b,.req-card b{font-size:13px}.meta{font-size:11px;color:#8394a9}.metrics{display:flex;justify-content:space-between;font-size:12px;font-weight:800;gap:8px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 9px;background:#eef3fa;color:#3b5d7f;font-size:11px;font-weight:750}.tag.urgent{color:#a92f45;background:#fff0f3}.tag.done{background:#ecf7f0;color:#27704b}.tag.late{background:#fff2e4;color:#a6661e}.tag img{width:16px;height:16px}.req-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.progress{height:8px;border-radius:99px;overflow:hidden;background:#e9eff6}.progress div{height:100%;background:#2b7a6b;border-radius:99px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;min-height:auto}.pager{display:flex;justify-content:space-between;align-items:center;margin:15px 0;gap:8px}.pager button{font-size:11px}.pager span{font-size:11px;color:#73879f}.back{border:0;background:none;color:#2d639f;font-weight:750;margin:2px 0 15px;padding:0}.detail-line{border-bottom:1px solid #edf1f6;padding:11px 0;font-size:12px}.detail-line strong{display:block;font-size:13px}.detail-line small{display:block;font-size:11px;color:#7e91a8;margin-top:3px}.delivery{font-size:12px;padding:12px;margin:14px 0 0;border-radius:10px;background:#f1f5fa;color:#4c6686}.edit-line{display:grid;gap:8px;border-top:1px solid #e7edf5;padding:12px 0}.edit-line:first-child{border-top:0}.audit-row{padding:10px 0;border-bottom:1px solid #ecf0f5;font-size:12px}.audit-row small{display:block;font-size:11px;color:#8193a8;margin-top:5px}.toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);max-width:min(500px,calc(100% - 30px));padding:12px 16px;border-radius:12px;color:#fff;background:#214a78;box-shadow:0 8px 20px #122c4455;z-index:4;font-size:12px;line-height:1.5}.toast.error{background:#b13b4d}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:600px;width:100%;background:white;border-top:1px solid #e0e8f3;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #18365c08}.bottom-nav button{border:0;background:none;color:#8796ab;font-size:10px;font-weight:700;display:grid;gap:3px;justify-items:center;padding:5px 0}.bottom-nav button span{font-size:21px}.bottom-nav button.active{color:#1c528a}@media(min-width:700px){.shell{margin:18px auto;border:1px solid #e1e7f1;border-radius:18px;overflow:hidden;min-height:calc(100vh - 36px)}.bottom-nav{bottom:18px;border-radius:0 0 18px 18px}}@media(max-width:370px){main{padding:18px 12px 105px}.card{padding:14px 11px}.bottom-nav button{font-size:9px}}

/* Identitas ikon, konsisten di Beranda dan navigasi bawah. */
.action-icon img{width:23px;height:23px;object-fit:contain}
.bottom-nav button img{display:block;width:23px;height:23px;object-fit:contain;opacity:.62}
.bottom-nav button.active img{opacity:1;filter:invert(28%) sepia(41%) saturate(1300%) hue-rotate(174deg) brightness(92%)}
.list-products{display:grid;gap:5px;margin:3px 0 1px;padding:10px 0;border-top:1px solid #edf2f7;border-bottom:1px solid #edf2f7}
.list-products .list-product{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;line-height:1.5}
.list-products .list-product .product-name{font-weight:600;overflow-wrap:anywhere}
.list-products .list-product .product-qty{font-weight:750;white-space:nowrap;color:#345b84}
.list-products .more-products{font-size:11px;color:#537eaa;font-weight:700;margin-top:3px}
.list-card .list-summary{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;font-size:12px;font-weight:800;color:#315676}
.list-card .list-amount{font-size:13px;color:#153a65}


/* Mascoro Inbound UI polish: warm commerce theme, preserve original SVG icon assets. */
:root{font-family:Roboto,'Segoe UI',Arial,sans-serif;color:#253649;background:#fff5f0}
body{background:#fff5f0}
.shell{background:#f8fafc;box-shadow:0 5px 28px #4f342015}
.header{min-height:66px;padding:11px 20px;border-bottom:1px solid #f0ebe9;box-shadow:0 2px 10px #603d2208}
.brand{gap:10px}
.brand img{width:36px;height:36px;border-radius:8px}
.brand strong{font-size:15px;font-weight:800;letter-spacing:.025em;line-height:1.2;color:#182d4a}
.brand small{font-size:9px;font-weight:700;letter-spacing:.115em;line-height:1.25;margin-top:2px;color:#7d8695}
main{padding:22px 18px 112px}
h1{font-size:25px;letter-spacing:-.55px;line-height:1.25;color:#202e43}
h2{font-size:16px;color:#26354b}
.eyebrow{color:#ee4d2d;letter-spacing:.085em;font-size:10px}
.intro{color:#718095;font-size:13px}
.card{border:1px solid #e7e9ed;box-shadow:0 3px 14px #182b4509;padding:19px 17px;margin-bottom:17px;border-radius:15px}
.fields{gap:13px}
.fields label,label{font-size:12px;font-weight:700;color:#30445c}
.fields input,.fields select,.fields textarea,input,select,textarea{border:1px solid #d8dee6;min-height:46px;border-radius:10px;font-size:14px;padding:11px 12px}
.fields input:focus,.fields select:focus,.fields textarea:focus,input:focus,select:focus,textarea:focus{border-color:#ee4d2d;box-shadow:0 0 0 3px #ee4d2d1d}
.primary,.secondary,.danger{min-height:46px;border-radius:10px;font-size:13px;font-weight:750;line-height:1.3;transition:transform .13s ease,filter .13s ease}
.primary{background:#ee4d2d;color:white;box-shadow:0 2px 8px #ee4d2d22}
.primary:hover{background:#db421f}
.primary:active,.secondary:active,.danger:active{transform:translateY(1px)}
.secondary{background:#fff8f5;color:#c94828;border:1px solid #f3c8b9}
.secondary:hover{background:#fff0e9}
.danger{background:#fff2f2;color:#b52c3f;border:1px solid #efcbd1}
.action{border-color:#e9e9ec;border-radius:14px;padding:17px}
.action strong{font-size:14px;color:#243248}
.action small{color:#77889b}
.action-icon{background:#f1f5fc}
.add{border-color:#e9a893;color:#e45534;background:#fffaf8;margin-top:1px;margin-bottom:19px}
.section-title{margin-top:21px;margin-bottom:13px}
.return-card{margin-top:3px}
.summary-totals{background:#fff3ec}
.summary-totals strong{font-size:19px;color:#d9492a}
.list-card,.req-card{border:1px solid #e5e9ed;box-shadow:0 3px 14px #1c324107;gap:9px;padding:17px;border-radius:14px}
.progress div{background:#ed704a}
.toast{background:#253b57}
.bottom-nav{border-top:1px solid #eee6e1;box-shadow:0 -4px 18px #5339290a}
/* Section-specific breathing room */
#reqView > .card:first-of-type{padding:18px 17px 20px}
#toggleReqForm{min-height:46px;padding:12px 17px}
#reqForm:not([hidden]){display:grid;gap:13px;margin-top:23px;padding-top:20px;border-top:1px solid #e8ecf1}
#reqForm:not([hidden]) label:not(:first-child){margin-top:3px}
#reqForm #reqSave{margin-top:11px}
#editForm{display:block}
#editForm > label[for="editReason"]{display:block;margin:18px 0 8px}
#editForm #editReason{margin:0;display:block;width:100%}
.edit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:19px}
.edit-actions .primary,.edit-actions .danger{flex:0 1 auto;white-space:normal;padding:12px 17px;min-height:47px}
#editWrap{padding-bottom:21px}
#editWrap h2{margin-bottom:15px}
#detailView .card{margin-bottom:18px}
@media(max-width:370px){main{padding:18px 13px 112px}.card{padding:16px 13px}.edit-actions{gap:10px}.edit-actions button{font-size:12px}}
@media(min-width:700px){.shell{border-color:#eee2dc}}

/* Req Order — tipografi jelas dan proporsional */
#reqCards .req-card-clean{gap:10px;padding:17px 17px 16px;border-radius:15px;box-shadow:0 3px 13px #182e4909}
#reqCards .req-top{align-items:flex-start}
#reqCards .req-code{font-size:10px;line-height:1.45;color:#74869e;font-weight:650;overflow-wrap:anywhere;min-width:0;flex:1;padding-top:4px}
#reqCards .tag{font-size:11px;line-height:1.25;padding:6px 10px;flex-shrink:0}
#reqCards .req-product{font-size:17px;line-height:1.3;font-weight:750;letter-spacing:-.25px;margin:2px 0 0;color:#173455;overflow-wrap:anywhere}
#reqCards .req-artisan{font-size:12px;color:#5b7190;font-weight:650}
#reqCards .req-deadline{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#687f9e;padding:7px 0 2px}
#reqCards .req-deadline strong{font-size:13px;font-weight:750;color:#263f5f}
#reqCards .req-counts{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
#reqCards .req-count-value{font-size:14px;font-weight:750;color:#173455}
#reqCards .req-percent{font-size:12px;color:#55718c;font-weight:750}
#reqCards .progress{height:8px;margin:0}
#reqCards .req-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:2px}
#reqCards .req-remaining{font-size:13px;font-weight:700;color:#234368}
#reqCards .req-clock{font-size:12px;line-height:1.5;color:#55728d;font-weight:650}
#reqCards .req-clock:not([data-completed=""]) {color:#bd563f}
@media(max-width:380px){#reqCards .req-product{font-size:16px}#reqCards .req-deadline strong{font-size:12px}}


#reqCards .req-card-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:7px}
#reqCards .req-card-actions button{font-size:12px;min-height:39px;flex:1 1 110px;padding:9px 10px}
#reqCards .req-clock{font-size:14px;line-height:1.45;font-weight:720;letter-spacing:.01em;font-variant-numeric:tabular-nums}
#reqEditActions:not([hidden]){display:flex;justify-content:flex-end;margin-top:2px}
#reqShareNew:not([hidden]){display:block;margin:12px 0 0;width:100%;background:#e9f8ee;border:1px solid #b7e2bf;color:#237046}

#reqShareNew{font-size:13px;font-weight:750}


/* Mascoro modal tindakan — responsive, tidak memakai popup browser bawaan */
.mascoro-action-dialog{width:min(450px,calc(100vw - 30px));max-height:min(85dvh,740px);margin:auto;padding:0;border:1px solid #e4e9f0;border-radius:20px;background:#fff;color:#24374e;box-shadow:0 22px 80px #0c1d3740;overflow:auto;overscroll-behavior:contain;}
.mascoro-action-dialog::backdrop{background:rgba(10,24,42,.58);backdrop-filter:blur(3px)}
.mascoro-action-panel{padding:26px 24px 23px;display:grid;gap:17px}
.mascoro-action-heading{display:flex;align-items:flex-start;gap:13px}
.mascoro-action-symbol{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#fff0e9;color:#db572d;font-size:20px;font-weight:800}
.mascoro-action-symbol.is-danger{background:#fff0f1;color:#c12e47;font-size:24px}
.mascoro-action-titles{min-width:0;flex:1}
.mascoro-action-title{font-size:18px;line-height:1.35;letter-spacing:-.3px;font-weight:800;margin:0 0 5px;color:#192d46}
.mascoro-action-meta{font-size:13px;line-height:1.45;font-weight:650;color:#526b86;margin:0;overflow-wrap:anywhere}
.mascoro-action-description{font-size:13px;line-height:1.65;color:#6a7b90;margin:0}
.mascoro-action-field{display:grid;gap:8px;margin-top:2px}
.mascoro-action-field label{font-size:13px;font-weight:750;color:#2f455e}
.mascoro-action-reason{display:block;width:100%;min-height:106px;resize:vertical;border:1px solid #d8dfe8;border-radius:12px;background:#fcfdfe;padding:12px 14px;font-size:14px;line-height:1.55;color:#1d344f;outline:0}
.mascoro-action-reason:focus{border-color:#e95d37;box-shadow:0 0 0 3px #ee4d2d1a}
.mascoro-action-helper{font-size:11px;color:#788ba1;text-align:right}
.mascoro-action-buttons{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;margin-top:2px}
.mascoro-action-buttons button{min-height:46px;border-radius:11px;font-size:13px;font-weight:800;padding:10px 13px;line-height:1.3;}
.mascoro-action-back{background:#f3f6fa;border:1px solid #e0e6ec;color:#50667e}
.mascoro-action-submit{background:#ee4d2d;border:1px solid #ee4d2d;color:#fff}
.mascoro-action-submit.is-danger{background:#c9364c;border-color:#c9364c}
.mascoro-action-submit:disabled{opacity:.5;cursor:not-allowed}
.mascoro-action-buttons button:focus-visible{outline:3px solid #f2a389;outline-offset:2px}
@media(max-width:375px){.mascoro-action-panel{padding:22px 18px}.mascoro-action-title{font-size:17px}.mascoro-action-buttons button{font-size:12px}}
@media(prefers-reduced-motion:no-preference){.mascoro-action-dialog[open]{animation:mascoro-modal-show .17s ease-out}@keyframes mascoro-modal-show{from{opacity:.75;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}}

/* v0.4.8 - Arsip Req Order adalah pilihan eksplisit, bukan daftar aktif. */
.fields .req-history-choice{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;color:#51627c;line-height:1.45;cursor:pointer;}
.req-history-choice input{flex:none;width:17px;height:17px;accent-color:#ee5338;margin:0;}

/* v0.4.9 — UX refinement. Presentational only; existing API/business logic unchanged. */
:root{
  --m-ink:#1c304a;--m-muted:#657891;--m-line:#e7eaf0;--m-soft:#f6f8fb;
  --m-orange:#ee4d2d;--m-orange-soft:#fff2ec;--m-green:#167c5b;
  font-family:Inter,Roboto,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-optical-sizing:auto;
}
body{color:var(--m-ink);-webkit-font-smoothing:antialiased}
.shell{background:#f7f9fc}
.header{padding:13px 20px;min-height:69px}
main{padding:23px 18px 120px}
h1{font-size:26px;font-weight:800;letter-spacing:-.7px;margin:4px 0 9px}
h2{font-size:17px;font-weight:800;letter-spacing:-.24px}
.eyebrow{font-size:10.5px;font-weight:850;margin-bottom:8px;letter-spacing:.1em}
.intro{font-size:13.5px;line-height:1.55;margin-bottom:20px}
.card{border-radius:16px;padding:19px 18px;border-color:var(--m-line);box-shadow:0 3px 14px #12284806;margin-bottom:14px}
.fields{gap:12px}
.fields label,label{font-size:13px;font-weight:720;color:#374b65}
.fields input,.fields select,.fields textarea,input,select,textarea{min-height:48px;font-size:14px;border-radius:11px;border-color:#d9e0e9}
input::placeholder,textarea::placeholder{color:#9aa7b7}
.primary,.secondary,.danger{min-height:47px;border-radius:11px;font-size:13.5px}
.primary{background:var(--m-orange);box-shadow:0 4px 12px #ee4d2d19}
.primary:hover{background:#db4325}
.secondary{background:#fff8f4;color:#d24a2a}
:where(button,input,select,textarea,summary):focus-visible{outline:3px solid #ef8b7080;outline-offset:2px}
/* Branded home dashboard */
.home-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:19px;min-height:200px;background:linear-gradient(119deg,#152d4e 6%,#234a80 75%,#305fa1 100%);box-shadow:0 12px 26px #1739601b;padding:24px 23px;margin:1px 0 16px;color:#fff}
.home-hero-inner{position:relative;z-index:1;max-width:340px}
.home-hero-kicker{display:block;font-size:10px;letter-spacing:.13em;font-weight:800;color:#bed2ec;margin-bottom:12px}
.home-hero h2{font-size:23px;line-height:1.15;letter-spacing:-.6px;color:white;margin:0 0 8px;max-width:310px;font-weight:820}
.home-hero p{color:#d6e3f2;font-size:12.5px;line-height:1.55;margin:0 0 16px;max-width:285px}
.hero-btn{border:0;border-radius:10px;padding:11px 14px;min-height:42px;font-size:12px;line-height:1.3;font-weight:760;background:#fff;color:#203a61;display:inline-flex;align-items:center;gap:18px;box-shadow:0 3px 12px #06152a18}
.hero-btn:hover{background:#f7faff}
.hero-btn span{font-size:18px;color:var(--m-orange)}
.hero-orbit{position:absolute;z-index:-1;pointer-events:none;width:230px;height:230px;border:1px solid #ffffff20;border-radius:50%;right:-119px;top:-99px;box-shadow:0 0 0 41px #ffffff09,0 0 0 89px #ffffff05}
.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:25px}
.home-stat{background:#fff;border:1px solid #e8ecf2;border-radius:14px;padding:14px 12px 13px;min-width:0;display:flex;flex-direction:column;gap:6px;box-shadow:0 3px 14px #12284806}
.home-stat-label{font-size:11px;font-weight:700;color:#65758c;white-space:nowrap}
.home-stat-number{font-size:27px;line-height:1.14;font-weight:820;letter-spacing:-1px;color:#213956;font-variant-numeric:tabular-nums}
.home-stat:nth-child(2) .home-stat-number{color:#d65a37}
.home-stat small{color:#8b98a8;font-size:10px;line-height:1.3}
.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 2px 12px}
.home-section-head h2{margin:0;font-size:16px}
.home-section-head > span{font-size:11px;font-weight:600;color:#8a9aac}
.home-actions{gap:9px;margin-bottom:25px}
.action{min-height:74px;padding:14px 16px;border-radius:14px;box-shadow:0 3px 12px #16294408;gap:13px;transition:border-color .16s ease,transform .12s ease,box-shadow .16s ease}
.action:hover{border-color:#f3c5b4;box-shadow:0 7px 20px #1629440d}
.action:active{transform:translateY(1px)}
.action-featured{border-color:#f5cbbb;background:linear-gradient(90deg,#fffaf7 0%,white 85%)}
.action-icon{width:44px;height:44px;border-radius:12px;background:#f0f4fb}
.action-featured .action-icon{background:#fff0e9}
.action-icon img{width:23px;height:23px}
.action strong{font-size:14.5px;font-weight:800;line-height:1.35}
.action small{font-size:12px;margin-top:4px;line-height:1.4}
.action b{font-size:24px;font-weight:400;color:#9aabbc}
.home-text-link{border:0;background:transparent;padding:6px 1px;font-size:12px;font-weight:760;color:#d95132;white-space:nowrap}
.home-text-link span{font-size:15px;margin-left:3px}
.home-activity{border:1px solid var(--m-line);background:#fff;border-radius:15px;overflow:hidden;margin-bottom:5px;min-height:50px}
.home-activity-row{display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #edf0f4;background:#fff;width:100%;padding:15px 14px;color:#213b5a;min-height:68px}
.home-activity-row:last-child{border-bottom:0}
.home-activity-row:hover{background:#fcfdff}
.home-activity-copy,.home-activity-side{display:grid;gap:5px;min-width:0}
.home-activity-copy{flex:1}
.home-activity-copy strong{font-size:13.5px;font-weight:800;overflow-wrap:anywhere}
.home-activity-copy small{font-size:11.5px;line-height:1.4;color:#8291a4;overflow-wrap:anywhere}
.home-activity-side{text-align:right;flex-shrink:0;max-width:45%}
.home-activity-side strong{font-size:13px;font-weight:850;font-variant-numeric:tabular-nums}
.home-activity-side small{color:#92a0b1;font-size:10.5px}
.home-muted,.home-empty{font-size:12.5px;line-height:1.5;color:#8293a7;padding:18px 14px;margin:0}
.home-small-note{font-size:11px;color:#af4c40;margin:6px 2px 16px}
/* Setoran: quicker input, obvious preview */
#createView .section-title h2{font-size:17px}
.item-editor .item-header strong{font-size:14px}
.item-editor .fields{gap:9px}
.item-editor .product-search{background:#fbfcff;border-style:solid;margin-top:1px}
.item-editor .mini-preview{font-size:11.5px;line-height:1.5;background:#f5f7fb;padding:11px 12px}
.readonly-date{font-size:13px}
.return-card{padding:17px 18px}
.summary-help{margin:-3px 0 12px}
.summary-card h2{margin-bottom:11px}
.summary-line{font-size:13px;padding:11px 0}
.summary-line strong{font-size:13px}
.summary-totals{margin-top:16px;border-radius:11px;background:#f6f8fb;padding:13px 7px}
.summary-totals span{font-size:11px}
.summary-totals strong{font-size:19px;color:#283e5b}
.summary-totals div:last-child strong{color:#e65330}
.summary-amount{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 2px 2px;margin-top:14px;border-top:1px solid #ebedf1}
.summary-amount span{font-size:13px;font-weight:650;color:#617690}
.summary-amount strong{font-size:20px;letter-spacing:-.4px;color:#203954;font-variant-numeric:tabular-nums}
/* Req Order: single prominent action, secondary actions tucked into menu. */
#reqView .intro{margin-bottom:17px}
#reqCards .req-card-clean{gap:11px;border-radius:17px;padding:17px 16px 15px;box-shadow:0 4px 18px #12284808}
#reqCards .req-product{font-size:18px;font-weight:820;line-height:1.28}
#reqCards .req-artisan{font-size:13px;color:#637895}
#reqCards .req-deadline{padding-top:9px;line-height:1.5}
#reqCards .req-deadline strong{font-size:13.5px;font-weight:770}
#reqCards .req-count-value{font-size:15px;font-weight:800}
#reqCards .req-remaining{font-size:13.5px}
#reqCards .req-clock{font-size:13.5px;color:#647a95}
#reqCards .req-card-actions{position:relative;display:flex;align-items:stretch;gap:9px;margin-top:9px;flex-wrap:nowrap}
#reqCards .req-share-action{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;flex:1;min-height:44px;border:1px solid #b7dfcc;border-radius:11px;background:#effaf4;color:#15734f;font-size:13px;font-weight:800;padding:11px}
#reqCards .req-share-action:hover{background:#e4f6eb}
#reqCards .action-arrow{font-size:17px;line-height:1}
#reqCards .req-actions-menu{position:relative;min-width:47px;flex:0 0 47px}
#reqCards .req-actions-trigger{height:44px;width:47px;display:flex;align-items:center;justify-content:center;list-style:none;user-select:none;border:1px solid #dce3eb;background:#f9fbfe;color:#385574;border-radius:11px;font-size:17px;letter-spacing:2px;font-weight:800;cursor:pointer}
#reqCards .req-actions-trigger::-webkit-details-marker{display:none}
#reqCards .req-actions-menu[open] .req-actions-trigger{border-color:#f4af97;color:#df5637;background:#fff6f1}
#reqCards .req-actions-options{position:absolute;right:0;top:calc(100% + 7px);z-index:12;width:202px;background:#fff;border:1px solid #e3e7ed;border-radius:12px;box-shadow:0 16px 28px #13264124;padding:6px;display:grid;gap:3px}
#reqCards .req-actions-options button{min-height:43px;width:100%;text-align:left;display:block;border:0;border-radius:8px;background:transparent;padding:10px 11px;color:#233d5d;font-size:13px;font-weight:700}
#reqCards .req-actions-options button:hover{background:#f5f7fb}
#reqCards .req-actions-options .req-menu-cancel{color:#b63845}
#reqCards .req-actions-options .req-menu-cancel:hover{background:#fff1f2}
/* Filters: available when needed without dominating list screen */
.filter-panel{padding:0;overflow:visible}
.filter-panel > summary{cursor:pointer;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;list-style:none;font-size:13.5px;font-weight:780;color:#29415f}
.filter-panel > summary::-webkit-details-marker{display:none}
.filter-panel > summary::before{content:'⌕';font-size:20px;color:#db5638;line-height:1;font-weight:400;margin-right:3px}
.filter-panel > summary > span:first-child{flex:1}
.filter-summary-hint{font-size:11px;font-weight:500;color:#8799ae;text-align:right}
.filter-panel[open] > summary{border-bottom:1px solid #e9edf2}
.filter-fields{padding:15px 17px 18px;gap:11px}
.filter-fields label{font-size:12px}
#listView > h1,#reqView > h1{margin-bottom:14px}
#receiptCards .list-card{gap:9px;padding:16px;border-radius:15px}
#receiptCards .list-card b{font-size:14.5px;font-weight:800}
#receiptCards .meta{font-size:11px;line-height:1.45}
#receiptCards .list-product{font-size:13.5px}
#receiptCards .list-summary{font-size:13px;justify-content:space-between}
#receiptCards .list-amount{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
#receiptCards .list-products{gap:6px;margin:4px 0;padding:13px 0}
/* Bottom navigation: 1 Beranda, 2 Req, 3 Setoran, 4 Daftar, 5 Akun */
.bottom-nav{z-index:30;border-color:#e7eaee;box-shadow:0 -8px 28px #162d5010;padding:9px 7px calc(10px + env(safe-area-inset-bottom));background:#fff}
.bottom-nav button{font-size:10.5px;min-height:52px;gap:5px;color:#8798ad;font-weight:680;line-height:1.3}
.bottom-nav button img{width:23px;height:23px;opacity:.7}
.bottom-nav button.active{color:#e94d2b;font-weight:800}
.bottom-nav button.active img{opacity:1;filter:invert(38%) sepia(83%) saturate(2178%) hue-rotate(344deg) brightness(100%) contrast(97%)}
@media(max-width:390px){
 main{padding:20px 14px 114px}
 .home-hero{padding:22px 20px;min-height:200px}
 .home-hero h2{font-size:22px;max-width:255px}
 .home-stat{padding:13px 10px}
 .home-stat-label{font-size:10.5px}
 .home-stat-number{font-size:25px}
 .home-stat small{font-size:9.5px}
 .home-activity-side{max-width:42%}
 #reqCards .req-product{font-size:17px}
 #reqCards .req-deadline strong{font-size:12.5px}
 .summary-amount strong{font-size:18px}
}
@media(max-width:340px){
 .home-stats{gap:5px}
 .home-stat{padding:10px 8px}
 .home-stat-label{white-space:normal}
 .home-activity-row{padding:12px 10px}
 .bottom-nav button{font-size:9.5px}
}
@media(min-width:700px){.shell{overflow:visible}.bottom-nav{border-radius:0 0 18px 18px}}
@media(prefers-reduced-motion:reduce){.view,.action,.primary,.secondary,.danger{animation:none!important;transition:none!important}}
