
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#F3F3F3;
  --bg2:#ffffff;
  --bg3:#F9F9F9;
  --sidebar-bg:#ffffff;
  --text:#2F2F2F;--text2:#2F2F2F;--text3:#999;
  --border:rgba(0,0,0,0.06);--border-strong:rgba(0,0,0,0.1);
  /* GREEN replaces pink */
  --accent:#21C063;--accent-light:#e8faf1;--accent-hover:#1aad56;
  --accent2:#4F46E5;--accent2-light:#eef2ff;
  --purple:#8b5cf6;--purple-light:#f5f3ff;
  --hover:#f5f5f3;--card:#ffffff;
  --shadow:0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:0 4px 20px rgba(0,0,0,0.07);
  /* BORDER RADIUS SYSTEM */
  --r-outer:28px;   /* App wrapper */
  --r-card:18px;    /* Main content cards */
  --r-inner:8px;    /* Nested buttons/elements */
  --r-pill:999px;   /* Search bar, tabs */
  --sidebar-w:248px;
}
[data-theme="dark"]{
  --bg:#1a1a1a;--bg2:#1a1a1a;--bg3:#222222;
  --sidebar-bg:#141414;
  --text:#e8e8e8;--text2:#a3a3a3;--text3:#525252;
  --border:rgba(255,255,255,0.07);--border-strong:rgba(255,255,255,0.12);
  --accent:#34d87a;--accent-light:#0d2a1a;--accent-hover:#2ac46c;
  --hover:#1f1f1f;--card:#1a1a1a;
}
html,body{
  height:100%;
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  transition:background 0.2s,color 0.2s;
}

/* ════════════════════════════════
   OUTER FRAME — border-radius: 28px
   ════════════════════════════════ */
.app-frame{
  margin:0;
  height:100vh;
  border-radius:0;
  overflow:hidden;
  background:#F3F3F3;
  box-shadow:none;
  display:flex;
  border:none;
  gap:0;
  padding:10px;
  gap:8px;
}

/* ════════════════════════════════
   SIDEBAR
   ════════════════════════════════ */
.sidebar{
  width:var(--sidebar-w);
  min-width:var(--sidebar-w);
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.07);
  display:flex;flex-direction:column;
  height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  border-radius:16px;
  margin:0;
  box-shadow:0 1px 6px rgba(0,0,0,0.06);
  flex-shrink:0;
}
.sidebar::-webkit-scrollbar{display:none}

