/* WMS Hub — Main App Styles */
        :root {
            --bg: #000000; --bg-card: rgba(28,28,30,0.72); --bg-card-hover: rgba(44,44,46,0.8);
            --bg-card-solid: #1c1c1e; --bg-secondary: #2c2c2e; --bg-tertiary: #3a3a3c;
            --border: rgba(255,255,255,0.08); --border-light: rgba(255,255,255,0.12);
            --text: #f5f5f7; --text-secondary: #86868b;
            --accent: #0a84ff; --accent-glow: rgba(10,132,255,0.15);
            --green: #30d158; --green-glow: rgba(48,209,88,0.15);
            --orange: #ff9f0a; --orange-glow: rgba(255,159,10,0.15);
            --red: #ff453a; --purple: #bf5af2; --radius: 16px;
            --shadow-card: 0 2px 16px rgba(0,0,0,0.3);
        }
        * { margin:0; padding:0; box-sizing:border-box; }
        body { font-family:'Geologica',sans-serif; background:var(--bg); color:var(--text); min-height:100vh; overflow-x:hidden; position:relative; }
        body::before { content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
            background:
                radial-gradient(ellipse 60% 50% at 20% 10%, rgba(255,255,255,0.03) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 80% 85%, rgba(255,255,255,0.02) 0%, transparent 55%);
        }
        body > * { position:relative; z-index:1; }
        .loading-screen { position:fixed; inset:0; background:#000; display:flex; flex-direction:column; align-items:center; justify-content:center; z-index:1000; transition:opacity .5s,visibility .5s; }
        .loading-screen.hidden { opacity:0; visibility:hidden; pointer-events:none; }
        .loading-logo { width:160px; height:160px; border-radius:36px; margin-bottom:16px; }
        .loading-brand { font-size:32px; font-weight:700; background:linear-gradient(135deg,#f5f5f7,#86868b); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:8px; letter-spacing:2px; }
        .loading-scene { position:relative; width:240px; height:80px; margin:20px 0; }
        .loading-road { position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--border); border-radius:1px; }
        .loading-road::after { content:''; position:absolute; top:-1px; left:0; height:1px; width:40%; background:var(--accent); animation:roadGlow 1.5s ease-in-out infinite; }
        @keyframes roadGlow { 0%{left:-40%;opacity:0} 50%{opacity:1} 100%{left:100%;opacity:0} }
        .loading-forklift { position:absolute; bottom:2px; animation:forkliftMove 3s ease-in-out infinite; }
        .loading-forklift svg { width:64px; height:50px; }
        @keyframes forkliftMove { 0%{left:-20%;opacity:0} 10%{opacity:1} 50%{left:35%} 90%{opacity:1} 100%{left:105%;opacity:0} }
        .loading-boxes { position:absolute; bottom:6px; right:20px; display:flex; gap:3px; }
        .loading-box { width:14px; height:14px; background:var(--text-secondary); border-radius:3px; opacity:0.2; animation:boxPulse 1.5s ease-in-out infinite; }
        .loading-box:nth-child(2) { animation-delay:.2s; }
        .loading-box:nth-child(3) { animation-delay:.4s; }
        @keyframes boxPulse { 0%,100%{opacity:0.2;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.1)} }
        .loading-text { margin-top:8px; color:var(--text-secondary); font-size:13px; }
        .loading-dots::after { content:''; animation:dots 1.5s steps(4,end) infinite; }
        @keyframes dots { 0%{content:''} 25%{content:'.'} 50%{content:'..'} 75%{content:'...'} }
        @keyframes spin { to { transform:rotate(360deg); } }
        .auth-screen { display:none; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; padding:24px; }
        .auth-screen.active { display:flex; }
        .auth-icon { width:88px; height:88px; background:linear-gradient(145deg,#1c1c1e,#2c2c2e); border-radius:22px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; box-shadow:0 8px 32px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,0.06); }
        .auth-logo { width:160px; height:160px; border-radius:36px; margin-bottom:16px; }
        .auth-title { font-size:22px; font-weight:600; margin-bottom:8px; }
        .auth-subtitle { color:var(--text-secondary); font-size:14px; text-align:center; margin-bottom:16px; }
        .auth-error { background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3); color:var(--red); padding:12px 16px; border-radius:10px; font-size:13px; margin-bottom:16px; display:none; }
        .auth-error.show { display:block; }
        .auth-form { width:100%; max-width:300px; display:flex; flex-direction:column; gap:10px; }
        .auth-input { width:100%; padding:14px 16px; background:rgba(118,118,128,0.18); border:1px solid transparent; border-radius:12px; color:var(--text); font-family:inherit; font-size:15px; outline:none; transition:background .2s, border-color .2s; }
        .auth-input:focus { background:rgba(118,118,128,0.24); border-color:rgba(255,255,255,0.3); }
        .auth-input::placeholder { color:var(--text-secondary); }
        .auth-btn { width:100%; padding:14px; background:rgba(255,255,255,0.9); color:#000; border:none; border-radius:12px; font-family:inherit; font-size:15px; font-weight:600; cursor:pointer; box-shadow:0 4px 20px rgba(255,255,255,.1); transition:transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s, background .2s; margin-top:4px; }
        .auth-btn:active { transform:scale(0.97); }
        .auth-btn:disabled { opacity:0.5; cursor:not-allowed; }
        .auth-or { color:var(--text-secondary); font-size:12px; text-align:center; margin:8px 0; }
        .auth-logout-btn { background:none; border:1px solid var(--border); color:var(--text-secondary); padding:10px; border-radius:10px; font-family:inherit; font-size:12px; cursor:pointer; margin-top:8px; }
        .app { display:none; } .app.active { display:block; }
        .header { padding:16px 20px 12px; background:var(--bg-card-solid); border-bottom:1px solid var(--border); }
        .header-top { display:flex; justify-content:space-between; align-items:center; }
        .company-info { display:flex; align-items:center; gap:10px; }
        .company-avatar { width:34px; height:34px; border-radius:10px; background:rgba(118,118,128,0.3); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:var(--text); letter-spacing:0.5px; flex-shrink:0; }
        .company-name { font-size:17px; font-weight:600; letter-spacing:-0.2px; }
        .company-badge { font-size:10px; color:var(--green); background:var(--green-glow); padding:3px 8px; border-radius:20px; font-weight:500; }
        .lang-switcher { display:flex; gap:1px; background:rgba(118,118,128,0.24); border-radius:8px; padding:2px; }
        .lang-btn { padding:4px 8px; background:none; border:none; color:var(--text-secondary); font-family:inherit; font-size:10px; font-weight:600; border-radius:7px; cursor:pointer; text-transform:uppercase; letter-spacing:0.5px; transition:all .2s; }
        .lang-btn.active { background:rgba(118,118,128,0.4); color:var(--text); }
        .header-right { display:flex; align-items:center; gap:8px; }
        .logout-btn { width:28px; height:28px; display:flex; align-items:center; justify-content:center; background:none; border:1px solid var(--border); border-radius:8px; color:var(--text-secondary); cursor:pointer; transition:all .2s; -webkit-tap-highlight-color:transparent; }
        .logout-btn:active { background:rgba(255,69,58,0.15); color:var(--red); border-color:rgba(255,69,58,0.3); }
        /* Bottom Tab Bar */
        .nav { display:flex; gap:0; padding:4px 8px 0; background:rgba(0,0,0,.82); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); border-radius:0; position:fixed; bottom:0; left:0; right:0; z-index:100; border-top:1px solid var(--border); padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 16px); }
        .nav-btn { flex:1; min-width:0; padding:6px 0 2px; background:none; border:none; color:var(--text-secondary); font-family:inherit; font-size:10px; font-weight:400; border-radius:0; cursor:pointer; transition:color .2s; display:flex; flex-direction:column; align-items:center; gap:2px; -webkit-tap-highlight-color:transparent; overflow:hidden; }
        .nav-btn span { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:0 1px; }
        .nav-btn svg { width:22px; height:22px; }
        .nav-btn.active { color:#fff; font-weight:500; }
        .content { padding:12px 16px 96px; }
        .page { display:none; animation:fadeIn .3s ease; } .page.active { display:block; }
        /* Skeleton loading */
        @keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
        .skeleton { background:linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%); background-size:200% 100%; animation:shimmer 1.5s ease-in-out infinite; border-radius:8px; }
        .skeleton-text { height:14px; margin-bottom:8px; }
        .skeleton-title { height:20px; width:60%; margin-bottom:10px; }
        .skeleton-card { height:100px; border-radius:var(--radius); margin-bottom:8px; }
        .skeleton-stat { height:120px; border-radius:var(--radius); }
        /* Pull-to-Refresh */
        .ptr-indicator { position:fixed; top:60px; left:50%; transform:translateX(-50%) translateY(-60px); z-index:90; width:36px; height:36px; border-radius:50%; background:var(--bg-card-solid); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; box-shadow:0 2px 12px rgba(0,0,0,0.4); transition:transform .25s cubic-bezier(.32,.72,0,1), opacity .2s; opacity:0; pointer-events:none; }
        .ptr-indicator.visible { opacity:1; }
        .ptr-indicator.refreshing .ptr-spinner { animation:spin .8s linear infinite; }
        .ptr-spinner { width:18px; height:18px; border:2px solid var(--border-light); border-top-color:var(--accent); border-radius:50%; transition:transform .2s; }
        .app-footer { padding:16px 20px 24px; text-align:center; font-size:10px; color:var(--text-secondary); opacity:0.5; letter-spacing:0.3px; }
        @keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
        .stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:24px; }
        .stat-card { background:var(--bg-card); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:1px solid var(--border); border-radius:var(--radius); padding:16px; position:relative; overflow:hidden; transition:transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s; box-shadow:var(--shadow-card); }
        .stat-card:active { transform:scale(0.96); }
        .stat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:rgba(255,255,255,0.12); }
        .stat-icon { margin-bottom:8px; color:var(--text-secondary); display:flex; }
        .stat-icon svg { width:20px; height:20px; }
        .stat-value { font-size:28px; font-weight:700; line-height:1; letter-spacing:-0.5px; }
        .stat-label { font-size:11px; color:var(--text-secondary); margin-top:6px; letter-spacing:0.2px; }
        .quick-actions { display:flex; gap:10px; margin-bottom:20px; }
        .quick-action-card { flex:1; display:flex; align-items:center; gap:10px; padding:14px 16px; background:var(--bg-card); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:1px solid var(--border); border-radius:var(--radius); cursor:pointer; transition:transform .25s cubic-bezier(.4,0,.2,1), background .2s; box-shadow:var(--shadow-card); font-family:inherit; font-size:13px; font-weight:500; color:var(--text); -webkit-tap-highlight-color:transparent; }
        .quick-action-card:active { background:var(--bg-card-hover); transform:scale(0.96); }
        .quick-action-card svg { flex-shrink:0; color:var(--accent); }
        .report-card { background:var(--bg-card); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
        .report-card-header { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
        .report-card-icon { width:44px; height:44px; border-radius:12px; background:rgba(10,132,255,0.12); display:flex; align-items:center; justify-content:center; color:var(--accent); flex-shrink:0; }
        .report-card-title { font-size:15px; font-weight:600; }
        .report-card-desc { font-size:12px; color:var(--text-secondary); margin-top:2px; }
        .report-btn { width:100%; padding:12px; background:var(--accent); color:#fff; border:none; border-radius:12px; font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; display:flex; align-items:center; justify-content:center; gap:8px; transition:all .2s; -webkit-tap-highlight-color:transparent; }
        .report-btn:active { transform:scale(0.97); opacity:0.85; }
        .report-btn:disabled { opacity:0.5; pointer-events:none; }
        .report-status { font-size:12px; color:var(--text-secondary); text-align:center; margin-top:8px; min-height:16px; }
        .section-title { font-size:15px; font-weight:600; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
        .section-title svg { width:18px; height:18px; color:var(--text-secondary); flex-shrink:0; }
        .search-bar { position:relative; margin-bottom:16px; }
        .search-bar input { width:100%; padding:12px 16px 12px 42px; background:rgba(118,118,128,0.18); border:none; border-radius:12px; color:var(--text); font-family:inherit; font-size:14px; outline:none; transition:background .2s; }
        .search-bar input:focus { background:rgba(118,118,128,0.28); }
        .search-bar input::placeholder { color:var(--text-secondary); }
        .search-bar .search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--text-secondary); display:flex; }
        .search-bar .search-icon svg { width:16px; height:16px; }
        .product-card { background:var(--bg-card); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; margin-bottom:8px; cursor:pointer; transition:transform .25s cubic-bezier(.4,0,.2,1), background .2s; box-shadow:var(--shadow-card); }
        .product-card:active { background:var(--bg-card-hover); transform:scale(0.97); }
        .product-header { display:flex; justify-content:space-between; align-items:flex-start; }
        .product-name { font-size:14px; font-weight:600; }
        .product-sku { font-size:11px; color:var(--text-secondary); margin-top:2px; }
        .product-qty { font-size:18px; font-weight:700; color:var(--accent); }
        .product-meta { display:flex; gap:12px; margin-top:8px; }
        .product-meta-item { font-size:11px; color:var(--text-secondary); display:flex; align-items:center; gap:4px; }
        .product-progress { margin-top:10px; height:3px; background:rgba(255,255,255,0.06); border-radius:2px; overflow:hidden; }
        .product-progress-bar { height:100%; border-radius:2px; background:var(--accent); transition:width .6s cubic-bezier(.4,0,.2,1); }
        .filter-row { display:flex; gap:0; margin-bottom:12px; background:rgba(118,118,128,0.24); border-radius:10px; padding:2px; }
        .filter-btn { flex:1; padding:7px 12px; background:none; border:none; border-radius:8px; color:var(--text-secondary); font-family:inherit; font-size:13px; font-weight:500; cursor:pointer; white-space:nowrap; transition:all .2s; }
        .filter-btn.active { background:rgba(118,118,128,0.45); color:var(--text); box-shadow:0 1px 4px rgba(0,0,0,0.2); }
        .date-filter-row { display:flex; gap:8px; margin-bottom:12px; align-items:center; flex-wrap:wrap; }
        .date-input { padding:8px 12px; background:rgba(118,118,128,0.18); border:1px solid transparent; border-radius:10px; color:var(--text); font-family:inherit; font-size:12px; outline:none; width:130px; transition:background .2s; }
        .date-input:focus { background:rgba(118,118,128,0.28); border-color:var(--accent); }
        .date-input::-webkit-calendar-picker-indicator { filter:invert(0.7); }
        .date-label { font-size:11px; color:var(--text-secondary); }
        .date-presets { display:flex; gap:6px; margin-bottom:12px; overflow-x:auto; }
        .date-preset { padding:6px 12px; background:rgba(118,118,128,0.18); border:none; border-radius:16px; color:var(--text-secondary); font-family:inherit; font-size:11px; font-weight:500; cursor:pointer; white-space:nowrap; transition:all .2s; }
        .date-preset.active { background:var(--accent); color:white; }
        .date-reset { padding:6px 10px; background:rgba(255,69,58,0.12); border:none; border-radius:16px; color:var(--red); font-size:11px; cursor:pointer; font-family:inherit; transition:background .2s; }
        .op-card { background:var(--bg-card); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; margin-bottom:8px; transition:transform .25s cubic-bezier(.4,0,.2,1), background .2s; cursor:pointer; box-shadow:var(--shadow-card); }
        .op-card:active { background:var(--bg-card-hover); transform:scale(0.98); }
        .op-header { display:flex; justify-content:space-between; align-items:center; }
        .op-type { font-size:12px; font-weight:600; padding:4px 10px; border-radius:6px; }
        .op-type.reception { background:var(--green-glow); color:var(--green); }
        .op-type.shipment { background:var(--orange-glow); color:var(--orange); }
        .op-date { font-size:12px; color:var(--text-secondary); }
        .op-info { margin-top:8px; font-size:13px; color:var(--text-secondary); }
        .op-products { margin-top:8px; display:none; border-top:1px solid var(--border); padding-top:8px; }
        .op-card.expanded .op-products { display:block; }
        .op-product-row { display:flex; justify-content:space-between; padding:4px 0; font-size:12px; }
        .op-product-name { color:var(--text); } .op-product-qty { color:var(--accent); font-weight:600; }
        .search-results-count { font-size:13px; color:var(--text-secondary); margin-bottom:12px; }
        .empty-state { text-align:center; padding:48px 20px; color:var(--text-secondary); }
        .empty-state svg { margin-bottom:12px; color:var(--text-secondary); }
        .empty-state p { font-size:14px; }
        .empty-state .empty-hint { font-size:12px; color:var(--text-secondary); margin-top:6px; opacity:0.7; }
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:100; backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
        .modal-overlay.active { display:flex; align-items:flex-end; }
        .modal-content { background:var(--bg-card-solid); border-radius:20px 20px 0 0; padding:24px 20px 32px; width:100%; max-height:80vh; overflow-y:auto; animation:slideUp .35s cubic-bezier(.32,.72,0,1); }
        @keyframes slideUp { from { transform:translateY(100%); } }
        .modal-handle { width:36px; height:4px; background:var(--border); border-radius:2px; margin:0 auto 20px; }
        .modal-title { font-size:18px; font-weight:600; margin-bottom:16px; }
        .detail-row { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-size:13px; }
        .detail-label { color:var(--text-secondary); } .detail-value { font-weight:500; }

        /* === FULLSCREEN MAP === */
        .map-fullscreen { display:none; position:fixed; inset:0; background:#000; z-index:500; flex-direction:column; }
        .map-fullscreen.active { display:flex; }
        .map-fs-header { display:flex; justify-content:space-between; align-items:center; padding:6px 12px; background:rgba(0,0,0,.82); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); border-bottom:1px solid var(--border); flex-shrink:0; }
        .map-fs-title { font-size:13px; font-weight:600; }
        .map-fs-close { background:none; border:none; color:var(--text); font-size:20px; cursor:pointer; padding:4px 8px; }
        .map-fs-controls { display:flex; gap:6px; padding:6px 12px; background:rgba(0,0,0,.82); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); flex-shrink:0; overflow-x:auto; align-items:center; border-bottom:1px solid var(--border); }
        .map-fs-wh-btn { padding:5px 14px; background:rgba(118,118,128,0.18); border:none; border-radius:16px; color:var(--text-secondary); font-family:inherit; font-size:11px; font-weight:600; cursor:pointer; white-space:nowrap; transition:all .2s; }
        .map-fs-wh-btn.active { background:var(--accent); color:white; }
        .map-fs-body { flex:1; overflow:auto; padding:6px; -webkit-overflow-scrolling:touch; }
        .map-fs-stats { padding:6px 12px; font-size:11px; color:var(--text-secondary); background:rgba(0,0,0,.82); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-top:1px solid var(--border); flex-shrink:0; display:flex; gap:16px; align-items:center; }

        /* WMS-style warehouse map */
        .wms-map { display:inline-flex; flex-direction:column; min-width:fit-content; gap:0; }
        /* Zone labels on sides */
        .wms-section { display:flex; align-items:stretch; }
        .wms-zone-side { writing-mode:vertical-rl; text-orientation:mixed; font-size:8px; font-weight:700; color:white; padding:4px 2px; display:flex; align-items:center; justify-content:center; letter-spacing:1px; min-width:16px; text-transform:uppercase; }
        .wms-zone-side.left { background:var(--accent); border-radius:4px 0 0 4px; }
        .wms-zone-side.right { background:var(--orange); border-radius:0 4px 4px 0; transform:rotate(180deg); }
        .wms-rows-block { flex:1; }
        /* Row pair: two rows face each other */
        .wms-row-pair { margin-bottom:0; }
        .wms-cell-headers { display:flex; padding:0 0 0 36px; }
        .wms-cell-header { font-size:7px; color:var(--text-secondary); font-weight:600; text-align:center; padding:2px 0; }
        .wms-row { display:flex; align-items:stretch; }
        .wms-row-label { width:36px; min-width:36px; display:flex; align-items:center; justify-content:center; font-size:8px; font-weight:700; color:var(--text-secondary); background:rgba(17,24,39,0.5); padding:2px; }
        /* Single cell = container for mini-grid of pallet positions */
        .wms-cell { display:flex; align-items:stretch; justify-content:center; border:1px solid rgba(30,42,58,0.3); cursor:default; position:relative; padding:2px; }
        .wms-cell.client { border-color:rgba(16,185,129,0.4); cursor:pointer; }
        .wms-cell.client:active { background:rgba(16,185,129,0.15); }
        /* Mini-grid: 3 columns × N floors */
        .pallet-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; width:100%; height:100%; }
        .pp { background:rgba(30,42,58,0.12); border-radius:1px; min-height:5px; }
        .pp.client { background:var(--green); opacity:0.85; }
        /* Highlighted cell (blink when showing product on map) */
        .wms-cell.highlight { animation:cellBlink 0.8s ease-in-out infinite; z-index:2; }
        @keyframes cellBlink {
            0%,100% { box-shadow:0 0 8px 2px rgba(48,209,88,0.8); border-color:var(--green); }
            50% { box-shadow:0 0 2px 0px rgba(48,209,88,0.2); border-color:rgba(48,209,88,0.3); }
        }
        /* Aisle between row pairs */
        .wms-aisle { height:14px; display:flex; align-items:center; justify-content:center; margin:1px 0; }
        .wms-aisle-arrows { display:flex; gap:4px; }
        .wms-aisle-arrow { font-size:8px; color:var(--accent); opacity:0.4; }

        /* Bottom sheet for cell details */
        .cell-sheet-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); z-index:600; }
        .cell-sheet-overlay.active { display:flex; align-items:flex-end; }
        .cell-sheet { background:var(--bg-card-solid); border-radius:16px 16px 0 0; padding:16px 20px 24px; width:100%; max-height:55vh; overflow-y:auto; animation:slideUp .3s cubic-bezier(.32,.72,0,1); border-top:2px solid var(--green); }
        .cell-sheet-handle { width:36px; height:4px; background:var(--border); border-radius:2px; margin:0 auto 14px; }
        .cell-sheet-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
        .cell-sheet-addr { font-size:16px; font-weight:700; color:var(--green); }
        .cell-sheet-badge { font-size:12px; background:var(--green-glow); color:var(--green); padding:4px 12px; border-radius:12px; font-weight:600; }
        .cell-sheet-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--border); font-size:13px; }
        .cell-sheet-label { color:var(--text-secondary); }
        .cell-sheet-value { font-weight:500; }
        .cell-level-card { margin-bottom:10px; padding:10px 12px; background:rgba(16,185,129,0.06); border:1px solid rgba(16,185,129,0.15); border-radius:10px; }
        .cell-level-title { font-size:12px; font-weight:600; color:var(--green); margin-bottom:6px; }

        /* Rotate prompt */
        .rotate-prompt { display:none; flex-direction:column; align-items:center; justify-content:center; padding:48px 32px; text-align:center; }
        .rotate-prompt > div:first-child { margin-bottom:16px; animation:rotatePhone 2s ease-in-out infinite; }
        @keyframes rotatePhone { 0%,100%{transform:rotate(0deg)} 50%{transform:rotate(90deg)} }
        .rotate-prompt .title { font-size:18px; font-weight:600; margin-bottom:8px; }
        .rotate-prompt .subtitle { font-size:13px; color:var(--text-secondary); }
        /* Report table */
        .report-tbl-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--border); border-radius:10px; max-height:60vh; overflow-y:auto; }
        .report-tbl { width:100%; border-collapse:collapse; font-size:11px; min-width:500px; }
        .report-tbl th { background:rgba(118,118,128,0.3); color:var(--text); padding:8px 6px; text-align:center; font-weight:600; position:sticky; top:0; white-space:nowrap; z-index:2; }
        .report-tbl td { padding:6px 4px; text-align:center; border-bottom:1px solid var(--border); white-space:nowrap; }
        .report-tbl tr:nth-child(even) { background:rgba(255,255,255,.02); }
        .report-tbl .days-ok { color:var(--green); font-weight:600; }
        .report-tbl .days-warn { color:var(--orange); font-weight:600; }
        .report-tbl .days-danger { color:var(--red); font-weight:600; }
        .report-total { display:flex; gap:16px; margin:12px 0; flex-wrap:wrap; }
        .report-total-item { background:var(--card); padding:8px 14px; border-radius:10px; font-size:13px; box-shadow:var(--shadow); }
        .report-total-item b { color:var(--accent); }

        /* Request cards */
        .req-cards { display:flex; flex-direction:column; gap:10px; }
        .req-card { display:flex; align-items:center; gap:14px; background:var(--bg-card); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:var(--radius); padding:16px; cursor:pointer; transition:transform .25s cubic-bezier(.4,0,.2,1), background .2s; box-shadow:var(--shadow-card); }
        .req-card:active { background:var(--bg-card-hover); transform:scale(0.97); }
        .req-card.shipment { border-left:3px solid var(--orange); }
        .req-card.reception { border-left:3px solid var(--green); }
        .req-card-icon { flex-shrink:0; color:var(--text-secondary); display:flex; }
        .req-card-info { flex:1; }
        .req-card-title { font-size:15px; font-weight:600; }
        .req-card-desc { font-size:12px; color:var(--text-secondary); margin-top:2px; }
        .req-card-arrow { font-size:24px; color:var(--text-secondary); font-weight:300; }
        /* Request form elements */
        .req-form { display:flex; flex-direction:column; gap:14px; }
        .req-field { display:flex; flex-direction:column; gap:4px; }
        .req-label { font-size:12px; color:var(--text-secondary); font-weight:500; }
        .req-input { padding:10px 14px; background:rgba(118,118,128,0.18); border:1px solid transparent; border-radius:10px; color:var(--text); font-family:inherit; font-size:14px; outline:none; transition:background .2s, border-color .2s; }
        .req-input:focus { background:rgba(118,118,128,0.24); border-color:var(--accent); }
        .req-input::placeholder { color:var(--text-secondary); }
        .req-textarea { padding:10px 14px; background:rgba(118,118,128,0.18); border:1px solid transparent; border-radius:10px; color:var(--text); font-family:inherit; font-size:14px; outline:none; resize:vertical; min-height:60px; transition:background .2s, border-color .2s; }
        .req-textarea:focus { background:rgba(118,118,128,0.24); border-color:var(--accent); }
        .req-product-row { display:flex; gap:8px; align-items:flex-end; padding:10px 12px; background:rgba(118,118,128,0.12); border:1px solid var(--border); border-radius:10px; }
        .req-product-row .req-field { flex:1; }
        .req-product-row .req-input { padding:8px 10px; font-size:13px; }
        .req-remove-btn { padding:8px; background:rgba(255,69,58,0.1); border:none; border-radius:8px; color:var(--red); cursor:pointer; font-size:16px; flex-shrink:0; height:38px; width:38px; display:flex; align-items:center; justify-content:center; transition:background .2s; }
        .req-remove-btn:active { background:rgba(255,69,58,0.2); }
        .req-add-btn { padding:10px; background:rgba(10,132,255,0.08); border:1px dashed rgba(10,132,255,0.3); border-radius:10px; color:var(--accent); cursor:pointer; font-family:inherit; font-size:13px; font-weight:500; text-align:center; transition:background .2s; }
        .req-add-btn:active { background:rgba(10,132,255,0.15); }
        .req-submit-btn { padding:14px; background:var(--accent); color:#fff; border:none; border-radius:14px; font-family:inherit; font-size:15px; font-weight:600; cursor:pointer; box-shadow:0 4px 20px rgba(10,132,255,.25); transition:transform .25s cubic-bezier(.4,0,.2,1), opacity .2s; }
        .req-submit-btn:active { transform:scale(0.96); }
        .req-submit-btn:disabled { opacity:0.4; cursor:not-allowed; }
        .req-submit-btn.shipment-btn { background:var(--orange); box-shadow:0 4px 20px rgba(255,159,10,.25); }
        .req-submit-btn.reception-btn { background:var(--green); box-shadow:0 4px 20px rgba(48,209,88,.25); }
        /* Shipment product select */
        .req-product-check { display:flex; align-items:center; gap:10px; padding:10px 12px; background:rgba(118,118,128,0.12); border:1px solid transparent; border-radius:10px; cursor:pointer; transition:all .2s; }
        .req-product-check.selected { background:rgba(255,159,10,0.1); border-color:rgba(255,159,10,0.3); }
        .req-product-check input[type=checkbox] { width:18px; height:18px; accent-color:var(--orange); flex-shrink:0; }
        .req-product-check-info { flex:1; min-width:0; }
        .req-product-check-name { font-size:13px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .req-product-check-meta { font-size:11px; color:var(--text-secondary); }
        .req-product-qty-wrap { display:none; flex-direction:column; gap:4px; flex-shrink:0; }
        .req-product-check.selected .req-product-qty-wrap { display:flex; }
        .req-product-qty-input { width:60px; padding:6px 8px; background:var(--bg-card); border:1px solid var(--border); border-radius:8px; color:var(--text); font-family:inherit; font-size:13px; text-align:center; outline:none; }
        .req-product-qty-input:focus { border-color:var(--orange); }
        .req-unit-select { padding:4px 6px; background:var(--bg-card); border:1px solid var(--border); border-radius:8px; color:var(--text); font-family:inherit; font-size:11px; outline:none; cursor:pointer; -webkit-appearance:none; appearance:none; text-align:center; }
        .req-unit-select:focus { border-color:var(--orange); }
        /* Search filter for product list */
        .req-search-wrap { position:sticky; top:0; z-index:2; padding:0 0 8px; background:var(--bg-card-solid); }
        .req-search-input { width:100%; padding:10px 14px 10px 36px; background:rgba(118,118,128,0.18); border:none; border-radius:10px; color:var(--text); font-family:inherit; font-size:14px; outline:none; box-sizing:border-box; transition:background .2s; }
        .req-search-input:focus { background:rgba(118,118,128,0.28); }
        .req-search-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:14px; color:var(--text-secondary); pointer-events:none; }
        .req-products-list { max-height:40vh; overflow-y:auto; display:flex; flex-direction:column; gap:6px; }
        /* Sticky submit button */
        .req-sticky-footer { position:sticky; bottom:0; background:var(--bg-card-solid); padding:12px 0 0; z-index:2; }
        /* Active requests list */
        .req-status-card { background:var(--bg-card); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; margin-bottom:8px; box-shadow:var(--shadow-card); }
        .req-status-header { display:flex; justify-content:space-between; align-items:center; }
        .req-status-badge { font-size:11px; font-weight:600; padding:4px 10px; border-radius:6px; }
        .req-status-badge.pending { background:rgba(59,130,246,0.1); color:var(--accent); }
        .req-status-badge.accepted { background:var(--green-glow); color:var(--green); }
        .req-status-badge.rejected { background:rgba(239,68,68,0.1); color:var(--red); }
        .req-status-type { font-size:13px; font-weight:600; }
        .req-status-info { font-size:12px; color:var(--text-secondary); margin-top:6px; }