.sb-logo{
  display:flex;align-items:center;gap:10px;
  padding:20px 16px 16px;
  cursor:pointer;
  border-bottom:1px solid var(--border);
}
.sb-logo-mark{
  width:30px;height:30px;
  background:var(--accent);
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.sb-logo-mark svg{width:15px;height:15px;color:white}
.sb-logo-text{font-size:14px;font-weight:700;color:var(--text);letter-spacing:-0.01em}
.sb-logo-sub{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:0.04em;font-weight:500;margin-top:1px}

/* Nav */
.sb-nav{padding:14px 14px 8px}
.sb-nav-label{font-size:10px;font-weight:600;color:var(--text3);letter-spacing:0.07em;text-transform:uppercase;padding:8px 10px 4px}
.sb-item{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;
  border-radius:var(--r-inner);
  color:var(--text2);
  cursor:pointer;font-size:13px;font-weight:500;
  transition:all 0.12s;margin-bottom:2px;user-select:none;
}
.sb-item:hover{background:var(--hover);color:var(--text)}
.sb-item.active{background:#edfbf3;color:#21C063;font-weight:600}
.sb-icon{width:18px;height:18px;flex-shrink:0;opacity:0.65;transition:opacity 0.12s}
.sb-item.active .sb-icon,.sb-item:hover .sb-icon{opacity:1}
.sb-badge{
  margin-left:auto;font-size:10px;font-weight:600;
  background:var(--accent);color:white;
  padding:2px 6px;border-radius:var(--r-pill);line-height:1.3;
}
.sb-divider{height:1px;background:var(--border);margin:6px 10px}

.sb-footer{
  margin-top:auto;padding:12px 10px;
  border-top:1px solid var(--border);
}
.sb-user{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;
  border-radius:var(--r-inner);
  cursor:pointer;transition:background 0.12s;
}
.sb-user:hover{background:var(--hover)}
.sb-avatar{
  width:30px;height:30px;border-radius:50%;
  background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;color:white;flex-shrink:0;
}
.sb-user-name{font-size:12.5px;font-weight:600;color:var(--text)}
.sb-user-role{font-size:11px;color:var(--text3)}

/* ════════════════════════════════
   MAIN AREA
   ════════════════════════════════ */
.main{
  flex:1;display:flex;flex-direction:column;
  overflow:hidden;min-width:0;
  border-radius:16px;
  background:#F9F9F9;
  border:1px solid rgba(0,0,0,0.07);
  box-shadow:0 1px 6px rgba(0,0,0,0.06);
  margin:0;
}

/* Topbar */
.topbar{
  height: auto;
  min-height: 70px;
  background:#F9F9F9;
  border-bottom:none;
  display:flex;
  align-items: center;
  padding: 14px 28px;
  gap:14px;
  border-radius:16px 16px 0 0;
}
.bc{font-size:13px;color:var(--text2);font-weight:500;white-space:nowrap}
.bc strong{color:var(--text);font-weight:600}
.search-wrap{flex:1;max-width:1500px;margin:0 0 0 24px;display:flex;align-items:center}
/* PILL-SHAPED search bar */
.search-bar{
  display:flex;align-items:center;gap:9px;
  background:#F9F9F9;
  border:1px solid var(--border);
  border-radius:var(--r-pill);
  padding:0 16px;height:36px;
  transition:all 0.15s;
  width: 70%;
}
.search-bar:focus-within{
  border-color:var(--border-strong);
  background:var(--bg2);
  box-shadow:0 0 0 3px rgba(33,192,99,0.12);
}
.search-bar input{
  flex:1;border:none;outline:none;
  font-size:13px;color:var(--text);
  background:transparent;font-family:inherit;
}
.search-bar input::placeholder{color:var(--text3)}
.search-bar svg{width:15px;height:15px;color:var(--text3);flex-shrink:0}
.kbd-badge{
  font-size:10px;color:var(--text3);
  background:var(--bg2);border:1px solid var(--border);
  border-radius:5px;padding:1px 6px;font-weight:500;flex-shrink:0;
}
.tb-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.tb-btn{
  width:34px;height:34px;
  border-radius:var(--r-inner);
  border:1px solid var(--border);
  background:var(--bg2);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;color:var(--text2);transition:all 0.12s;
  font-family:inherit;
}
.tb-btn:hover{background:var(--hover);border-color:var(--border-strong)}
.tb-btn svg{width:16px;height:16px}
.tb-theme{
  display:flex;align-items:center;gap:7px;
  padding:0 13px;height:34px;
  border:1px solid var(--border);
  border-radius:var(--r-inner);
  background:var(--bg2);
  font-size:12.5px;font-weight:500;color:var(--text2);
  cursor:pointer;font-family:inherit;transition:all 0.12s;white-space:nowrap;
}
.tb-theme:hover{background:var(--hover)}
.tb-theme svg{width:15px;height:15px;flex-shrink:0}
.tb-avatar{
  width:34px;height:34px;border-radius:50%;
  background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:white;cursor:pointer;flex-shrink:0;
}

/* Page system */
.page{display:none}.page.active{display:block}
#page-sic.active{display:flex;flex-direction:column;flex:1;overflow:hidden}
.main-scroll{flex:1;min-height:0;background:#F9F9F9;display:flex;flex-direction:column;overflow:hidden}
.content{flex:1;overflow-y:auto;padding:28px 32px;background:#F9F9F9;min-height:0;}
.main-scroll{flex:1;overflow-y:auto;background:#F9F9F9;min-height:0;}

/* ════════════════════════════════
   COMMON ELEMENTS
   ════════════════════════════════ */
.page-title{font-size:28px;font-weight:700;color:var(--text);letter-spacing:-0.02em;margin-bottom:5px}
.page-sub{font-size:13.5px;color:var(--text2);margin-bottom:28px}
.sec-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.sec-title{font-size:14px;font-weight:600;color:var(--text)}
.sec-link{font-size:12.5px;color:var(--accent);cursor:pointer;font-weight:500}

.tag{display:inline-flex;align-items:center;font-size:9px;font-weight:700;padding:2px 6px;border-radius:4px;letter-spacing:0.04em;text-transform:uppercase}
.tag-pdf{background:#d1fae5;color:#065f46}
[data-theme="dark"] .tag-pdf{background:#064e3b;color:#6ee7b7}
.tag-jpg{background:#dbeafe;color:#1e40af}
[data-theme="dark"] .tag-jpg{background:#1e3a8a;color:#93c5fd}
.tag-mp4{background:#e9d5ff;color:#6b21a8}
[data-theme="dark"] .tag-mp4{background:#581c87;color:#d8b4fe}
.tag-new{background:#fef3c7;color:#92400e}

/* STATS */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}
.stat-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:18px 20px;
  transition:all 0.15s;
}
.stat-label{font-size:11.5px;color:var(--text3);font-weight:500;margin-bottom:8px}
.stat-value{font-size:30px;font-weight:700;color:var(--text);letter-spacing:-0.03em;line-height:1;margin-bottom:5px}
.stat-sub{font-size:11.5px;color:var(--text3)}
.dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;vertical-align:middle}

/* FILE GRID */
.file-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
/* FILE CARD — border-radius: 18px */
.file-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  overflow:hidden;cursor:pointer;
  transition:all 0.15s;
}
.file-card:hover{border-color:var(--border-strong);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.file-thumb{height:110px;display:flex;align-items:center;justify-content:center;position:relative}
.file-thumb-inner{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:12px}
.thumb-pdf{background:linear-gradient(135deg,#d1fae5,#a7f3d0)}
[data-theme="dark"] .thumb-pdf{background:linear-gradient(135deg,#064e3b,#065f46)}
.thumb-pdf .file-thumb-inner{background:rgba(16,185,129,0.15)}
.thumb-jpg{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}
[data-theme="dark"] .thumb-jpg{background:linear-gradient(135deg,#1e3a8a,#1e40af)}
.thumb-jpg .file-thumb-inner{background:rgba(59,130,246,0.15)}
.thumb-mp4{background:linear-gradient(135deg,#e9d5ff,#d8b4fe)}
[data-theme="dark"] .thumb-mp4{background:linear-gradient(135deg,#581c87,#6b21a8)}
.thumb-mp4 .file-thumb-inner{background:rgba(168,85,247,0.15)}
.file-thumb-inner svg{width:22px;height:22px}
.file-badge{position:absolute;top:9px;right:9px}
.file-info{padding:13px 15px;border-top:1px solid var(--border);background:var(--bg2)}
.file-name{font-size:12.5px;font-weight:600;color:var(--text);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--text3)}

/* ACTIVITY */
.activity-list{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  overflow:hidden;
}
.act-item{
  display:flex;align-items:center;gap:13px;
  padding:13px 16px;
  border-bottom:1px solid var(--border);
  cursor:pointer;transition:background 0.12s;
}
.act-item:last-child{border-bottom:none}
.act-item:hover{background:var(--hover)}
.act-icon{
  width:34px;height:34px;
  border-radius:var(--r-inner);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.act-icon svg{width:17px;height:17px}
.act-info{flex:1;min-width:0}
.act-name{font-size:13px;font-weight:600;color:var(--text);margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.act-meta{font-size:11.5px;color:var(--text3)}
.act-size{font-size:11.5px;color:var(--text3);font-weight:500;flex-shrink:0}

/* SIC LANDING — card grid 4 col */
.sic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.sic-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:22px 20px;
  cursor:pointer;transition:all 0.15s;
}
.sic-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.sic-card-icon{
  width:42px;height:42px;
  border-radius:12px;
  background:var(--accent-light);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:13px;
}
.sic-card-icon svg{width:21px;height:21px;color:var(--accent)}
.sic-card-name{font-size:13.5px;font-weight:600;color:var(--text);margin-bottom:4px}
.sic-card-count{font-size:12px;color:var(--text3)}
.sic-card-arrow{
  margin-top:13px;display:flex;align-items:center;gap:5px;
  font-size:12px;color:var(--accent);font-weight:500;
  opacity:0;transition:opacity 0.15s;
}
.sic-card:hover .sic-card-arrow{opacity:1}
.sic-card-arrow svg{width:13px;height:13px}

/* TAB BAR — PILL-SHAPED tabs */
.tab-bar{
  display:flex;
  background:var(--bg2);
  border-bottom:1px solid var(--border);
  overflow-x:auto;padding:8px 24px;gap:4px;
}
.tab-bar::-webkit-scrollbar{display:none}
.tab-item{
  display:flex;align-items:center;gap:7px;
  /* PILL-SHAPED */
  padding:6px 14px;
  border-radius:var(--r-pill);
  font-size:12.5px;color:var(--text2);
  cursor:pointer;white-space:nowrap;
  transition:all 0.12s;flex-shrink:0;font-weight:500;
  border:1px solid transparent;
}
.tab-item:hover{background:var(--hover);color:var(--text)}
.tab-item.active{
  background:var(--accent);color:white;
  border-color:var(--accent);font-weight:600;
}
.tab-item svg{width:14px;height:14px;flex-shrink:0}

.cat-file-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}

/* HOME MINI CAT CARDS */
.mini-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}
.mini-cat{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:18px 16px;cursor:pointer;transition:all 0.15s;
}
.mini-cat:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.mini-cat-icon{
  width:38px;height:38px;border-radius:10px;
  background:var(--accent-light);
  display:flex;align-items:center;justify-content:center;margin-bottom:10px;
}
.mini-cat-icon svg{width:19px;height:19px;color:var(--accent)}
.mini-cat-name{font-size:12.5px;font-weight:600;color:var(--text);margin-bottom:2px}
.mini-cat-count{font-size:11px;color:var(--text3)}

/* PREVIEW SPLIT PANEL */
.preview-shell{display:flex;flex-direction:column;height:100%}
.prev-back{
  display:flex;align-items:center;gap:10px;
  padding:12px 24px;
  background:var(--bg2);
  border-bottom:1px solid var(--border);
}
.back-btn{
  display:flex;align-items:center;gap:5px;
  padding:5px 12px;
  background:#F9F9F9;
  border:1px solid var(--border);
  border-radius:var(--r-pill);
  font-size:12.5px;color:var(--text2);
  cursor:pointer;font-family:inherit;transition:all 0.12s;
}
.back-btn:hover{background:var(--hover);border-color:var(--border-strong)}
.back-btn svg{width:13px;height:13px}
.prev-bc{font-size:12.5px;color:var(--text2);font-weight:500}
.prev-bc strong{color:var(--text)}
.prev-body{display:grid;grid-template-columns:1fr 268px;flex:1;overflow:hidden}
.prev-main{display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--card)}
.prev-toolbar{
  display:flex;align-items:center;gap:9px;
  padding:0 16px;height:50px;
  border-bottom:1px solid var(--border);
  background:var(--bg2);flex-shrink:0;
}
.prev-toolbar-title{font-size:13px;font-weight:600;color:var(--text);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prev-view{flex:1;overflow:auto;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:24px}
.prev-side{background:var(--bg2);overflow-y:auto;display:flex;flex-direction:column}
.prev-sec{padding:16px 18px;border-bottom:1px solid var(--border)}
.prev-sec:last-child{border-bottom:none}
.prev-sec-label{font-size:10px;font-weight:700;color:var(--text3);letter-spacing:0.07em;text-transform:uppercase;margin-bottom:12px}
.prev-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;gap:8px}
.prev-row:last-child{margin-bottom:0}
.prev-k{font-size:12px;color:var(--text2);font-weight:500}
.prev-v{font-size:12px;color:var(--text);font-weight:600;text-align:right}
/* Action buttons — nested border radius: 8px */
.prev-action{
  width:100%;display:flex;align-items:center;justify-content:center;gap:7px;
  padding:9px;
  border-radius:var(--r-inner);
  font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;
  border:1px solid var(--border);background:var(--card);color:var(--text);
  transition:all 0.12s;margin-bottom:7px;
}
.prev-action:last-child{margin-bottom:0}
.prev-action:hover{background:var(--hover)}
.prev-action.primary{background:var(--accent);color:white;border-color:var(--accent)}
.prev-action.primary:hover{background:var(--accent-hover)}
.prev-action svg{width:15px;height:15px}
.rel-item{
  display:flex;align-items:center;gap:9px;
  padding:7px 8px;border-radius:var(--r-inner);
  cursor:pointer;transition:background 0.12s;margin-bottom:3px;
}
.rel-item:last-child{margin-bottom:0}
.rel-item:hover{background:var(--hover)}
.rel-icon{
  width:30px;height:30px;border-radius:8px;
  background:var(--accent-light);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.rel-icon svg{width:14px;height:14px;color:var(--accent)}
.rel-name{font-size:11.5px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rel-meta{font-size:10.5px;color:var(--text3)}

/* PDF MOCK */
.pdf-sheet{
  background:var(--bg2);
  border-radius:var(--r-card);
  border:1px solid var(--border);
  padding:36px 40px;width:380px;max-width:100%;
  box-shadow:var(--shadow-md);
}
.pdf-brand-row{display:flex;align-items:center;gap:9px;margin-bottom:16px}
.pdf-mark{width:26px;height:26px;background:var(--accent);border-radius:7px;display:flex;align-items:center;justify-content:center}
.pdf-mark svg{width:13px;height:13px;color:white}
.pdf-brand{font-size:13px;font-weight:700;color:var(--text)}
.pdf-title{font-size:19px;font-weight:700;color:var(--text);margin-bottom:5px;letter-spacing:-0.01em}
.pdf-sub{font-size:11.5px;color:var(--text3);margin-bottom:18px}
.pdf-hr{height:1px;background:var(--border);margin-bottom:14px}
.pdf-sect{font-size:10px;font-weight:700;color:var(--text2);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:8px}
.pdf-line{height:8px;background:#F9F9F9;border-radius:4px;margin-bottom:5px}
.pdf-line.s{width:68%}.pdf-line.xs{width:43%}
.pdf-footer{font-size:10px;color:var(--text3);text-align:center;margin-top:16px}

/* IMG MOCK */
.img-mock{width:100%;max-width:460px;border-radius:var(--r-card);overflow:hidden;border:1px solid var(--border)}
.img-mock-visual{height:250px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;align-items:center;justify-content:center}
.img-mock-visual svg{width:48px;height:48px;color:rgba(255,255,255,0.9);margin-bottom:12px}
.img-mock-cap{font-size:14px;font-weight:600;color:white}
.img-mock-cap2{font-size:11.5px;color:rgba(255,255,255,0.75);margin-top:4px}
.img-mock-bar{display:flex;justify-content:space-between;padding:9px 14px;background:var(--bg2);border-top:1px solid var(--border);font-size:11px;color:var(--text3);font-weight:500}

/* VIDEO MOCK */
.vid-mock{width:100%;max-width:460px}
.vid-screen{aspect-ratio:16/9;background:#F9F9F9;border-radius:var(--r-card);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:10px}
.play-ring{width:52px;height:52px;border-radius:50%;border:2px solid var(--accent);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.15s}
.play-ring:hover{background:var(--accent-light);transform:scale(1.06)}
.play-ring svg{width:22px;height:22px;color:var(--accent);margin-left:3px}
.vid-dur{position:absolute;bottom:10px;right:12px;font-size:11px;color:var(--text2);background:var(--bg2);border:1px solid var(--border);border-radius:5px;padding:2px 7px;font-weight:600}
/* PILL-SHAPED video controls */
.vid-controls{
  display:flex;align-items:center;gap:10px;
  padding:9px 16px;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--r-pill);
}
.vid-prog{flex:1;height:3px;background:#F9F9F9;border-radius:3px}
.vid-prog-fill{width:0;height:100%;background:var(--accent);border-radius:3px}

/* ════════════════════════════════
   LOGIN PAGE
   ════════════════════════════════ */
.login-page{min-height:100vh;display:flex;background:var(--bg);transition:background 0.2s;padding:10px}
.login-frame{
  flex:1;display:flex;
  border-radius:var(--r-outer);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
}
.login-left{width:420px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:48px;background:var(--bg2);order:2;}
.login-right{flex:1;background:var(--accent);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:52px;position:relative;overflow:hidden;order:1;}
.login-box{width:100%;max-width:380px}
.login-logo{display:flex;align-items:center;gap:11px;margin-bottom:36px}
.login-logo-mark{width:36px;height:36px;background:var(--accent);border-radius:10px;display:flex;align-items:center;justify-content:center}
.login-logo-mark svg{width:18px;height:18px;color:white}
.login-logo-name{font-size:18px;font-weight:700;color:var(--text);letter-spacing:-0.01em}
.login-h{font-size:30px;font-weight:700;color:var(--text);letter-spacing:-0.02em;margin-bottom:7px}
.login-sub{font-size:14px;color:var(--text2);margin-bottom:32px}
.form-group{margin-bottom:16px}
.form-label{display:block;font-size:12.5px;font-weight:600;color:var(--text);margin-bottom:6px}
.form-input{
  width:100%;height:42px;padding:0 14px;
  background:#F9F9F9;border:1px solid var(--border);
  border-radius:var(--r-inner);
  font-size:13.5px;color:var(--text);font-family:inherit;outline:none;
  transition:all 0.15s;
}
.form-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(33,192,99,0.12);background:var(--bg2)}
.form-input::placeholder{color:var(--text3)}
[data-theme="dark"] .form-input{background:var(--bg3)}
.form-hint{font-size:11.5px;color:var(--text3);margin-top:5px}
.login-btn{
  width:100%;height:44px;
  background:var(--accent);color:white;border:none;
  border-radius:var(--r-inner);
  font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;
  transition:all 0.15s;margin-top:8px;
}
.login-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}
.login-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--text3);font-size:12px}
.login-divider::before,.login-divider::after{content:'';flex:1;height:1px;background:var(--border)}
.login-alt{
  width:100%;height:42px;
  background:#F9F9F9;border:1px solid var(--border);
  border-radius:var(--r-inner);
  font-size:13px;font-weight:500;color:var(--text);
  cursor:pointer;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;
  transition:all 0.12s;
}
.login-alt:hover{background:var(--hover);border-color:var(--border-strong)}
.login-alt svg{width:15px;height:15px}
.login-footer-txt{margin-top:28px;font-size:11.5px;color:var(--text3);text-align:center;line-height:1.6}
.login-right-deco{position:absolute;border-radius:50%;background:rgba(255,255,255,0.08)}
.login-right-deco-1{width:320px;height:320px;top:-90px;right:-90px}
.login-right-deco-2{width:220px;height:220px;bottom:-70px;left:-70px}
.login-right-inner{position:relative;z-index:1;text-align:center;width:100%}
.login-right-icon{width:52px;height:52px;background:rgba(255,255,255,0.18);border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.login-right-icon svg{width:26px;height:26px;color:white}
.login-right h2{font-size:24px;font-weight:700;color:white;margin-bottom:10px;letter-spacing:-0.02em;line-height:1.3}
.login-right p{font-size:13.5px;color:rgba(255,255,255,0.8);line-height:1.7;margin-bottom:26px}
.login-feat{display:flex;align-items:flex-start;gap:12px;text-align:left;margin-bottom:13px}
.login-feat-icon{width:32px;height:32px;background:rgba(255,255,255,0.15);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.login-feat-icon svg{width:15px;height:15px;color:white}
.login-feat-text strong{color:white;display:block;font-size:13px;font-weight:600;margin-bottom:2px}
.login-feat-text span{font-size:12px;color:rgba(255,255,255,0.75);line-height:1.4}
.login-theme-btn{
  position:absolute;top:18px;right:18px;
  background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.2);
  color:white;border-radius:var(--r-pill);
  padding:5px 12px;font-size:12px;cursor:pointer;font-family:inherit;
  display:flex;align-items:center;gap:5px;font-weight:500;
}
.login-theme-btn svg{width:12px;height:12px}

/* SCROLLBAR */
.home-content{padding:36px 80px !important;}
/* SIC sub-sidebar items */
.sic-sub-item{display:flex;align-items:center;gap:14px;padding:9px 12px;border-radius:7px;font-size:13px;color:#2F2F2F;cursor:pointer;transition:background 0.12s,color 0.12s;margin-bottom:1px;font-weight:500;line-height:1.3}
.sic-sub-item:hover{background:var(--hover);color:var(--text)}
.sic-sub-item.active{background:var(--accent-light);color:var(--accent);font-weight:500}
.sic-sub-item svg{flex-shrink:0;opacity:0.6}
.sic-sub-item.active svg,.sic-sub-item:hover svg{opacity:1}
.sic-file-card{transition:transform 0.15s,box-shadow 0.15s;border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,0.07);background:#fff;cursor:pointer;}
.sic-file-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.08);}
.sic-folder-row{display:flex;align-items:center;gap:16px;padding:14px 18px;border-radius:12px;cursor:pointer;border:1px solid rgba(0,0,0,0.06);background:#fff;margin-bottom:8px;transition:background 0.12s;}
.sic-folder-row:hover{background:#f9f9f9 !important;}
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:10px}

@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.fade-in{animation:fadeUp 0.25s ease both}

/* ── FILE PREVIEW MODAL ── */
.fpm-overlay{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,0.75);
  display:none;flex-direction:column;
}
.fpm-overlay.open{display:flex;}
/* top bar */
.fpm-bar{
  height:48px;min-height:48px;flex-shrink:0;
  background:rgba(32,32,32,0.95);
  display:flex;align-items:center;gap:8px;
  padding:0 12px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.fpm-bar-ico{width:20px;height:20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.fpm-bar-name{flex:1;font-size:14px;color:#e8e8e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fpm-bar-ctr{font-size:12px;color:#777;flex-shrink:0;}
.fpm-sep{width:1px;height:20px;background:rgba(255,255,255,0.15);margin:0 6px;flex-shrink:0;}
.fpm-btn{
  display:flex;align-items:center;gap:5px;
  padding:6px 12px;border-radius:4px;
  border:none;background:transparent;
  color:#ccc;font-size:13px;cursor:pointer;font-family:inherit;
  transition:background .12s;white-space:nowrap;
}
.fpm-btn:hover{background:rgba(255,255,255,0.12);color:#fff;}
.fpm-btn.primary{background:#8ab4f8;color:#1a1a1a;}
.fpm-btn.primary:hover{background:#aac8fa;}
.fpm-ico-btn{
  width:34px;height:34px;border-radius:50%;border:none;
  background:transparent;color:#aaa;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .12s;
}
.fpm-ico-btn:hover{background:rgba(255,255,255,0.12);color:#fff;}
/* body */
.fpm-body{
  flex:1;min-height:0;
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
/* nav arrows */
.fpm-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,0.15);border:none;
  cursor:pointer;color:#fff;z-index:5;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s;
}
.fpm-nav:hover{background:rgba(255,255,255,0.3);}
.fpm-nav.l{left:16px;}
.fpm-nav.r{right:16px;}
.fpm-nav.hide{opacity:0;pointer-events:none;}
/* content area */
.fpm-content{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  overflow:auto;
  padding:24px 70px;
  box-sizing:border-box;
}
/* zoom wrapper */
.fpm-zoom-wrap{
  display:flex;align-items:center;justify-content:center;
  transform-origin:center;
  transition:transform .2s;
}
/* zoom controls */
.fpm-zoom{
  position:absolute;bottom:16px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:4px;
  background:rgba(32,32,32,0.9);border-radius:20px;
  padding:4px 8px;z-index:5;
}
.fpm-zoom-btn{
  width:28px;height:28px;border:none;background:transparent;
  color:#ccc;cursor:pointer;border-radius:50%;font-size:16px;
  display:flex;align-items:center;justify-content:center;transition:background .12s;
}
.fpm-zoom-btn:hover{background:rgba(255,255,255,0.15);color:#fff;}
.fpm-zoom-pct{font-size:12px;color:#aaa;min-width:36px;text-align:center;}

/* ── ADMIN MODE ── */
.admin-bar{
  display:none;
  align-items:center;gap:10px;
  padding:8px 16px;
  background:#fff3cd;
  border-bottom:2px solid #f59e0b;
  flex-shrink:0;
}
.admin-bar.show{display:flex;}
.admin-badge{
  background:#f59e0b;color:#1a1a1a;
  font-size:11px;font-weight:700;
  padding:3px 10px;border-radius:999px;
  letter-spacing:0.05em;text-transform:uppercase;
}
.admin-bar-text{font-size:13px;color:#92400e;flex:1;}
.admin-exit{
  display:flex;align-items:center;gap:5px;
  padding:5px 12px;border-radius:6px;
  border:1px solid rgba(0,0,0,0.15);
  background:transparent;color:#92400e;
  font-size:12px;cursor:pointer;font-family:inherit;
  transition:background .12s;
}
.admin-exit:hover{background:rgba(0,0,0,0.07);}

/* admin action buttons */
.adm-btn{
  display:inline-flex;align-items:center;gap:4px;
  padding:4px 9px;border-radius:6px;
  border:1px solid rgba(0,0,0,0.12);
  background:#fff;color:#555;
  font-size:11px;cursor:pointer;font-family:inherit;
  transition:background .12s;white-space:nowrap;
}
.adm-btn:hover{background:#f5f5f5;}
.adm-btn.danger{color:#dc2626;border-color:rgba(220,38,38,0.2);}
.adm-btn.danger:hover{background:#fee2e2;}
.adm-btn.primary{background:#21C063;color:#fff;border-color:#21C063;}
.adm-btn.primary:hover{background:#1aad56;}

/* add folder/file row */
.adm-add-row{
  display:flex;align-items:center;gap:8px;
  padding:10px 14px;
  border:2px dashed rgba(0,0,0,0.1);
  border-radius:12px;
  margin-bottom:8px;
  cursor:pointer;
  color:#aaa;font-size:13px;
  transition:all .12s;
}
.adm-add-row:hover{border-color:#21C063;color:#21C063;background:#f0fdf7;}

/* modal admin */
.adm-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,0.4);
  z-index:8000;display:none;align-items:center;justify-content:center;
}
.adm-modal-overlay.open{display:flex;}
.adm-modal{
  background:#fff;border-radius:16px;
  width:100%;max-width:440px;
  padding:28px;box-shadow:0 16px 48px rgba(0,0,0,0.2);
}
.adm-modal-title{font-size:17px;font-weight:700;color:#1a1a1a;margin-bottom:20px;}
.adm-label{font-size:12px;font-weight:600;color:#555;margin-bottom:5px;display:block;}
.adm-input{
  width:100%;padding:9px 12px;border-radius:8px;
  border:1px solid rgba(0,0,0,0.15);
  font-size:13px;color:#1a1a1a;font-family:inherit;
  outline:none;box-sizing:border-box;margin-bottom:14px;
  transition:border .12s;
}
.adm-input:focus{border-color:#21C063;box-shadow:0 0 0 3px rgba(33,192,99,0.1);}
.adm-modal-footer{display:flex;gap:8px;justify-content:flex-end;margin-top:8px;}
.adm-cancel{
  padding:8px 16px;border-radius:8px;border:1px solid rgba(0,0,0,0.12);
  background:#fff;color:#555;font-size:13px;cursor:pointer;font-family:inherit;
}
.adm-cancel:hover{background:#f5f5f5;}
.adm-save{
  padding:8px 18px;border-radius:8px;border:none;
  background:#21C063;color:#fff;font-size:13px;font-weight:600;
  cursor:pointer;font-family:inherit;transition:background .12s;
}
.adm-save:hover{background:#1aad56;}

/* ── ADMIN SIDEBAR EDIT ── */
.sb-item-wrap{position:relative;display:flex;align-items:center;}
.sb-item-wrap .sb-adm-btns{
  display:none;gap:2px;margin-left:auto;flex-shrink:0;
}
.sb-item-wrap:hover .sb-adm-btns{display:flex;}
.sb-adm-btn{
  width:22px;height:22px;border-radius:5px;border:none;
  background:transparent;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  color:#aaa;font-size:11px;transition:background .12s;
}
.sb-adm-btn:hover{background:rgba(0,0,0,0.08);color:#555;}
.sb-adm-btn.danger:hover{background:#fee2e2;color:#dc2626;}
.sb-adm-add{
  display:none;width:100%;padding:7px 12px;
  border:1.5px dashed rgba(0,0,0,0.12);border-radius:8px;
  background:transparent;color:#aaa;font-size:12px;
  cursor:pointer;font-family:inherit;text-align:left;
  margin-bottom:2px;transition:all .12s;
}
.sb-adm-add:hover{border-color:#21C063;color:#21C063;background:#f0fdf7;}
.admin-mode .sb-adm-add{display:flex;align-items:center;gap:6px;}

/* upload area */
.adm-upload-area{
  border:2px dashed rgba(0,0,0,0.15);border-radius:10px;
  padding:16px;text-align:center;cursor:pointer;
  transition:all .12s;color:#aaa;font-size:13px;margin-bottom:14px;
}
.adm-upload-area:hover{border-color:#21C063;color:#21C063;background:#f0fdf7;}
.adm-upload-area input{display:none;}
.adm-or{text-align:center;color:#ccc;font-size:12px;margin-bottom:10px;}

.adm-drop-item{
  display:flex;align-items:center;
  padding:10px 16px;font-size:13px;color:#333;
  cursor:pointer;transition:background .12s;
}
.adm-drop-item:hover{background:#f5f5f5;}

/* ============================================ */
/* MOBILE APP                                    */
/* ============================================ */

@media (max-width: 768px) {
  body:not(.auth-gate) #mainApp { display: none !important; }
}
@media (min-width: 769px) {
  body:not(.auth-gate) #mobileApp { display: none !important; }
}
body.auth-gate #mainApp,
body.auth-gate #mobileApp { display: none !important; }
body.auth-gate { height:auto !important; overflow-y:auto !important; }
html.auth-gate { height:auto !important; overflow-y:auto !important; }
#registerPage, #pendingPage { overflow-y:auto; -webkit-overflow-scrolling:touch; }
@media (max-width: 768px){
  #registerPage, #pendingPage { position:fixed; inset:0; height:100vh; height:100dvh; }
}
@media (max-width: 768px){
  #registerPage, #pendingPage { align-items:flex-start !important; padding-top:24px; padding-bottom:24px; }
}

@media (max-width: 768px) {

  body {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  #mobileApp {
    width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    background: #F9F9F9;
    font-family: 'Inter', sans-serif;
  }

  /* HEADER */
  .m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
  }
  .m-hamburger {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #2F2F2F;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .m-hamburger:active { background: rgba(0,0,0,0.05); }
  .m-hamburger svg { width: 24px; height: 24px; }
  .m-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
  }
  .m-header-logo img {
    height: 28px;
    object-fit: contain;
  }

  /* PAGES CONTAINER */
  .m-pages {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 64px;
    overflow: hidden;
  }
  .m-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #F9F9F9;
    display: none;
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .m-page.m-active {
    display: block;
  }
  .m-page.m-slide-in-right {
    animation: mSlideInRight 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .m-page.m-slide-in-left {
    animation: mSlideInLeft 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  @keyframes mSlideInRight {
    from { transform: translateX(100%); opacity: 0.6; }
    to { transform: translateX(0); opacity: 1; }
  }
  @keyframes mSlideInLeft {
    from { transform: translateX(-100%); opacity: 0.6; }
    to { transform: translateX(0); opacity: 1; }
  }

  .m-placeholder {
    padding: 40px 24px;
    text-align: center;
    color: #666;
  }
  .m-placeholder h3 {
    color: #21C063;
    margin: 0 0 8px;
  }
  .m-placeholder p {
    margin: 0;
    font-size: 14px;
  }

  /* BOTTOM NAV */
  .m-bottom-nav {
    position: fixed;
    bottom: 10px;
    left: 12px;
    right: 12px;
    height: 60px;
    background: #21C063;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    display: flex;
    z-index: 100;
    overflow: visible;
  }
  .m-nav-item {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-family: inherit;
  }
  .m-nav-item svg { width: 20px; height: 20px; }
  .m-nav-item span { font-size: 10px; font-weight: 500; }
  .m-nav-item.active { color: #fff; }
  .m-nav-item.active span { font-weight: 600; }
  .m-nav-item:active { background: rgba(255,255,255,0.1); border-radius: 12px; }
  .m-nav-item[data-page="home"] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #21C063;
    flex: 0 0 44px;
    align-self: center;
  }
  .m-nav-item[data-page="home"] svg {
    width: 22px;
    height: 22px;
  }
  .m-nav-item[data-page="home"] span {
    display: none;
  }
  .m-nav-item[data-page="home"].active {
    color: #21C063;
  }
}

@media (max-width: 768px) {

  /* HOME PAGE */
  .m-home {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .m-greeting {
    text-align: center;
    padding: 8px 0 4px;
  }
  .m-greeting h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
    line-height: 1.3;
  }
  .m-greeting p {
    font-size: 13px;
    color: #999;
    margin: 0;
  }

  .m-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 11px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-search svg { width: 16px; height: 16px; flex-shrink: 0; }
  .m-search span { font-size: 13px; color: #aaa; }

  .m-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-quick-item {
    padding: 16px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    font-family: inherit;
    min-height: 88px;
    box-sizing: border-box;
  }
  .m-quick-item:nth-child(-n+3) { border-bottom: 1px solid rgba(0,0,0,0.06); }
  .m-quick-item:not(:nth-child(3n)) { border-right: 1px solid rgba(0,0,0,0.06); }
  .m-quick-item:active { background: #f7f7f7; }
  .m-quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .m-quick-icon svg { width: 20px; height: 20px; }
  .m-quick-item span {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
  }

  .m-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .m-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
  }
  .m-section-link {
    font-size: 12px;
    color: #21C063;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .m-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-ann-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-ann-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 1px;
    letter-spacing: 0.04em;
  }
  .m-ann-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px;
  }
  .m-ann-sub {
    font-size: 11px;
    color: #999;
    margin: 0;
  }

  .m-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-file-icon svg { width: 18px; height: 18px; }
  .m-file-info {
    flex: 1;
    min-width: 0;
  }
  .m-file-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-file-meta {
    font-size: 11px;
    color: #999;
    margin: 0;
  }
  .m-file-chev {
    width: 14px;
    height: 14px;
    color: #ccc;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {

  /* INFO PAGE */
  .m-info {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .m-info-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
  }
  .m-info-header p {
    font-size: 13px;
    color: #999;
    margin: 0;
  }
  .m-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .m-info-card {
    background: #fff;
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid #21C063;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-info-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .m-info-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.04em;
  }
  .m-info-time {
    font-size: 11px;
    color: #aaa;
  }
  .m-info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.4;
  }
  .m-info-card p {
    font-size: 12.5px;
    color: #666;
    margin: 0;
    line-height: 1.6;
  }

  /* HOW TO BOOK */
  .m-htb {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .m-htb-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
  }
  .m-htb-header p {
    font-size: 13px;
    color: #999;
    margin: 0;
  }
  .m-htb-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .m-htb-step {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-htb-num {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #21C063;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .m-htb-text {
    flex: 1;
    min-width: 0;
  }
  .m-htb-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
  }
  .m-htb-text p {
    font-size: 12.5px;
    color: #666;
    margin: 0;
    line-height: 1.6;
  }

  /* CONTACT */
  .m-contact {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .m-contact-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
  }
  .m-contact-header p {
    font-size: 13px;
    color: #999;
    margin: 0;
  }
  .m-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .m-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .m-contact-item:active {
    background: #f7f7f7;
  }
  .m-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-contact-icon svg {
    width: 22px;
    height: 22px;
  }
  .m-contact-info {
    flex: 1;
    min-width: 0;
  }
  .m-contact-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px;
  }
  .m-contact-info p {
    font-size: 12.5px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {

  /* SIC LEVEL STRUCTURE */
  .m-sic-level {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: #F9F9F9;
  }

  .m-sic-wrap {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .m-sic-group-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px;
    padding: 0 4px;
  }

  .m-sic-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }

  .m-sic-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background .12s;
  }
  .m-sic-row:last-child { border-bottom: none; }
  .m-sic-row:active { background: #f7f7f7; }

  .m-sic-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-sic-row-icon svg { width: 18px; height: 18px; }

  .m-sic-row-text {
    flex: 1;
    min-width: 0;
  }
  .m-sic-row-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px;
  }
  .m-sic-row-sub {
    font-size: 11px;
    color: #999;
    margin: 0;
  }
  .m-sic-row-chev {
    width: 14px;
    height: 14px;
    color: #ccc;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {

  /* SIC LEVEL 2 - SUB HEADER */
  .m-sic-sub-header {
    position: sticky;
    top: 0;
    background: #F9F9F9;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    z-index: 10;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .m-sic-back {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #21C063;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .m-sic-back svg { width: 20px; height: 20px; }
  .m-sic-back:active { background: rgba(0,0,0,0.05); }
  .m-sic-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
  }
  .m-sic-breadcrumb b {
    color: #21C063;
    font-weight: 600;
  }

  /* SIC GRID */
  .m-sic-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .m-card-folder, .m-card-file {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .m-card-folder:active, .m-card-file:active {
    background: #fafafa;
  }
  .m-card-thumb {
    aspect-ratio: 2.6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
  }
  .m-card-thumb svg {
    width: 28px;
    height: 28px;
  }
  .m-card-folder .m-card-thumb {
    background: #F9F9F9;
  }
  .m-card-folder .m-card-thumb svg {
    width: 32px;
    height: 32px;
  }
  .m-card-thumb .m-card-ext {
    position: absolute;
    bottom: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.7;
  }
  .m-card-info {
    padding: 10px 12px 12px;
  }
  .m-card-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .m-card-meta {
    font-size: 10.5px;
    color: #999;
    margin: 0;
  }

  /* MORE BUTTON (3 dots) */
  .m-card-more {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    z-index: 2;
  }
  .m-card-more svg {
    width: 14px;
    height: 14px;
    color: #555;
  }
  .m-card-more:active {
    background: #f0f0f0;
  }
}

@media (max-width: 768px) {

  /* SIC LEVEL TRANSITIONS */
  .m-sic-level {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #F9F9F9;
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
  }

  /* Level 1 default visible */
  #m-sic-l1 {
    transform: translateX(0);
  }
  #m-sic-l1.m-sic-pushed {
    transform: translateX(-30%);
  }

  /* Dynamic levels (Level 2+) default off-screen kanan */
  .m-sic-level-dynamic {
    transform: translateX(100%);
    box-shadow: -2px 0 12px rgba(0,0,0,0.05);
  }
  .m-sic-level-dynamic.m-sic-show {
    transform: translateX(0);
  }
  .m-sic-level-dynamic.m-sic-pushed {
    transform: translateX(-30%);
  }

  /* Container page-sic harus relative */
  #m-page-sic {
    position: absolute;
    inset: 0;
    overflow: hidden !important;
  }
}

@media (max-width: 768px) {

  /* TOGGLE BUTTON */
  .m-sic-sub-header {
    justify-content: flex-start;
  }
  .m-sic-breadcrumb {
    flex: 1;
  }
  .m-sic-view-toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .m-sic-view-toggle svg { width: 18px; height: 18px; }
  .m-sic-view-toggle:active { background: rgba(0,0,0,0.05); }

  /* LIST VIEW */
  .m-sic-grid.list-view {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .m-sic-grid.list-view .m-card-folder,
  .m-sic-grid.list-view .m-card-file {
    flex-direction: row;
    align-items: center;
  }
  .m-sic-grid.list-view .m-card-thumb {
    aspect-ratio: 1;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .m-sic-grid.list-view .m-card-thumb svg {
    width: 24px;
    height: 24px;
  }
  .m-sic-grid.list-view .m-card-folder .m-card-thumb svg {
    width: 26px;
    height: 26px;
  }
  .m-sic-grid.list-view .m-card-thumb .m-card-ext {
    display: none;
  }
  .m-sic-grid.list-view .m-card-info {
    flex: 1;
    padding: 8px 12px;
  }
  .m-sic-grid.list-view .m-card-more {
    position: static;
    background: transparent;
    box-shadow: none;
    margin-right: 8px;
    order: 3;
  }
  .m-sic-grid.list-view .m-card-thumb { order: 1; }
  .m-sic-grid.list-view .m-card-info { order: 2; }
}

@media (max-width: 768px) {

  /* ACTION POPOVER */
  .m-action-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
  }
  .m-action-backdrop.show {
    display: block;
  }

  .m-action-popover {
    position: fixed;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 201;
    min-width: 160px;
    padding: 6px;
    display: none;
    opacity: 0;
    transform: scale(0.92);
    transform-origin: top right;
    transition: opacity 0.12s ease, transform 0.12s ease;
  }
  .m-action-popover.show {
    display: block;
    opacity: 1;
    transform: scale(1);
  }

  .m-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    border-radius: 8px;
    width: 100%;
  }
  .m-action-item:active {
    background: rgba(0,0,0,0.05);
  }
  .m-action-item svg {
    width: 18px;
    height: 18px;
    color: #555;
    flex-shrink: 0;
  }
  .m-action-item span {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
  }
}

@media (max-width: 768px) {

  .m-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30,30,30,0.92);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    max-width: 90vw;
  }
  .m-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {

  /* PREVIEW MODAL - SLIDE FROM BOTTOM */
  .fpm-overlay {
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease, visibility 0s linear 0.3s;
  }
  .fpm-overlay:not(.open) {
    display: flex !important;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .fpm-overlay.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease, visibility 0s linear 0s;
  }
}

@media (max-width: 768px) {

  /* SIDEBAR DRAWER */
  .m-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .m-drawer-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  .m-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: #fff;
    z-index: 251;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  }
  .m-drawer.show {
    transform: translateX(0);
  }

  .m-drawer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .m-drawer-header img {
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .m-drawer-brand {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.3;
  }
  .m-drawer-sub {
    font-size: 11px;
    color: #999;
    margin: 2px 0 0;
  }

  .m-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
  }
  .m-drawer-section-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.08em;
    padding: 0 20px;
    margin: 0 0 10px;
  }
  .m-drawer-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: #1a1a1a;
  }
  .m-drawer-item:active {
    background: #f5f5f5;
  }
  .m-drawer-item svg {
    width: 20px;
    height: 20px;
    color: #555;
    flex-shrink: 0;
  }
  .m-drawer-item span {
    font-size: 14px;
    font-weight: 500;
  }

}

@media (max-width: 768px) {

  /* ABOUT PAGE */
  .m-about {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .m-about-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
  }
  .m-about-header p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
  }

  /* COMPANY CARD */
  .m-about-company {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-about-company img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .m-about-company h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
  }
  .m-about-company p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.6;
  }

  /* STATS GRID */
  .m-about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .m-stat-card {
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-stat-label {
    font-size: 11px;
    color: #888;
    margin: 0 0 4px;
    font-weight: 500;
  }
  .m-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .m-stat-sub {
    font-size: 10.5px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
  }
  .m-stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    flex-shrink: 0;
  }

  /* FEATURES LIST */
  .m-about-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .m-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .m-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  .m-feature-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px;
  }
  .m-feature-item p {
    font-size: 11.5px;
    color: #666;
    margin: 0;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {

  /* TERMS PAGE */
  .m-terms {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .m-terms-header {
    margin-bottom: 4px;
  }
  .m-terms-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
  }
  .m-terms-header p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
  }
  .m-terms-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    padding: 14px 16px;
  }
  .m-terms-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
  }
  .m-terms-ico {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-terms-ico svg {
    width: 12px;
    height: 12px;
  }
  .m-terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .m-terms-list li {
    font-size: 12.5px;
    color: #555;
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
  }
  .m-terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #ccc;
  }
  .m-terms-list strong {
    color: #1a1a1a;
    font-weight: 600;
  }
}

@media (max-width: 768px) {

  /* LOGIN PAGE MOBILE */
  .login-page {
    width: 100vw;
    height: 100dvh;
    background: #21C063;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .login-frame {
    width: 100%;
    height: 100%;
    flex-direction: column !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100%;
  }

  /* Sembunyikan panel kiri (deko) di mobile */
  .login-right {
    display: none !important;
  }

  /* Panel login kanan full width */
  .login-left {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    flex: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .login-left > div {
    width: 100% !important;
    max-width: 380px !important;
  }
}


@media (max-width: 768px) {

  /* ADMIN BANNER */
  .m-admin-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: #f59e0b;
    color: #1a1a1a;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 110;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(245,158,11,0.3);
  }
  #mobileApp.m-admin-mode .m-admin-banner {
    display: flex;
  }
  .m-admin-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.02em;
  }
  .m-admin-exit {
    background: rgba(0,0,0,0.12);
    color: #1a1a1a;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
  }
  .m-admin-exit:active {
    background: rgba(0,0,0,0.2);
  }

  /* Saat admin mode, geser header ke bawah */
  #mobileApp.m-admin-mode .m-header {
    top: 36px;
  }
  #mobileApp.m-admin-mode .m-pages {
    top: calc(36px + 56px); /* banner + header */
  }
}

@media (max-width: 768px) {

  /* FLOATING ACTION BUTTON */
  .m-fab {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #21C063;
    color: #fff;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(33,192,99,0.4);
    z-index: 150;
    transition: transform 0.15s ease;
  }
  #mobileApp.m-admin-mode .m-fab.m-fab-show {
    display: flex;
  }
  .m-fab:active {
    transform: scale(0.92);
  }
  .m-fab svg {
    width: 26px;
    height: 26px;
  }

  /* FAB MENU (multi action) */
  .m-fab-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    display: none;
  }
  .m-fab-backdrop.show {
    display: block;
  }
  .m-fab-menu {
    position: fixed;
    bottom: 144px;
    right: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 6px;
    z-index: 200;
    min-width: 180px;
    display: none;
    opacity: 0;
    transform: scale(0.92);
    transform-origin: bottom right;
    transition: opacity 0.12s, transform 0.12s;
  }
  .m-fab-menu.show {
    display: block;
    opacity: 1;
    transform: scale(1);
  }
  .m-fab-menu .m-action-item {
    width: 100%;
  }

  /* DIALOG */
  .m-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .m-dialog-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }
  .m-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: calc(100% - 40px);
    max-width: 360px;
    background: #fff;
    border-radius: 16px;
    z-index: 301;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    overflow: hidden;
  }
  .m-dialog.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .m-dialog-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 18px 20px 10px;
  }
  .m-dialog-body {
    padding: 0 20px 16px;
    font-size: 13px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .m-dialog-body label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
  }
  .m-dialog-body input,
  .m-dialog-body select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
  }
  .m-dialog-body input:focus,
  .m-dialog-body select:focus {
    outline: none;
    border-color: #21C063;
  }
  .m-dialog-actions {
    display: flex;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .m-dialog-btn {
    flex: 1;
    padding: 14px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
  }
  .m-dialog-btn:active {
    background: rgba(0,0,0,0.04);
  }
  .m-dialog-cancel {
    color: #888;
    border-right: 1px solid rgba(0,0,0,0.06);
  }
  .m-dialog-confirm {
    color: #21C063;
  }
}

@media (max-width: 768px) {

  .m-action-item.m-action-danger svg {
    color: #ef4444;
  }
  .m-action-item.m-action-danger span {
    color: #ef4444;
  }
}

@media (max-width: 768px) {

  /* TOMBOL ⋮ DI ROW KATEGORI LEVEL 1 (admin) */
  .m-sic-row-more {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .m-sic-row-more:active {
    background: rgba(0,0,0,0.05);
  }
  .m-sic-row-more svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow: hidden !important;
    height: 100vh;
    height: 100dvh;
  }
}

@media (max-width: 768px) {
  
  /* Chrome Android scroll fix - paksa GPU compositing per element */
  .m-pages {
    transform: translate3d(0,0,0);
  }
  .m-sic-level,
  .m-page {
    transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch;
  }
  
  /* Saat aktif, override dengan transform yang benar */
  #m-sic-l1.m-sic-pushed,
  .m-sic-level-dynamic.m-sic-pushed {
    transform: translate3d(-30%, 0, 0);
  }
  .m-sic-level-dynamic {
    transform: translate3d(100%, 0, 0);
  }
  .m-sic-level-dynamic.m-sic-show {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 768px) {

  .m-pdf-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    z-index: 1;
  }
  .m-pdf-loading p {
    font-size: 13px;
    color: #666;
    margin: 0;
  }
  .m-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(33,192,99,0.2);
    border-top-color: #21C063;
    border-radius: 50%;
    animation: mSpin 0.8s linear infinite;
  }
  @keyframes mSpin {
    to { transform: rotate(360deg); }
  }
}

@media (max-width: 768px) {

  /* GLOBAL SUB HEADER */
  .m-sic-global-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: #F9F9F9;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    z-index: 50;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-sizing: border-box;
  }
  .m-sic-global-header.show {
    display: flex;
  }

  /* Saat global header show, level dinamis padding-top biar tidak ketutup */
  .m-sic-global-header.show ~ .m-sic-level-dynamic {
    top: 52px;
  }

  /* Sub-header lama di level dinamis di-hide */
  .m-sic-level-dynamic .m-sic-sub-header {
    display: none;
  }
}

/* TOAST DESKTOP */
.d-toast {
  position: fixed !important;
  bottom: 32px !important;
  top: auto !important;
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30,30,30,0.92);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  max-width: 90vw;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.d-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* USER MENU DROPDOWN */
.tb-avatar-wrap { position: relative; }
.tb-avatar { cursor: pointer; user-select: none; transition: transform 0.12s, box-shadow 0.12s; }
.tb-avatar:hover { transform: scale(1.04); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.tb-user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 260px; background: #fff;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 8px; z-index: 500;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.tb-user-menu.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
}
.tb-user-menu-header { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; }
.tb-user-menu-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; flex-shrink: 0;
}
.tb-user-menu-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-user-menu-email { font-size: 11.5px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tb-user-menu-divider { height: 1px; background: rgba(0,0,0,0.06); margin: 4px 0; }
.tb-user-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text);
  transition: background 0.12s;
}
.tb-user-menu-item:hover { background: #f5f5f5; }
.tb-user-menu-item svg { color: var(--text3); flex-shrink: 0; }
.tb-user-menu-logout { color: #dc2626; }
.tb-user-menu-logout svg { color: #dc2626; }
.tb-user-menu-logout:hover { background: #fef2f2; }

/* USER MENU PILL */
.tb-user-menu-pill {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* STATE B — EDIT MODE */
.tb-um-edit-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 12px;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.tb-um-back {
  cursor: pointer;
  color: var(--text3);
  flex-shrink: 0;
  border-radius: 4px;
  padding: 2px;
  transition: background 0.12s, color 0.12s;
}
.tb-um-back:hover {
  background: #f0f0f0;
  color: var(--text);
}
.tb-um-edit-fields {
  padding: 4px 4px 8px;
  max-height: 280px;
  overflow-y: auto;
}
.tb-um-field {
  margin-bottom: 10px;
}
.tb-um-field:last-child {
  margin-bottom: 0;
}
.tb-um-field label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text3);
  margin-bottom: 4px;
}
.tb-um-field input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.12s;
}
.tb-um-field input:focus {
  border-color: var(--accent);
}
.tb-um-edit-actions {
  display: flex;
  gap: 6px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(0,0,0,0.06);
  margin-top: 4px;
}
.tb-um-btn-cancel,
.tb-um-btn-save {
  flex: 1;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s;
}
.tb-um-btn-cancel {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--text);
}
.tb-um-btn-cancel:hover {
  background: #f7f7f7;
}
.tb-um-btn-save {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.tb-um-btn-save:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* AVATAR TRIGGER (PILL + NAME + CHEVRON) */
.tb-avatar-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  user-select: none;
  transition: background 0.12s, border-color 0.12s;
}
.tb-avatar-trigger:hover {
  background: #f0f0f0;
  border-color: rgba(0,0,0,0.15);
}
.tb-avatar-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-avatar-chev {
  color: var(--text3);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.tb-avatar-trigger.open .tb-avatar-chev {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  /* PROFILE NEW LAYOUT */
  #m-page-profile.m-active, #m-page-profile-account.m-active {
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
  }
  .m-pf-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 12px;
    background: #F9F9F9;
    border-bottom: 0.5px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .m-pf-back {
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #2F2F2F;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .m-pf-back:active { background: rgba(0,0,0,0.06); }
  .m-pf-title {
    font-size: 16px;
    font-weight: 600;
    color: #2F2F2F;
    flex: 1;
    margin-left: 4px;
  }
  .m-pf-edit-btn {
    background: transparent;
    border: none;
    color: #21C063;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 10px;
    font-family: inherit;
  }
.m-pf-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 90px; }  .m-pf-hero { display: flex; flex-direction: column; align-items: center; padding: 24px 16px 18px; text-align: center; }
  .m-pf-avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: #21C063; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 30px; margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(33,192,99,0.25);
  }
  .m-pf-name { font-size: 18px; font-weight: 600; color: #2F2F2F; margin-bottom: 4px; }
  .m-pf-email { font-size: 13px; color: #888; margin-bottom: 8px; }
  .m-pf-pill { display: inline-block; background: #e8faf1; color: #0F6E56; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
  .m-pf-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0 14px 18px; }
  .m-pf-stat { background: #fff; border-radius: 14px; padding: 12px 8px; text-align: center; border: 0.5px solid rgba(0,0,0,0.05); }
  .m-pf-stat-label { font-size: 10.5px; color: #999; margin-bottom: 4px; }
  .m-pf-stat-value { font-size: 12.5px; font-weight: 600; color: #2F2F2F; }
  .m-pf-section-label { font-size: 11px; font-weight: 600; color: #999; letter-spacing: 0.05em; padding: 12px 18px 6px; text-transform: uppercase; }
  .m-pf-list { background: #fff; margin: 0 12px; border-radius: 14px; overflow: hidden; border: 0.5px solid rgba(0,0,0,0.04); }
  .m-pf-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-top: 0.5px solid rgba(0,0,0,0.05); cursor: pointer; transition: background 0.15s; }
  .m-pf-item:first-child { border-top: none; }
  .m-pf-item:active { background: rgba(0,0,0,0.03); }
  .m-pf-icon { width: 32px; height: 32px; border-radius: 8px; background: #f5f5f3; display: flex; align-items: center; justify-content: center; color: #2F2F2F; flex-shrink: 0; }
  .m-pf-item-label { flex: 1; font-size: 14px; font-weight: 500; color: #2F2F2F; }
  .m-pf-chev { color: #ccc; flex-shrink: 0; }
  .m-pa-field { padding: 12px 14px; border-top: 0.5px solid rgba(0,0,0,0.05); }
  .m-pa-field:first-child { border-top: none; }
  .m-pa-field label { display: block; font-size: 11px; color: #888; margin-bottom: 6px; }
  .m-pa-field input {
    width: 100%; padding: 8px 0; border: none; background: transparent;
    font-size: 14px; font-family: inherit; color: #2F2F2F; outline: none;
    box-sizing: border-box; border-bottom: 1px solid transparent;
    padding-bottom: 7px; transition: border-color 0.15s;
  }
  .m-pa-field input:focus { border-bottom-color: #21C063; }

  /* DRAWER USER AREA */
  .m-drawer-user-area { background: linear-gradient(135deg, #21C063, #1aad56); padding: 14px 14px 18px; }
  .m-drawer-user-card { background: rgba(255,255,255,0.18); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; transition: background 0.15s; }
  .m-drawer-user-card:active { background: rgba(255,255,255,0.28); }
  .m-drawer-user-card .m-drawer-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
  .m-drawer-user-info { flex: 1; min-width: 0; }
  .m-drawer-user-name { font-size: 13.5px; font-weight: 600; color: #fff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-drawer-user-email { font-size: 11px; color: rgba(255,255,255,0.85); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-drawer-user-chev { color: rgba(255,255,255,0.7); flex-shrink: 0; }
  .m-drawer-item-danger { color: #dc2626 !important; }
  .m-drawer-item-danger svg { color: #dc2626 !important; stroke: #dc2626 !important; }

  .m-hamburger[data-mode="back"] { position: relative; }
  .m-hamburger[data-mode="back"] svg { display: none; }
  .m-hamburger[data-mode="back"]::after { content: ''; display: block; width: 10px; height: 10px; border-left: 2px solid #2F2F2F; border-bottom: 2px solid #2F2F2F; transform: rotate(45deg); margin: 0 auto; }

  /* HIDE DESKTOP DRAWER IN MOBILE */
  .d-pf-drawer, .d-pf-backdrop { display: none !important; }
}

/* DESKTOP PROFILE DRAWER (di luar media query) */
.d-pf-backdrop { display: none; }
.d-pf-drawer {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: 92vw;
  background: #F9F9F9;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
  overflow: hidden;
  height: 540px;
  max-height: 80vh;
}
.d-pf-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
}
.d-pf-drawer.open { transform: translateX(0); }

.d-pf-level { position: absolute; inset: 0; display: flex; flex-direction: column; background: #F9F9F9; transition: transform 0.25s ease; }
.d-pf-level-account { transform: translateX(100%); }
.d-pf-drawer.show-account .d-pf-level-main { transform: translateX(-20%); opacity: 0.5; }
.d-pf-drawer.show-account .d-pf-level-account { transform: translateX(0); }

.d-pf-header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: #F9F9F9; border-bottom: 0.5px solid rgba(0,0,0,0.06); flex-shrink: 0; }
.d-pf-back, .d-pf-close { background: transparent; border: none; cursor: pointer; padding: 6px; color: #2F2F2F; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: background 0.12s; }
.d-pf-back:hover, .d-pf-close:hover { background: rgba(0,0,0,0.06); }
.d-pf-title { font-size: 15px; font-weight: 600; color: #2F2F2F; flex: 1; }
.d-pf-scroll { flex: 1; overflow-y: auto; padding: 16px; }

.d-pf-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 16px 18px; }
.d-pf-avatar { width: 80px; height: 80px; border-radius: 50%; background: #21C063; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 26px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(33,192,99,0.25); }
.d-pf-name { font-size: 16px; font-weight: 600; color: #2F2F2F; margin-bottom: 4px; }
.d-pf-email { font-size: 12.5px; color: #888; margin-bottom: 8px; }
.d-pf-pill { display: inline-block; background: #e8faf1; color: #0F6E56; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 500; }

.d-pf-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.d-pf-stat { background: #fff; border-radius: 12px; padding: 12px 8px; text-align: center; border: 0.5px solid rgba(0,0,0,0.05); }
.d-pf-stat-label { font-size: 10.5px; color: #999; margin-bottom: 4px; }
.d-pf-stat-value { font-size: 12.5px; font-weight: 600; color: #2F2F2F; }

.d-pf-list { background: #fff; border-radius: 12px; overflow: hidden; border: 0.5px solid rgba(0,0,0,0.04); }
.d-pf-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 0.5px solid rgba(0,0,0,0.05); cursor: pointer; transition: background 0.12s; }
.d-pf-item:first-child { border-top: none; }
.d-pf-item:hover { background: rgba(0,0,0,0.02); }
.d-pf-icon { width: 32px; height: 32px; border-radius: 8px; background: #f5f5f3; display: flex; align-items: center; justify-content: center; color: #2F2F2F; flex-shrink: 0; }
.d-pf-item-label { flex: 1; font-size: 13.5px; font-weight: 500; color: #2F2F2F; }
.d-pf-chev { color: #ccc; flex-shrink: 0; }
.d-pf-item-danger .d-pf-item-label { color: #dc2626; }
.d-pf-icon-danger { background: #fef2f2; }
.d-pf-icon-danger svg { color: #dc2626; }

.d-pa-field { padding: 12px 14px; border-top: 0.5px solid rgba(0,0,0,0.05); }
.d-pa-field:first-child { border-top: none; }
.d-pa-field label { display: block; font-size: 11px; color: #888; margin-bottom: 6px; }
.d-pa-field input { width: 100%; padding: 8px 0; border: none; background: transparent; font-size: 14px; font-family: inherit; color: #2F2F2F; outline: none; box-sizing: border-box; border-bottom: 1px solid transparent; padding-bottom: 7px; transition: border-color 0.15s; }
.d-pa-field input:focus { border-bottom-color: #21C063; }


@media (max-width: 768px) {
  .m-home-new {
    background: #F9F9F9;
    min-height: 100%;
  }
  .m-hero {
    background: linear-gradient(135deg, #1aad56 0%, #21C063 100%);
    padding: 14px 16px 76px;
    position: relative;
    overflow: hidden;
  }
  .m-hero::before {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
  }
  .m-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
  }
  .m-hero-menu {
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .m-hero-menu svg {
    width: 24px;
    height: 24px;
  }
  .m-hero-logo {
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
  }
  .m-hero-logo img {
    height: 28px;
    width: auto;
  }
  .m-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
  }
  .m-hero-greeting {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
  }
  .m-hero-sub {
    font-size: 14px;
    opacity: 1;
    font-weight: 500;
    margin-top: 8px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);

  }
  .m-quick-card {
    margin: -56px 28px 0;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 5;
  }
  .m-quick-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .m-quick-title {
    font-size: 13px;
    font-weight: 600;
    color: #2F2F2F;
  }
  .m-quick-date {
    font-size: 11px;
    color: #888;
  }
  .m-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .m-quick-sub {
    padding: 14px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
  }
  .m-quick-sub-green { background: #e8faf1; color: #0F6E56; }
  .m-quick-sub-red { background: #fee2e2; color: #991b1b; }
  .m-quick-sub-icon {
    position: relative;
  }
  .m-quick-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
  }
  .m-quick-sub-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-quick-sub-label {
    font-size: 11px;
    opacity: 0.75;
  }
  .m-quick-sub-value {
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
  }
  .m-home-section {
    padding: 22px 14px 4px;
  }
  .m-home-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #2F2F2F;
    margin-bottom: 14px;
    padding: 0 4px;
  }
  .m-home-section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 4px;
  }
  .m-home-section-link {
    background: transparent;
    border: none;
    font-size: 12.5px;
    color: #21C063;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
  }
  .m-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 4px;
  }
  .m-cat-cell {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
  }
  .m-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .m-cat-cell span {
    font-size: 11px;
    color: #2F2F2F;
    text-align: center;
    line-height: 1.2;
  }
  .m-act-list {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
  }
  .m-act-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-top: 0.5px solid rgba(0,0,0,0.05);
  }
  .m-act-item:first-child {
    border-top: none;
  }
  .m-act-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-act-info {
    flex: 1;
    min-width: 0;
  }
  .m-act-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #2F2F2F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-act-meta {
    font-size: 11.5px;
    color: #888;
    margin-top: 2px;
  }

  body {
    background: #21C063 !important;
  }

  .m-pages {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  #mobileApp {
    padding-top: 0 !important;
  }

  #mobileApp:not(.show-header-pages) 
  
  .m-pages {
    inset: 0 0 80px !important;
  }#mobileApp:not(.show-header-pages) .m-pages {
    inset: 0 0 64px !important;
  }
  #mobileApp.show-header-pages .m-pages {
    inset: 56px 0 64px;
  }
  #m-page-profile.m-active, 
  #m-page-profile-account.m-active {
    inset: 0 !important;
  }

  html {
    background: #21C063 !important;
  }
  body {
    background: #F3F3F3;
  }

  .m-hero {
    padding-top: calc(14px + env(safe-area-inset-top));
    margin-top: calc(-1 * env(safe-area-inset-top));
  }

  body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 0;
    right: 0;
    height: 200px;
    background: #21C063;
    z-index: -1;
  }

/* HERO SEARCH BUTTON */
  .m-hero-content {
    text-align: center;
  }
  .m-hero-content .m-hero-greeting,
  .m-hero-content .m-hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .m-hero-search {
    margin: 14px auto 0;
    max-width: 280px;
    width: 80%;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    color: #888;
  }
  .m-hero-search svg {
    color: #888;
    flex-shrink: 0;
  }
  .m-hero-search span {
    font-size: 13px;
    flex: 1;
    text-align: left;
  }

  /* SEARCH PAGE */
  #m-page-search.m-active {
    background: #F9F9F9;
    display: flex;
    flex-direction: column;
  }
  .m-search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    background: #fff;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
  }
  .m-search-back {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F2F2F;
  }
  .m-search-input-wrap {
    flex: 1;
    background: #F3F3F3;
    border-radius: 999px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .m-search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #2F2F2F;
  }
  .m-search-clear {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .m-search-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .m-search-section {
    padding: 16px 14px;
  }
  .m-search-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 4px;
  }
  .m-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .m-search-tag {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    font-family: inherit;
  }
  .m-search-tag:active {
    background: #f0f0f0;
  }
  .m-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
  }
  .m-search-item:active {
    background: rgba(0,0,0,0.03);
  }
  .m-search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-search-item-info {
    flex: 1;
    min-width: 0;
  }
  .m-search-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #2F2F2F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-search-item-meta {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
  }
  .m-search-highlight {
    background: #fef3c7;
    padding: 0 1px;
    border-radius: 2px;
  }
  .m-search-empty-state {
    padding: 60px 20px;
    text-align: center;
  }
  .m-search-empty-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .m-search-empty-sub {
    font-size: 12px;
    color: #888;
  }

  .m-info-new {
    padding: 14px;
  }
  .m-info-list-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .m-info-card-new {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
  }
  .m-info-card-new:active {
    background: #fafafa;
  }
  .m-info-chips {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
  }
  .m-info-chip {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .m-info-chip-penting {
    background: #ef4444;
    color: #fff;
  }
  .m-info-chip-info {
    background: #21C063;
    color: #fff;
  }
  .m-info-title {
    font-size: 13px;
    font-weight: 700;
    color: #2F2F2F;
    margin: 0 0 4px;
    line-height: 1.3;
  }
  .m-info-preview {
    font-size: 11px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.45;
  }
  .m-info-meta {
    font-size: 10px;
    color: #999;
  }

  .m-contact-new {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .m-contact-section-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 4px;
  }
  .m-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-contact-person {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .m-contact-person:active {
    background: #fafafa;
  }
  .m-contact-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1aad56, #21C063);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
  }
  .m-contact-person-info {
    flex: 1;
    min-width: 0;
  }
  .m-contact-person-name {
    font-size: 13px;
    font-weight: 600;
    color: #2F2F2F;
  }
  .m-contact-person-phone {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
  }
  .m-contact-chat-btn {
    background: #25D366;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .m-contact-row {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
  }
  .m-contact-row-info {
    flex: 1;
    min-width: 0;
  }
  .m-contact-row-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #2F2F2F;
    word-break: break-all;
  }
  .m-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .m-contact-office {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px;
  }
  .m-contact-office-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  .m-contact-office-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #2F2F2F;
  }
  .m-contact-office-addr {
    font-size: 11.5px;
    color: #666;
    line-height: 1.5;
    padding-left: 46px;
  }
/* ABOUT NEW */
  .m-about-new {
    background: #F9F9F9;
  }
  .m-about-hero {
    background: linear-gradient(135deg, #1aad56 0%, #21C063 100%);
    padding: 28px 18px;
    text-align: center;
    color: #fff;
  }
  .m-about-hero-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
    object-fit: contain;
    margin-bottom: 12px;
  }
  .m-about-hero-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .m-about-hero-tag {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 4px;
  }
  .m-about-section {
    padding: 18px 14px 4px;
  }
  .m-about-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 0 4px;
  }
  .m-about-text {
    font-size: 12.5px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px;
    padding: 0 4px;
  }

  .m-about-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .m-about-service {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .m-about-service-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-about-service span {
    font-size: 11px;
    font-weight: 600;
    color: #2F2F2F;
    line-height: 1.3;
  }

  .m-about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 4px;
  }
  .m-about-chip {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11.5px;
    color: #2F2F2F;
    font-weight: 500;
  }

  .m-about-packages {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .m-about-package {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #2F2F2F;
  }
  .m-about-package-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
  }

  .m-about-tours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border-radius: 12px;
    border: 0.5px solid rgba(0,0,0,0.06);
    overflow: hidden;
  }
  .m-about-tour {
    padding: 10px 14px;
    font-size: 12px;
    color: #2F2F2F;
    border-top: 0.5px solid rgba(0,0,0,0.05);
  }
  .m-about-tour:first-child {
    border-top: none;
  }

  .m-about-transports {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .m-about-transport {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 12px 14px;
  }
  .m-about-transport-label {
    font-size: 11px;
    font-weight: 700;
    color: #21C063;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }
  .m-about-transport-options {
    font-size: 12.5px;
    color: #2F2F2F;
    font-weight: 500;
  }

  .m-about-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 4px;
  }
  .m-about-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .m-about-member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1aad56, #21C063);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
  }
  .m-about-member span {
    font-size: 10.5px;
    color: #2F2F2F;
    text-align: center;
  }

  .m-about-legal {
    padding: 22px 14px 30px;
    text-align: center;
  }
  .m-about-legal-row {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
  }

  

}

/* DESKTOP HOME V2 */
.d-hero {
  background: linear-gradient(135deg, #1aad56 0%, #21C063 100%);
  padding: 36px 32px 64px;
  position: relative;
  overflow: relative;
  border-radius: 0;
  margin: -36px -80px 0;
}
.d-hero::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.d-hero::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.d-hero-greeting {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  text-align: center;
  text-align: center;
  max-width: 100%;
}
.d-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.92);
  margin-top: 4px;
  max-width: 60%;
  line-height: 2.5;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%;
}

.d-quick-card {
  margin: -40px auto 28px;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 18px;
  align-items: center;
}
.d-quick-head {
  padding-right: 18px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.d-quick-title {
  font-size: 14px;
  font-weight: 700;
  color: #2F2F2F;
}
.d-quick-date {
  font-size: 11.5px;
  color: #888;
  margin-top: 4px;
}
.d-quick-row {
  display: contents;
}
.d-quick-sub {
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
}
.d-quick-sub:hover {
  transform: translateY(-2px);
}
.d-quick-sub-green {
  background: #e8faf1;
  color: #0F6E56;
}
.d-quick-sub-red {
  background: #fee2e2;
  color: #991b1b;
}
.d-quick-sub-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.d-quick-icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}
.d-quick-sub-label {
  font-size: 11px;
  opacity: 0.75;
}
.d-quick-sub-value {
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 2px;
}

/* TOPBAR GREEN (HOME) */
.topbar.topbar-home {
  background: linear-gradient(135deg, #1aad56 0%, #21C063 100%);
  border-bottom: none;
}
.topbar.topbar-home #breadcrumb,
.topbar.topbar-home #breadcrumb strong {
  color: #fff;
}
.topbar.topbar-home .tb-btn {
  color: #fff;
}
.topbar.topbar-home .tb-avatar {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.topbar.topbar-home .tb-avatar-trigger {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.topbar.topbar-home .tb-avatar-trigger:hover {
  background: rgba(255,255,255,0.28);
}
.topbar.topbar-home .tb-avatar-trigger .tb-name {
  color: #fff;
}
.topbar.topbar-home .tb-avatar-trigger svg {
  color: #fff;
}

/* DESKTOP SEARCH DROPDOWN */
.d-search-dropdown {
  position: fixed;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  max-height: 480px;
  overflow-y: auto;
  z-index: 9000;
  min-width: 320px;
}
.d-search-section {
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.d-search-section:first-child {
  border-top: none;
}
.d-search-section-title {
  padding: 6px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.d-search-item {
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.d-search-item:hover {
  background: #f5f5f5;
}
.d-search-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.d-search-item-icon svg {
  width: 15px;
  height: 15px;
}
.d-search-item-info {
  flex: 1;
  min-width: 0;
}
.d-search-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #2F2F2F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d-search-item-meta {
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}
.d-search-highlight {
  background: #fef3c7;
  padding: 0 1px;
  border-radius: 2px;
}
.d-search-empty {
  padding: 24px 16px;
  text-align: center;
  color: #888;
  font-size: 12.5px;
  background: #fff;
}

/* DESKTOP CATEGORY GRID HOME */
.d-cat-section {
  padding: 28px 120px 12px;
}
.d-cat-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #2F2F2F;
  margin-bottom: 18px;
}
.d-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.d-cat-cell {
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.d-cat-cell:hover {
  background: rgba(0,0,0,0.03);
  transform: none;
  box-shadow: none;
}
.d-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-cat-cell span {
  font-size: 13px;
  font-weight: 600;
  color: #2F2F2F;
}

/* HERO SEARCH BAR (HOME DESKTOP) */
.d-hero-search-wrap {
  position: relative;
  max-width: 720px;
  margin: 20px auto 0;
  z-index: 100;
}
.d-hero-search-bar {
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.d-hero-search-bar svg {
  color: #888;
  flex-shrink: 0;
}
.d-hero-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  font-family: inherit;
  color: #2F2F2F;
}
.d-hero-search-bar input::placeholder {
  color: #999;
}
.d-hero-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.topbar.topbar-home #topbarSearchWrap { visibility: hidden !important; }
.topbar:not(.topbar-home) #topbarSearchWrap { visibility: visible; }

#topbarSearchWrap {
  opacity: 1;
  pointer-events: auto;
}
.topbar.topbar-home #topbarSearchWrap {
  opacity: 0 !important;
  pointer-events: none;
}

/* DESKTOP INFO PAGE */
.d-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.d-info-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.d-info-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.d-info-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.d-info-chip {
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.d-info-chip-penting {
  background: #ef4444;
  color: #fff;
}
.d-info-chip-info {
  background: #21C063;
  color: #fff;
}
.d-info-title {
  font-size: 15px;
  font-weight: 700;
  color: #2F2F2F;
  margin: 0 0 6px;
  line-height: 1.3;
}
.d-info-preview {
  font-size: 12.5px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.5;
}
.d-info-meta {
  font-size: 11px;
  color: #999;
}

/* DESKTOP CONTACT */
.d-contact-section {
  margin-bottom: 24px;
}
.d-contact-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.d-contact-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.d-contact-person {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.d-contact-person:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.d-contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1aad56, #21C063);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.d-contact-person-info {
  flex: 1;
  min-width: 0;
}
.d-contact-person-name {
  font-size: 14px;
  font-weight: 600;
  color: #2F2F2F;
}
.d-contact-person-phone {
  font-size: 12px;
  color: #888;
  margin-top: 1px;
}
.d-contact-chat-btn {
  background: #25D366;
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.d-contact-row {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.d-contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.d-contact-row-info {
  flex: 1;
}
.d-contact-row-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #2F2F2F;
}
.d-contact-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.d-contact-office {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px;
}
.d-contact-office-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.d-contact-office-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #2F2F2F;
}
.d-contact-office-addr {
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
  padding-left: 50px;
}

/* DESKTOP ABOUT */
.d-about-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #2F2F2F;
  margin: 24px 0 14px;
  letter-spacing: -0.01em;
}
.d-about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.d-about-service-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.d-about-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.d-about-service-icon svg {
  width: 20px;
  height: 20px;
}
.d-about-service-name {
  font-size: 13px;
  font-weight: 700;
  color: #2F2F2F;
  margin-bottom: 2px;
}
.d-about-service-sub {
  font-size: 11.5px;
  color: #888;
}
.d-about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.d-about-chip {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: #2F2F2F;
  font-weight: 500;
}
.d-about-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.d-about-package {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #2F2F2F;
}
.d-about-package-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.d-about-transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.d-about-transport {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px 16px;
}
.d-about-transport-label {
  font-size: 11px;
  font-weight: 700;
  color: #21C063;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.d-about-transport-options {
  font-size: 13px;
  color: #2F2F2F;
  font-weight: 500;
}
.d-about-team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 8px;
}
.d-about-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.d-about-member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1aad56, #21C063);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
}
.d-about-member span {
  font-size: 11.5px;
  color: #2F2F2F;
  font-weight: 500;
}