@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:400;src:url(../media/sarabun-thai-400-normal.0yet8anlobxb1.woff2)format("woff2"),url(../media/sarabun-thai-400-normal.08m87vmlytaqo.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:400;src:url(../media/sarabun-vietnamese-400-normal.2gdphetik76zf.woff2)format("woff2"),url(../media/sarabun-vietnamese-400-normal.087vo_t4pp21o.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:400;src:url(../media/sarabun-latin-ext-400-normal.0sl2f2yjkjq09.woff2)format("woff2"),url(../media/sarabun-latin-ext-400-normal.1q7si2-nid160.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:400;src:url(../media/sarabun-latin-400-normal.07mswom_4mc_x.woff2)format("woff2"),url(../media/sarabun-latin-400-normal.3qhix0vgm-iv_.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:600;src:url(../media/sarabun-thai-600-normal.1gyhu3zfs25zt.woff2)format("woff2"),url(../media/sarabun-thai-600-normal.1ts4ubbfzx4tg.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:600;src:url(../media/sarabun-vietnamese-600-normal.1zzlkasznuc-d.woff2)format("woff2"),url(../media/sarabun-vietnamese-600-normal.36m9d4eoyg09k.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:600;src:url(../media/sarabun-latin-ext-600-normal.3vhi5zgahezje.woff2)format("woff2"),url(../media/sarabun-latin-ext-600-normal.2icp_tvjxeugc.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:600;src:url(../media/sarabun-latin-600-normal.2-x2_a_dkwuju.woff2)format("woff2"),url(../media/sarabun-latin-600-normal.2uiksuc1-hhb5.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:700;src:url(../media/sarabun-thai-700-normal.276fhfyhhweha.woff2)format("woff2"),url(../media/sarabun-thai-700-normal.0m64ha74cu-pe.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:700;src:url(../media/sarabun-vietnamese-700-normal.0o5omyo-6fyn6.woff2)format("woff2"),url(../media/sarabun-vietnamese-700-normal.12vd3xeq0y3ck.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:700;src:url(../media/sarabun-latin-ext-700-normal.3lso43oe0zxnv.woff2)format("woff2"),url(../media/sarabun-latin-ext-700-normal.1dg5wsqjf94ex.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:700;src:url(../media/sarabun-latin-700-normal.360igetryhoao.woff2)format("woff2"),url(../media/sarabun-latin-700-normal.0985h_uvycb9x.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:800;src:url(../media/sarabun-thai-800-normal.2ygy6bfdzrpw_.woff2)format("woff2"),url(../media/sarabun-thai-800-normal.3r94p89379azq.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:800;src:url(../media/sarabun-vietnamese-800-normal.0-4ymv4mhl6si.woff2)format("woff2"),url(../media/sarabun-vietnamese-800-normal.3cvdjbj-1k79m.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:800;src:url(../media/sarabun-latin-ext-800-normal.30hiutlchawce.woff2)format("woff2"),url(../media/sarabun-latin-ext-800-normal.43ue1dktbhsx2.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-display:swap;font-weight:800;src:url(../media/sarabun-latin-800-normal.3jsl29x-w72oi.woff2)format("woff2"),url(../media/sarabun-latin-800-normal.3nrz75wuf_go-.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#071027;--panel:#0d1735;--line:#203667;--text:#f5f8ff;--muted:#7f96c8;--gold:#ffd456;--cyan:#35d8f6;--red:#ff5c72;--violet:#a78bfa}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--text);background:var(--bg);margin:0;font-family:Sarabun,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-screen{background:radial-gradient(circle at 30% 20%,#2e6fff40,#0000 25rem),radial-gradient(circle at 75% 75%,#ffc3341f,#0000 28rem),#071027;place-items:center;min-height:100dvh;padding:22px;display:grid;overflow:hidden}.auth-screen:before{content:"";opacity:.16;pointer-events:none;background-image:linear-gradient(#ffffff0a 1px,#0000 1px),linear-gradient(90deg,#ffffff08 1px,#0000 1px);background-size:38px 38px;position:fixed;inset:0}.auth-card{background:linear-gradient(145deg,#101e44,#08112a);border:1px solid #29477e;border-radius:28px;grid-template-columns:1.1fr .9fr;width:min(910px,100%);min-height:510px;display:grid;position:relative;overflow:hidden;box-shadow:0 35px 80px #00031280,inset 0 1px #ffffff12}.auth-visual{background:radial-gradient(circle at 42% 36%,#35d8f62e,#0000 13rem),linear-gradient(145deg,#122657,#0a1531 68%);border-right:1px solid #25406f;align-content:end;min-height:430px;padding:52px;display:grid;position:relative;overflow:hidden}.auth-visual:after{content:"";border:1px solid #ffd34736;border-radius:50%;width:350px;height:350px;position:absolute;top:-145px;right:-120px;box-shadow:0 0 0 45px #ffd34709,0 0 0 90px #4484ff0a}.auth-orbit{aspect-ratio:1;border:1px solid #38d6f661;border-radius:50%;place-items:center;width:190px;display:grid;position:absolute;top:37%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 45px #2f89ff2e,inset 0 0 35px #35d8f614}.auth-orbit:before,.auth-orbit:after{content:"";border:1px solid #5780da3b;border-radius:50%;position:absolute}.auth-orbit:before{inset:18px}.auth-orbit:after{border-color:#ffd14e42;inset:38px}.auth-orbit>span{z-index:2;color:#10203d;background:linear-gradient(145deg,#ffe46b,#efaf24);border-radius:25px;place-items:center;width:78px;height:78px;font-size:25px;font-weight:800;display:grid;position:relative;box-shadow:0 0 35px #ffc73059}.auth-orbit i{background:var(--cyan);width:10px;height:10px;box-shadow:0 0 15px var(--cyan);border-radius:50%;position:absolute}.auth-orbit i:first-child{top:-5px}.auth-orbit i:nth-child(2){background:var(--gold);box-shadow:0 0 15px var(--gold);bottom:27px;right:12px}.auth-orbit i:nth-child(3){background:var(--violet);box-shadow:0 0 15px var(--violet);bottom:43px;left:4px}.auth-visual>div:last-child{z-index:2;position:relative}.auth-visual small{color:#5fdcf0;letter-spacing:.1em;font-size:11px;font-weight:700}.auth-visual h1{margin:4px 0 0;font-size:45px;line-height:.95}.auth-visual p{color:#8fa5d1;margin:10px 0 0;font-size:15px}.auth-card form{flex-direction:column;justify-content:center;padding:46px;display:flex}.auth-card form>small{color:#6b9dff;letter-spacing:.1em;font-size:10px;font-weight:800}.auth-card form h2{margin:7px 0 3px;font-size:28px;line-height:1.08}.auth-card form p{color:#7e91bb;margin:0 0 23px;font-size:12px;line-height:1.55}.auth-card label{color:#b9c6e1;gap:7px;font-size:11px;font-weight:700;display:grid}.auth-card input{color:#fff;letter-spacing:.16em;background:#08122c;border:1px solid #2a4479;border-radius:13px;outline:0;width:100%;height:56px;padding:0 18px;font-size:24px}.auth-card input:focus{border-color:#3c8dff;box-shadow:0 0 0 3px #3a8bff1f}.auth-card form>button{color:#17203b;background:linear-gradient(135deg,#ffe36b,#f2ad24);border:0;border-radius:13px;height:55px;margin-top:14px;font-size:14px;font-weight:800;box-shadow:0 12px 28px #eea61e33}.auth-card form>button:disabled{opacity:.45;cursor:not-allowed}.auth-error{color:#ff92a4;background:#80112d33;border:1px solid #ff537073;border-radius:9px;margin-top:10px;padding:9px 11px;font-size:10px}.auth-security{color:#5f759f;text-align:center;margin-top:12px;font-size:9px}.auth-loader{justify-items:center;gap:7px;display:grid}.auth-loader span{color:#15203b;background:linear-gradient(145deg,#ffe36b,#f2ad24);border-radius:22px;place-items:center;width:72px;height:72px;font-size:23px;font-weight:800;display:grid}.auth-loader strong{font-size:24px}.auth-loader small{color:#8096c2}.app-shell{background:radial-gradient(circle at 52% -12%,#2f5cd538,#0000 34rem),linear-gradient(145deg,#071027,#081127 55%,#050a1a);min-height:100dvh;padding-bottom:82px;overflow-x:hidden}.app-shell:before{content:"";pointer-events:none;opacity:.13;background-image:linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-size:34px 34px;position:fixed;inset:0}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0a1635f2;border-bottom:2px solid #2256bd;align-items:center;gap:12px;min-height:72px;padding:10px 18px;display:flex;position:sticky;top:0;box-shadow:0 10px 25px #00041440}.icon-button{color:#9eb4df;background:#101b38;border:1px solid #273d70;border-radius:12px;width:42px;height:42px;font-size:17px}.brand-mark{color:#fff;background:linear-gradient(145deg,#4489ff,#3154d6);border-radius:11px;place-items:center;width:42px;height:42px;font-weight:800;display:grid;box-shadow:0 7px 20px #2e63f059}.brand-copy{min-width:170px;display:grid}.brand-copy strong{letter-spacing:-.02em;font-size:21px;line-height:1}.brand-copy span{color:#6fa3ff;letter-spacing:.12em;margin-top:4px;font-size:8px;font-weight:700}.live-chip{color:#39d9ff;letter-spacing:.1em;background:#09466240;border:1px solid #17658a;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:6px 10px;font-size:8px;font-weight:800;display:flex}.live-chip i{background:#3ce4ff;border-radius:50%;width:6px;height:6px;box-shadow:0 0 10px #3ce4ff}.date-chip{color:#8da3cb;font-size:11px}.profile-button{min-width:210px;height:46px;color:var(--text);text-align:left;background:#0c1734;border:1px solid #284071;border-radius:12px;align-items:center;gap:9px;padding:5px 11px;display:flex}.profile-button>span{color:#11213d;background:var(--gold);border-radius:9px;place-items:center;width:31px;height:31px;font-weight:800;display:grid}.profile-button div{flex:1;display:grid}.profile-button small{color:#6882b5;font-size:8px}.profile-button strong{font-size:11px}.profile-button b{color:var(--cyan)}.summary-strip{z-index:1;background:#0b122dc7;border-bottom:1px solid #203562;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:relative}.summary-card{min-width:0;min-height:98px;box-shadow:inset 0 -2px var(--accent);border-right:1px solid #1d315e;align-items:center;gap:12px;padding:15px 20px;display:flex}.summary-card:last-child{border-right:0}.summary-card.gold{--accent:#f9bf38}.summary-card.cyan{--accent:#24cbe8}.summary-card.red{--accent:#ff5b6f}.summary-card.violet{--accent:#9b83fa}.summary-icon{color:#10172b;background:var(--accent);width:39px;height:39px;box-shadow:0 7px 17px color-mix(in srgb,var(--accent) 25%,transparent);border-radius:11px;flex:none;place-items:center;font-size:18px;font-weight:800;display:grid}.summary-card div{min-width:0;display:grid}.summary-card small{color:#c6d1eb;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;overflow:hidden}.summary-card strong{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:clamp(22px,2.3vw,31px);line-height:1;overflow:hidden}.summary-card em{color:#7188b5;margin-top:4px;font-size:8px;font-style:normal}.dashboard-grid{z-index:1;grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);gap:12px;padding:13px;display:grid;position:relative}.panel{background:linear-gradient(145deg,#0f1a3cf7,#080f26fa);border:1px solid #1f3564;border-radius:15px;min-width:0;overflow:hidden;box-shadow:inset 0 1px #ffffff09,0 13px 28px #0004142e}.panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.panel-heading small,.profit-copy>small{color:#6094f5;letter-spacing:.12em;font-size:8px;font-weight:800}.panel-heading h1,.panel-heading h2,.profit-copy h2{margin:2px 0 0;font-size:clamp(18px,2vw,26px);line-height:1.05}.cash-panel{min-height:393px;padding:18px 20px}.range-tabs{background:#0a132e;border:1px solid #273e73;border-radius:8px;padding:3px;display:flex}.range-tabs button{color:#6780b3;background:0 0;border:0;border-radius:6px;min-width:45px;padding:5px;font-size:8px;font-weight:700}.range-tabs button.active{color:#fff;background:#2d64dc}.headline-value{align-items:baseline;gap:12px;margin-top:12px;display:flex}.headline-value strong{color:var(--cyan);font-size:31px;line-height:1}.headline-value span{color:#34d4a2;background:#1dc48b1a;border-radius:5px;padding:3px 7px;font-size:8px}.bar-chart{background-image:linear-gradient(#3a548f30 1px,#0000 1px);background-size:100% 25%;border-top:1px solid #37528f40;border-bottom:1px solid #37528f40;grid-template-columns:repeat(6,1fr);align-items:end;gap:clamp(9px,2.4vw,26px);height:205px;margin-top:12px;padding:10px 9px 0;display:grid}.bar-column{grid-template-rows:18px 1fr 23px;place-items:end center;height:100%;display:grid}.bar-value{color:#80a4ef;font-size:7px}.bar-track{background:#1f356a47;border-radius:7px 7px 0 0;align-items:end;width:min(36px,62%);height:100%;display:flex}.bar-track i{background:linear-gradient(#48e1f4,#3074ed);border-radius:7px 7px 2px 2px;width:100%;min-height:6px;box-shadow:0 0 20px #2fa8ed38}.bar-column:last-child .bar-track i{background:linear-gradient(#ffe56d,#efa91e);box-shadow:0 0 20px #ffc7354d}.bar-column small{color:#7085af;font-size:8px}.metric-footer{grid-template-columns:repeat(4,1fr);margin-top:10px;display:grid}.metric-footer span{border-left:1px solid #223760;padding-left:13px;display:grid}.metric-footer span:first-child{border-left:0;padding-left:0}.metric-footer small{color:#647bab;font-size:7px;font-weight:700}.metric-footer strong{margin-top:2px;font-size:12px}.inventory-panel{min-height:393px;padding:18px}.status-chip{color:#25d8b2;background:#0a6f5c21;border:1px solid #107b6b;border-radius:999px;padding:5px 10px;font-size:8px;font-weight:700}.inventory-hero{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:17px;margin-top:22px;display:grid}.donut{--donut-color:#38d7f5;aspect-ratio:1;background:conic-gradient(from -18deg,var(--donut-color) 0 var(--donut-value),#24335b var(--donut-value) 360deg);width:142px;box-shadow:0 0 25px color-mix(in srgb,var(--donut-color) 16%,transparent);border-radius:50%;place-items:center;padding:16px;display:grid}.donut>div{text-align:center;background:radial-gradient(circle at 42% 30%,#182649,#09132d 72%);border-radius:50%;place-content:center;width:100%;height:100%;display:grid}.donut strong{font-size:29px;line-height:.9}.donut span{color:#7d93bd;margin-top:5px;font-size:8px}.inventory-hero>div:last-child{min-width:0;display:grid}.inventory-hero small{color:#8296be;font-size:10px}.inventory-hero>div:last-child strong{color:var(--cyan);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(24px,2.6vw,36px);line-height:1.1;overflow:hidden}.inventory-hero>div:last-child span{color:#6079a9;font-size:9px}.progress{background:#202f51;border-radius:99px;height:7px;margin:20px 0 13px;overflow:hidden}.progress i{border-radius:inherit;background:linear-gradient(90deg,#3383ff,#34d7ef,#ffd44e);height:100%;display:block}.status-rows{border:1px solid #233761;border-radius:10px;display:grid}.status-rows span{border-bottom:1px solid #21345a;grid-template-columns:8px 1fr auto;align-items:center;gap:10px;min-height:42px;padding:8px 11px;display:grid}.status-rows span:last-child{border-bottom:0}.status-rows i{border-radius:50%;width:7px;height:7px}.status-rows i.ok{background:#2bd5a6}.status-rows i.warn{background:var(--gold)}.status-rows i.danger{background:var(--red)}.status-rows small{color:#91a3c8;font-size:9px}.status-rows strong{font-size:10px}.profit-panel{grid-template-columns:115px minmax(0,1fr) minmax(180px,.75fr);align-items:center;gap:18px;min-height:214px;padding:18px 20px;display:grid}.profit-donut{--donut-color:#ffd14d;width:105px;padding:12px}.profit-donut strong{font-size:23px}.profit-copy{min-width:0;display:grid}.profit-copy h2{font-size:18px}.profit-copy>strong{color:var(--gold);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(27px,3vw,40px);line-height:1.08;overflow:hidden}.profit-copy>span{color:#7187b2;font-size:9px}.profit-split{gap:9px;display:grid}.profit-split span{background:#0c1631;border:1px solid #2a3e68;border-radius:10px;padding:11px 13px;display:grid}.profit-split small{color:#8195bd;font-size:8px}.profit-split strong{color:#f2c958;margin-top:2px;font-size:18px}.drone-panel{min-height:214px;padding:17px 18px}.drone-panel .panel-heading>strong{color:var(--cyan);font-size:30px}.drone-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px;display:grid}.drone-stats span{background:#0a1531;border:1px solid #213b70;border-radius:9px;padding:9px 10px;display:grid}.drone-stats small{color:#748bb6;font-size:8px}.drone-stats strong{color:#46d9ef;font-size:15px}.job-card{background:#0b1632;border:1px solid #243b6b;border-radius:10px;grid-template-columns:33px 1fr auto;align-items:center;gap:9px;margin-top:9px;padding:8px 9px;display:grid}.job-card i{color:#09172d;background:var(--cyan);border-radius:9px;place-items:center;width:32px;height:32px;font-style:normal;font-weight:800;display:grid}.job-card div{min-width:0;display:grid}.job-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.job-card span{color:#7087b2;font-size:8px}.job-card b{color:#ffd35b;background:#ffca3d17;border-radius:5px;padding:4px 7px;font-size:7px}.panel-action{color:#74a4ff;text-align:left;background:0 0;border:0;width:100%;margin-top:8px;padding:5px 0 0;font-size:9px}.panel-action span{float:right}.alert-panel{grid-column:1/-1;min-height:190px;padding:18px 20px}.alert-panel .panel-heading button{color:#78a4ff;background:0 0;border:0;font-size:9px}.alert-list{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px;display:grid}.alert-list button{min-width:0;color:var(--text);text-align:left;background:#0b1631;border:1px solid #243966;border-radius:11px;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.alert-list i{border-radius:50%;width:8px;height:8px}.red-dot{background:var(--red);box-shadow:0 0 10px var(--red)}.gold-dot{background:var(--gold);box-shadow:0 0 10px var(--gold)}.cyan-dot{background:var(--cyan);box-shadow:0 0 10px var(--cyan)}.alert-list span{min-width:0;display:grid}.alert-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.alert-list small{color:#7389b2;font-size:8px}.alert-list b{color:#7aa8ff;font-size:8px}.bottom-nav{z-index:30;height:69px;padding:5px max(25vw,250px) calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(17px);backdrop-filter:blur(17px);background:#070e21f5;border-top:1px solid #20376b;grid-template-columns:repeat(5,1fr);align-items:center;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 30px #00031247}.bottom-nav button{color:#687ba5;background:0 0;border:0;align-content:center;place-items:center;gap:1px;height:54px;display:grid}.bottom-nav button span{font-size:17px;line-height:1}.bottom-nav button small{font-size:8px;font-weight:700}.bottom-nav button.active{color:var(--cyan)}.bottom-nav .add-button{color:#14203a;background:linear-gradient(145deg,#ffe36b,#f1ad23);border-radius:17px;justify-self:center;width:55px;height:55px;font-size:27px;transform:translateY(-10px);box-shadow:0 0 24px #ffc1324f}.workspace-view{z-index:1;min-height:calc(100dvh - 141px);padding:21px;position:relative}.view-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px;display:flex}.view-heading small{color:#6497fb;letter-spacing:.12em;font-size:9px;font-weight:800}.view-heading h1{margin:2px 0 0;font-size:30px;line-height:1}.view-heading p{color:#7990bd;margin:5px 0 0;font-size:11px}.view-date{color:#8ca4d2;background:#0a1530;border:1px solid #2b4273;border-radius:9px;padding:7px 11px;font-size:9px}.heading-action{color:#16213b;background:linear-gradient(145deg,#ffe271,#efad27);border:1px solid #ffd2477a;border-radius:11px;min-height:42px;padding:0 15px;font-size:11px;font-weight:800}.sale-layout{grid-template-columns:minmax(0,1.5fr) minmax(335px,.7fr);gap:13px;display:grid}.product-browser,.cart-panel,.module-panel{background:linear-gradient(145deg,#0e1939,#08122c);border:1px solid #203766;border-radius:15px;min-width:0}.product-browser{padding:14px}.search-box{color:#6985b8;background:#07122d;border:1px solid #2a4377;border-radius:11px;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;height:45px;padding:0 9px;display:grid}.search-box input{color:#edf3ff;background:0 0;border:0;outline:0;width:100%;font-size:11px}.search-box button{color:#647faa;background:0 0;border:0}.filter-chips{gap:7px;margin:11px 0;display:flex;overflow:auto}.filter-chips button,.segmented button{color:#718bb9;background:#0a1531;border:1px solid #294172;border-radius:999px;flex:none;padding:6px 11px;font-size:8px}.filter-chips button.active,.segmented button.active{color:#47ddf5;background:#1c77a726;border-color:#2c8add}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.product-card{min-width:0;min-height:172px;color:var(--text);text-align:left;background:#0a1632;border:1px solid #223968;border-radius:12px;grid-template-rows:83px auto auto;gap:6px;padding:9px;display:grid;position:relative;overflow:hidden}.product-photo{color:#fff;background:linear-gradient(145deg,#2450a0,#153066);border-radius:9px;place-items:center;width:100%;height:83px;font-size:27px;font-weight:800;display:grid}.category-ปุ๋ย{background:linear-gradient(145deg,#3d8c61,#173d32)}.category-เคมีภัณฑ์,.category-ยา{background:linear-gradient(145deg,#7655a7,#302450)}.category-เมล็ดพันธุ์{background:linear-gradient(145deg,#b47a24,#5b3513)}.category-อุปกรณ์{background:linear-gradient(145deg,#357e9e,#173c54)}.product-card div{min-width:0;display:grid}.product-card small{color:#6c8ece;font-size:7px}.product-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.product-card em{color:#7084a9;font-size:7px;font-style:normal}.product-card>b{color:#ffd45a;font-size:14px}.product-card>i{color:#ffe0e5;background:#be3953;border-radius:5px;padding:3px 6px;font-size:7px;font-style:normal;position:absolute;top:8px;right:8px}.cart-panel{flex-direction:column;min-height:545px;padding:15px;display:flex}.cart-panel>header,.module-panel>header,.expense-list>header{justify-content:space-between;align-items:flex-start;display:flex}.cart-panel header small{color:#678bd0;font-size:8px}.cart-panel header h2,.module-panel header h2{margin:2px 0 0;font-size:19px}.cart-panel header>span{color:#39d9f0;background:#24acc91a;border-radius:6px;padding:4px 8px;font-size:8px}.cart-lines{flex:1;max-height:265px;margin:12px 0;overflow:auto}.empty-cart{color:#536d9d;place-content:center;justify-items:center;height:225px;display:grid}.empty-cart>span{font-size:35px}.empty-cart strong{color:#7d93bd;font-size:12px}.empty-cart small{font-size:8px}.cart-line{border-bottom:1px solid #1d3158;grid-template-columns:33px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:9px 0;display:grid}.cart-line>span{color:#17304a;background:#54d7e9;border-radius:8px;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.cart-line>div:nth-child(2){min-width:0;display:grid}.cart-line strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.cart-line small{color:#7388af;font-size:7px}.quantity{align-items:center;gap:5px;display:flex}.quantity button{color:#a7b6d4;background:#111c3b;border:1px solid #2c4270;border-radius:6px;width:24px;height:24px}.quantity b{text-align:center;min-width:15px;font-size:10px}.cart-line em{color:#ffd154;text-align:right;min-width:55px;font-size:10px;font-style:normal}.cart-summary{border-top:1px solid #263b67;gap:5px;padding-top:10px;display:grid}.cart-summary span{color:#7f94bc;justify-content:space-between;font-size:9px;display:flex}.cart-summary strong{color:#dce7ff}.cart-summary .grand-total{color:#e7edf9;align-items:baseline;margin-top:4px}.cart-summary .grand-total strong{color:#ffd252;font-size:25px}.payment-tabs,.segmented{grid-template-columns:repeat(3,1fr);gap:5px;margin:11px 0;display:grid}.payment-tabs button{color:#7188b5;background:#0a1530;border:1px solid #294172;border-radius:8px;min-height:34px;font-size:8px}.payment-tabs button.active{color:#41dcf2;background:#2586b724;border-color:#2e8bd9}.slip-input{color:#71a4e6;background:#0a1731;border:1px dashed #315488;border-radius:8px;justify-content:center;align-items:center;min-height:36px;font-size:8px;display:flex}.slip-input input{opacity:0;width:1px;height:1px;position:absolute}.credit-fields{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:7px;display:grid}.credit-fields input,.form-grid input,.form-grid select,.pricing-controls input,.pricing-controls select,.service-add input{color:#fff;background:#08132f;border:1px solid #294271;border-radius:8px;outline:0;width:100%;min-width:0;height:40px;padding:0 10px;font-size:9px}.primary-action{color:#17203b;background:linear-gradient(135deg,#ffe272,#efad26);border:0;border-radius:10px;width:100%;min-height:45px;margin-top:9px;font-size:11px;font-weight:800}.primary-action:disabled{opacity:.38;cursor:not-allowed}.inline-success{color:#38ddb0;text-align:center;background:#126e5424;border:1px solid #17775d;border-radius:8px;margin-top:8px;padding:8px 10px;font-size:9px}.inline-success.wide{margin:-5px 0 12px}.stock-kpis{grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px;display:grid}.stock-kpis article{background:#0d1837;border:1px solid #213967;border-radius:12px;align-items:center;gap:9px;padding:12px;display:flex}.stock-kpis article>span{color:#13203a;background:#46d8e9;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.stock-kpis article:nth-child(2)>span{background:#ff5c72}.stock-kpis article:nth-child(3)>span{background:#ffd14f}.stock-kpis article:nth-child(4)>span{background:#9a84f5}.stock-kpis div{min-width:0;display:grid}.stock-kpis small{color:#8096c1;font-size:8px}.stock-kpis strong{color:#eef4ff;font-size:20px;line-height:1}.stock-kpis em{color:#657da9;font-size:7px;font-style:normal}.stock-search{max-width:540px;margin-bottom:11px}.stock-table{background:#0a1530;border:1px solid #223966;border-radius:13px;overflow:hidden}.stock-table>header,.stock-row{grid-template-columns:minmax(250px,2fr) repeat(4,minmax(90px,.65fr));align-items:center;gap:10px;display:grid}.stock-table>header{color:#667fae;background:#101d3e;min-height:37px;padding:0 14px;font-size:8px}.stock-row{color:#b9c9e5;text-align:left;background:0 0;border:0;border-top:1px solid #1f335c;width:100%;min-height:62px;padding:8px 14px}.stock-row:hover{background:#0e1b3b}.stock-product{align-items:center;gap:9px;min-width:0;display:flex}.stock-product i{color:#13223f;background:#46d4e8;border-radius:9px;flex:none;place-items:center;width:39px;height:39px;font-style:normal;font-weight:800;display:grid}.stock-product div,.stock-row>span:nth-child(2){min-width:0;display:grid}.stock-product strong{color:#f1f5ff;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.stock-product small,.stock-row>span:nth-child(2) small{color:#6f86b0;font-size:7px}.stock-row>span{font-size:10px}.sale-price{color:#ffd25a;font-weight:700}.stock-row b{border-radius:6px;padding:4px 7px;font-size:7px}.stock-row b.normal{color:#35dbad;background:#1faa811c}.stock-row b.risk{color:#ff91a2;background:#bb2d492b}.modal-backdrop,.quick-backdrop{z-index:70;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020612c7;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.entry-modal{background:#0b1633;border:1px solid #34548d;border-radius:20px;width:min(820px,100%);max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 30px 70px #0000007a}.entry-modal>header,.quick-sheet>header{z-index:2;background:#0c1835f7;border-bottom:1px solid #233b6a;justify-content:space-between;align-items:flex-start;padding:18px 20px;display:flex;position:sticky;top:0}.entry-modal header small,.quick-sheet header small{color:#65a1ff;letter-spacing:.12em;font-size:8px;font-weight:800}.entry-modal header h2,.quick-sheet header h2{margin:2px 0 0;font-size:22px}.entry-modal header button,.quick-sheet header button{color:#9bafd4;background:#101d3d;border:1px solid #2b4574;border-radius:9px;width:35px;height:35px}.entry-modal form{padding:18px 20px 22px}.photo-field{align-items:center;gap:9px;margin-bottom:13px;display:flex}.photo-field label{color:#77a9e7;text-align:center;background:#08142f;border:1px dashed #37629b;border-radius:12px;place-items:center;width:150px;height:115px;display:grid;overflow:hidden}.photo-field label>span{justify-items:center;display:grid}.photo-field label b{font-size:26px}.photo-field label strong{font-size:9px}.photo-field label small{color:#617ca8;font-size:7px}.photo-field input{opacity:0;width:1px;height:1px;position:absolute}.photo-field img{object-fit:cover;width:100%;height:100%}.photo-field>button{color:#79a8ef;background:0 0;border:0;font-size:9px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.form-grid label,.pricing-controls label{color:#a8b8d5;gap:5px;font-size:9px;display:grid}.form-grid .full{grid-column:1/-1}.pricing-box{background:linear-gradient(135deg,#ffc12814,#0e183566);border:1px solid #ffc73259;border-radius:11px;margin-top:13px;padding:12px}.pricing-box>header{justify-content:space-between;display:flex}.pricing-box header strong{color:#f2cc5b;font-size:11px}.pricing-box header span{color:#7f8fae;font-size:8px}.pricing-controls{grid-template-columns:1fr 1fr minmax(140px,.8fr);align-items:end;gap:9px;margin-top:9px;display:grid}.pricing-controls>span{background:#0a1430;border:1px solid #3d4d6f;border-radius:8px;padding:8px 10px;display:grid}.pricing-controls small{color:#8293b2;font-size:7px}.pricing-controls strong{color:#ffd355;font-size:18px}.more-grid{grid-template-columns:repeat(3,1fr);gap:11px;display:grid}.more-card{min-height:106px;color:var(--text);text-align:left;background:linear-gradient(145deg,#101c3d,#09142f);border:1px solid #223a6b;border-radius:14px;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;display:grid}.more-card>span{color:#12203d;background:#42d5ed;border-radius:12px;place-items:center;width:44px;height:44px;font-size:19px;font-weight:800;display:grid}.more-card.red>span{background:#ff6076}.more-card.gold>span{background:#ffd456}.more-card.violet>span{background:#a48afa}.more-card.blue>span{background:#5a8cff}.more-card.slate>span{background:#8297bb}.more-card div{min-width:0;display:grid}.more-card strong{font-size:14px}.more-card small{color:#748ab7;font-size:8px}.more-card b{color:#6e9cf0;font-size:18px}.day-close{background:radial-gradient(circle at 0,#ffc12021,#0000 18rem),#0d1733;border:1px solid #ffcf4166;border-radius:14px;justify-content:space-between;align-items:center;gap:15px;margin-top:12px;padding:18px 20px;display:flex}.day-close small{color:#d5a92f;letter-spacing:.1em;font-size:8px;font-weight:800}.day-close h2{margin:2px 0;font-size:18px}.day-close p{color:#778cb4;margin:0;font-size:9px}.day-close>div:last-child{align-items:center;gap:15px;display:flex}.day-close span{display:grid}.day-close span small{color:#8196bd}.day-close span strong{color:#ffd45b;font-size:22px}.day-close button{color:#f7cc56;background:#271f10;border:1px solid #806322;border-radius:9px;min-height:38px;padding:0 13px;font-size:9px}.module-layout{grid-template-columns:minmax(0,1.2fr) minmax(300px,.7fr);gap:12px;display:grid}.module-panel{padding:17px}.module-panel>header>span{color:#7288b1;font-size:8px}.segmented{grid-template-columns:1fr 1fr}.segmented button{border-radius:8px}.calculated-total{background:#161a2d;border:1px solid #ffd1465e;border-radius:10px;justify-content:space-between;align-items:baseline;margin-top:12px;padding:12px 14px;display:flex}.calculated-total small{color:#9c8b5e;font-size:9px}.calculated-total strong{color:#ffd456;font-size:28px}.service-settings{align-self:start}.service-row{border-bottom:1px solid #1f345e;grid-template-columns:34px 1fr 30px;align-items:center;gap:8px;padding:9px 0;display:grid}.service-row>span{color:#15213b;background:#42d5ea;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.service-row strong{font-size:10px}.service-row button{color:#6b82ab;background:0 0;border:0}.service-add{grid-template-columns:1fr auto;gap:6px;margin-top:11px;display:grid}.service-add button{color:#12203a;background:#ffd456;border:0;border-radius:8px;padding:0 11px;font-size:9px;font-weight:800}.expense-list{align-self:start}.expense-list>header>strong{color:#ff7487;font-size:22px}.expense-list>div{border-bottom:1px solid #20345c;grid-template-columns:33px 1fr auto;align-items:center;gap:8px;padding:10px 0;display:grid}.expense-list>div>span{color:#291521;background:#ff6077;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.expense-list p{margin:0;display:grid}.expense-list p strong{font-size:10px}.expense-list p small{color:#758ab1;font-size:8px}.expense-list b{color:#ff8092;font-size:12px}.report-kpis{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.report-kpis article{background:#0d1837;border:1px solid #233b6c;border-radius:12px;padding:14px;display:grid}.report-kpis small{color:#8196be;font-size:8px}.report-kpis strong{color:#42d7ed;margin-top:4px;font-size:24px}.report-kpis article:nth-child(3) strong{color:#ffd456}.report-kpis article:nth-child(4) strong{color:#ff7186}.report-grid{grid-template-columns:1.35fr .75fr;gap:11px;margin-top:11px;display:grid}.report-chart,.report-donuts{background:#0d1836;border:1px solid #223a69;border-radius:14px;padding:17px}.report-chart header,.report-donuts header{justify-content:space-between;display:flex}.report-chart h2,.report-donuts h2{margin:0;font-size:16px}.report-chart header span,.report-donuts header span{color:#758bb4;font-size:8px}.report-bars{background-image:linear-gradient(#3e589529 1px,#0000 1px);background-size:100% 25%;border-block:1px solid #21365f;grid-template-columns:repeat(6,1fr);align-items:end;gap:18px;height:265px;margin-top:14px;padding:17px 12px 0;display:grid}.report-bars>div{grid-template-rows:1fr 25px;place-items:end center;height:100%;display:grid}.report-bars>div>span{align-items:end;gap:3px;width:42px;height:100%;display:flex}.report-bars i,.report-bars b{background:#3dd6ed;border-radius:5px 5px 0 0;width:50%;min-height:3px}.report-bars b{background:#ffd250}.report-bars small{color:#768bb2;font-size:8px}.report-donuts>div{border-bottom:1px solid #20345d;grid-template-columns:82px 1fr;align-items:center;gap:12px;padding:13px 0;display:grid}.report-donuts>div:last-child{border-bottom:0}.mini-donut{background:radial-gradient(circle,#0b1530 53%,transparent 54%),conic-gradient(#40d5ec 0 68%,#24345b 68%);border-radius:50%;place-items:center;width:77px;height:77px;display:grid}.mini-donut.profit{background:radial-gradient(circle,#0b1530 53%,transparent 54%),conic-gradient(#ffd253 0 42%,#3d331e 42%)}.mini-donut strong{font-size:17px}.report-donuts p{margin:0;display:grid}.report-donuts p strong{font-size:11px}.report-donuts p small{color:#7489b0;font-size:8px}.placeholder-view{text-align:center;place-content:center;justify-items:center;min-height:calc(100dvh - 220px);display:grid}.placeholder-view>span{color:#49d7ed;background:#101d3f;border:1px solid #2c4d85;border-radius:24px;place-items:center;width:80px;height:80px;font-size:35px;display:grid}.placeholder-view h1{margin:15px 0 3px}.placeholder-view p{color:#7a90bb;font-size:11px}.quick-backdrop{align-items:end}.quick-sheet{background:#0b1632;border:1px solid #315187;border-radius:20px 20px 0 0;width:min(520px,100%);overflow:hidden;box-shadow:0 -25px 60px #00000059}.quick-sheet>div{padding:12px 15px calc(20px + env(safe-area-inset-bottom));gap:7px;display:grid}.quick-sheet>div button{color:#edf4ff;text-align:left;background:#101c3c;border:1px solid #233d6d;border-radius:11px;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;min-height:58px;padding:8px 12px;display:grid}.quick-sheet>div span{color:#15213b;background:#ffd456;border-radius:10px;place-items:center;width:38px;height:38px;font-size:17px;display:grid}.quick-sheet>div strong{font-size:12px}.quick-sheet>div b{color:#699af0}@media (max-width:1000px){.topbar{padding-inline:12px}.date-chip{display:none}.profile-button{min-width:170px}.dashboard-grid{grid-template-columns:1.35fr .95fr}.inventory-hero{grid-template-columns:118px 1fr}.donut{width:112px}.bottom-nav{padding-inline:20vw}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.more-grid{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1.15fr .85fr}}@media (max-width:700px){.auth-screen{padding:12px}.auth-card{border-radius:22px;grid-template-columns:1fr;min-height:calc(100dvh - 24px)}.auth-visual{border-bottom:1px solid #25406f;border-right:0;min-height:265px;padding:24px}.auth-orbit{width:135px;top:40%}.auth-orbit>span{border-radius:18px;width:58px;height:58px;font-size:19px}.auth-visual h1{font-size:31px}.auth-visual p{max-width:250px;font-size:11px}.auth-card form{padding:28px 24px 32px}.auth-card form h2{font-size:23px}.auth-card input{height:53px}.app-shell{padding-bottom:76px}.topbar{gap:8px;min-height:65px}.brand-mark{width:38px;height:38px}.brand-copy{flex:1;min-width:0}.brand-copy strong{font-size:18px}.brand-copy span{font-size:6px}.live-chip,.profile-button{display:none}.summary-strip{background:0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.summary-card{background:#0d1837;border:1px solid #1f3563;border-radius:13px;min-height:88px;padding:11px}.summary-card:nth-child(2){border-right:1px solid #1f3563}.summary-icon{width:34px;height:34px}.summary-card strong{font-size:clamp(20px,7vw,27px)}.dashboard-grid{grid-template-columns:1fr;padding:0 9px 10px}.cash-panel,.inventory-panel{min-height:auto}.cash-panel{padding:15px 13px}.panel-heading h1,.panel-heading h2{font-size:18px}.headline-value strong{font-size:27px}.bar-chart{gap:7px;height:180px;padding-inline:0}.bar-track{width:23px}.metric-footer{grid-template-columns:repeat(2,1fr);gap:8px}.metric-footer span{border:1px solid #21365e;border-radius:8px;min-height:38px;padding:6px 8px}.inventory-hero{grid-template-columns:112px 1fr}.donut{width:106px}.inventory-hero>div:last-child strong{font-size:26px}.profit-panel{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:15px}.profit-donut{width:84px}.profit-split{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}.profit-copy>strong{font-size:27px}.alert-panel{grid-column:auto;padding:15px}.alert-list{grid-template-columns:1fr}.bottom-nav{padding-inline:7px}.workspace-view{min-height:calc(100dvh - 134px);padding:14px 9px}.view-heading{margin-bottom:12px;padding-inline:3px}.view-heading h1{font-size:24px}.view-heading p{font-size:9px}.heading-action{min-height:38px;padding-inline:10px;font-size:9px}.view-date{display:none}.sale-layout,.module-layout,.report-grid{grid-template-columns:1fr}.product-browser{padding:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.product-card{min-height:158px}.product-photo{height:73px}.cart-panel{min-height:auto}.cart-lines{max-height:none}.empty-cart{height:145px}.stock-kpis,.report-kpis{grid-template-columns:repeat(2,1fr)}.stock-table{overflow:auto}.stock-table>header,.stock-row{min-width:720px}.more-grid{grid-template-columns:1fr}.more-card{min-height:88px}.day-close{flex-direction:column;align-items:flex-start}.day-close>div:last-child{justify-content:space-between;width:100%}.module-panel{padding:14px}.report-bars{gap:8px;height:225px}.report-bars>div>span{width:29px}.quick-backdrop{padding:0}}button,label[for],select,input[type=date],input[type=file]{touch-action:manipulation}.workspace-view{z-index:auto}:is(body:has(.modal-backdrop),body:has(.quick-backdrop)){overflow:hidden}.app-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(6px + env(safe-area-inset-bottom))}.modal-backdrop,.quick-backdrop{z-index:100;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overscroll-behavior:contain}.entry-modal{max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:76px;position:relative}.entry-modal form,.debt-payment-form,.closing-form{padding-bottom:max(30px,calc(18px + env(safe-area-inset-bottom)))}.entry-modal>header,.quick-sheet>header{z-index:5}.entry-modal header button,.quick-sheet header button,.icon-button{width:44px;min-width:44px;height:44px;min-height:44px}.primary-action,.heading-action,.receive-button,.secondary-button,.danger-button,.history-cancel,.day-close button,.service-add button,.panel-action,.payment-tabs button,.segmented button,.filter-chips button,.attachment-picker label,.photo-field .photo-actions label,.photo-actions button,.row-actions button{min-height:44px}.credit-fields input,.form-grid input,.form-grid select,.pricing-controls input,.pricing-controls select,.service-add input{height:46px;min-height:46px;font-size:16px}.quantity button{width:40px;height:40px}.search-box{grid-template-columns:32px minmax(0,1fr) 40px;height:46px;min-height:46px}.search-box button{width:40px;height:40px}.modal-actions,.entry-modal form>.primary-action,.debt-payment-form>.primary-action,.closing-form>.primary-action{z-index:4;position:sticky;bottom:0;box-shadow:0 -10px 22px #071027b8}.modal-actions{background:#0b1633f5;border-radius:12px;margin:11px -9px -9px;padding:9px}.entry-modal form>.primary-action,.debt-payment-form>.primary-action,.closing-form>.primary-action{margin-bottom:0}@media (max-width:1000px){.bottom-nav{padding-inline:max(12px,12vw)}.workspace-view{padding-bottom:22px}.stock-row{min-height:68px}}@media (max-width:700px){.app-shell{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.bottom-nav{padding-inline:5px}.modal-backdrop{background:#071027;place-items:stretch center;padding:0}.entry-modal{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh}.entry-modal>header{padding:max(12px,env(safe-area-inset-top)) 14px 12px}.entry-modal form,.debt-payment-form,.closing-form{padding:14px 13px calc(34px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.pricing-controls{grid-template-columns:1fr 1fr}.pricing-controls>span{grid-column:1/-1}.photo-field{flex-direction:column}.photo-preview{width:100%;height:170px}.photo-actions{width:100%}.primary-action{min-height:52px;font-size:13px}.modal-actions{bottom:calc(env(safe-area-inset-bottom))}.quantity button{width:44px;height:44px}.filter-chips button{padding-inline:14px}}@media (max-width:390px){.topbar .icon-button:first-child{display:none}.summary-strip{padding-inline:7px}.summary-card{gap:8px}.summary-icon{width:31px;height:31px}.summary-card small{font-size:8px}.summary-card strong{font-size:20px}.profit-split{grid-template-columns:1fr}.drone-stats{grid-template-columns:1fr 1fr}.drone-stats span:last-child{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.debt-total{background:#ffc33012;border:1px solid #ffcf4159;border-radius:12px;justify-items:end;min-width:220px;padding:10px 15px;display:grid}.debt-total small{color:#91815e;font-size:8px}.debt-total strong{color:var(--gold);font-size:25px;line-height:1.05}.debt-list{gap:10px;display:grid}.debt-empty{color:#7292c8;background:#0b1632;border:1px solid #213966;border-radius:15px;place-content:center;justify-items:center;min-height:300px;display:grid}.debt-empty>span{color:#39dcaf;background:#19816824;border:1px solid #167f6b;border-radius:50%;place-items:center;width:58px;height:58px;font-size:25px;display:grid}.debt-empty strong{color:#c7d3ea;margin-top:10px;font-size:15px}.debt-empty small{font-size:9px}.debt-card{background:linear-gradient(145deg,#0f1b3b,#09142e);border:1px solid #223a69;border-radius:14px;padding:14px 15px}.debt-card>header{align-items:center;gap:8px;display:flex}.debt-card>header span{border-radius:6px;padding:4px 8px;font-size:8px;font-weight:700}.sale-debt{color:#45d9ef;background:#27adc81f}.drone-debt{color:#b29aff;background:#8668dc24}.debt-card>header small{color:#6f84ae;margin-left:auto;font-size:8px}.debt-main{grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(105px,.55fr));align-items:center;gap:13px;padding:13px 0;display:grid}.debt-main>div,.debt-main>span{min-width:0;display:grid}.debt-main>div strong{color:#eef4ff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.debt-main small{color:#7389b3;font-size:8px}.debt-main>span strong{color:#b9c8e4;text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.debt-main .remaining strong{color:#ff7c90;font-size:20px}.debt-history{background:#08132d;border:1px solid #1e335b;border-radius:9px;gap:5px;padding:9px 10px;display:grid}.debt-history>small{color:#6489ca;font-size:8px;font-weight:700}.debt-history>em{color:#62799f;font-size:8px;font-style:normal}.debt-history>span{border-top:1px solid #1d2e50;grid-template-columns:90px 110px 70px 1fr;align-items:center;gap:8px;padding-top:5px;font-size:8px;display:grid}.debt-history>span b{color:#8da2c7}.debt-history>span strong{color:#42dbb1;font-size:10px}.debt-history>span i{color:#7f96bd;font-style:normal}.debt-history a{color:#63a9ff;text-decoration:none}.debt-history>span>small{color:#526a91}.receive-button{color:#ffd45b;background:#ffc12612;border:1px solid #ffce3e5c;border-radius:9px;width:100%;min-height:36px;margin-top:9px;font-size:9px;font-weight:700}.debt-payment-form,.closing-form{padding:18px 20px 22px}.payment-balance,.closing-result{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.payment-balance span,.closing-result span{background:#0a1430;border:1px solid #29416e;border-radius:10px;padding:11px 13px;display:grid}.payment-balance small,.closing-result small{color:#8194b7;font-size:8px}.payment-balance strong,.closing-result strong{color:#ffd456;font-size:21px}.payment-balance span:last-child strong{color:#42d8ed}.closing-modal{width:min(720px,100%)}.closing-flow{grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;margin-bottom:12px;display:grid}.closing-flow span{background:#09142e;border:1px solid #253d69;border-radius:10px;place-content:center;justify-items:center;min-height:64px;padding:8px;display:grid}.closing-flow small{color:#7f94ba;font-size:8px}.closing-flow strong{color:#d9e4f8;font-size:17px}.closing-flow i{color:#6383be;font-style:normal}.closing-result{margin:13px 0 0}.closing-result .balanced strong{color:#36dbad}.closing-result .difference strong{color:#ff7388}@media (max-width:700px){.view-heading .debt-total{min-width:150px;padding:7px 10px}.debt-total strong{font-size:19px}.debt-main{grid-template-columns:1fr 1fr}.debt-main>div{grid-column:1/-1}.debt-main .remaining strong{font-size:17px}.debt-history>span{grid-template-columns:70px 80px 55px 1fr;gap:5px}.closing-flow{grid-template-columns:1fr}.closing-flow i{display:none}.payment-balance,.closing-result{grid-template-columns:1fr}}.photo-preview{color:#77a9e7;text-align:center;background:#08142f;border:1px dashed #37629b;border-radius:12px;flex:none;place-items:center;width:150px;height:115px;display:grid;overflow:hidden}.photo-preview>span{justify-items:center;display:grid}.photo-preview b{font-size:24px}.photo-preview strong{font-size:10px}.photo-preview small{color:#617ca8;font-size:8px}.photo-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(330px,100%);display:grid}.photo-field .photo-actions label,.photo-actions button{color:#8ebcff;cursor:pointer;background:#0a1731;border:1px solid #315488;border-radius:9px;place-items:center;width:auto;height:auto;min-height:40px;padding:0 12px;font-size:9px;display:grid;overflow:visible}.photo-actions input,.attachment-picker input{opacity:0;width:1px;height:1px;position:absolute}.photo-actions button{color:#ee8da5;background:#25132a;border-color:#593651;grid-column:1/-1}.attachment-picker{background:#0a1731;border:1px dashed #315488;border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;margin-top:9px;padding:7px;display:grid}.attachment-picker>span{min-width:0;padding:0 4px;display:grid}.attachment-picker small{color:#7395c6;font-size:7px}.attachment-picker strong{color:#b8c9e6;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.attachment-picker label{color:#8ebcff;cursor:pointer;background:#101e3d;border:1px solid #315488;border-radius:7px;place-items:center;min-height:31px;padding:0 9px;font-size:8px;display:grid}@media (max-width:700px){.photo-field{align-items:stretch}.photo-preview{width:125px;height:105px}.photo-actions{grid-template-columns:1fr}.photo-actions button{grid-column:auto}.attachment-picker{grid-template-columns:1fr 1fr}.attachment-picker>span{grid-column:1/-1}}.brand-mark{background:radial-gradient(circle at 50% 45%,#17336c,#091631 72%);border:1px solid #498fff66;padding:1px;overflow:visible}.brand-mark img{object-fit:contain;filter:drop-shadow(0 5px 8px #00000059);width:100%;height:100%}.auth-orbit>span{width:116px;height:116px;box-shadow:none;background:0 0;border-radius:0;overflow:visible}.auth-orbit>span img{object-fit:contain;filter:drop-shadow(0 12px 18px #00000073);width:100%;height:100%}.auth-loader span{background:0 0;border-radius:0;width:104px;height:104px;overflow:visible}.auth-loader span img{object-fit:contain;filter:drop-shadow(0 12px 18px #0006);width:100%;height:100%}@media (max-width:700px){.auth-orbit>span{width:84px;height:84px}.auth-loader span{width:88px;height:88px}}.transaction-panel{background:linear-gradient(145deg,#0e1939,#08122c);border:1px solid #223b6d;border-radius:15px;margin-top:13px;padding:16px}.transaction-panel>header{border-bottom:1px solid #20355f;justify-content:space-between;align-items:center;gap:12px;padding-bottom:11px;display:flex}.transaction-panel>header small{color:#6397fb;letter-spacing:.12em;font-size:8px;font-weight:800}.transaction-panel>header h2{margin:2px 0 0;font-size:17px}.transaction-panel>header>strong{color:var(--cyan);font-size:12px}.transaction-list{display:grid}.transaction-row{border-bottom:1px solid #1f345e;grid-template-columns:minmax(220px,1fr) minmax(110px,.35fr) minmax(110px,.35fr) auto;align-items:center;gap:12px;min-width:0;padding:11px 3px;display:grid}.transaction-row:last-child{border-bottom:0}.transaction-row>span:first-child{min-width:0;display:grid}.transaction-row>span:first-child strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.transaction-row small,.transaction-row>i{color:#7189b4;font-size:8px;font-style:normal}.transaction-row>b{color:#ffd456;font-size:15px}.transaction-row>em{color:#7388ae;font-size:8px;font-style:normal}.transaction-row.is-void{opacity:.55}.transaction-empty{color:#7188b4;place-content:center;min-height:90px;font-size:10px;display:grid}.danger-button,.secondary-button,.row-actions button,.history-cancel{color:#95b9ef;background:#101c39;border:1px solid #335283;border-radius:8px;min-height:31px;padding:0 10px;font-size:8px;font-weight:700}.danger-button,.row-actions .danger,.history-cancel{color:#ff91a2;background:#251329;border-color:#6b304a}.danger-button:disabled,.history-cancel:disabled{opacity:.45;cursor:not-allowed}.row-actions{justify-content:flex-end;gap:5px;place-items:initial!important;width:auto!important;height:auto!important;color:inherit!important;background:0 0!important;border-radius:0!important;display:flex!important}.expense-list>div{grid-template-columns:33px minmax(0,1fr) auto auto}.expense-list>div>.row-actions{background:0 0}.form-actions,.modal-actions{align-items:center;gap:8px;margin-top:11px;display:flex}.form-actions .primary-action,.modal-actions .primary-action{flex:1;margin-top:0}.secondary-button{min-height:43px;padding-inline:14px}.modal-actions .danger-button{min-height:43px}.edit-note{color:#7f96bd;background:#09142d;border:1px solid #29426d;border-radius:9px;margin:11px 0 0;padding:9px 11px;font-size:8px;line-height:1.55}.edit-product-head{background:#09142e;border:1px solid #253d6d;border-radius:11px;grid-template-columns:90px 1fr;align-items:center;gap:12px;margin-bottom:13px;padding:12px;display:grid}.edit-product-head>img,.edit-product-head>span{object-fit:cover;background:#17346b;border-radius:10px;place-items:center;width:90px;height:90px;font-size:25px;font-weight:800;display:grid;overflow:hidden}.edit-product-head label{color:#8fbaff;cursor:pointer;border:1px dashed #3b6198;border-radius:9px;place-content:center;min-height:48px;padding:8px 12px;font-size:9px;display:grid;position:relative}.edit-product-head input{opacity:0;width:1px;height:1px;position:absolute}.edit-product-head small{color:#6f86ad;font-size:7px}.history-cancel{white-space:nowrap;justify-self:end;min-height:26px}.debt-history>span{grid-template-columns:80px 90px 60px minmax(70px,1fr) auto}@media (max-width:700px){.transaction-panel{padding:12px}.transaction-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}.transaction-row>i,.transaction-row>.row-actions,.transaction-row>.danger-button,.transaction-row>em{grid-column:1/-1}.transaction-row>.row-actions{justify-content:stretch}.transaction-row>.row-actions button{flex:1}.transaction-row>.danger-button{width:100%}.expense-list>div{grid-template-columns:33px minmax(0,1fr) auto}.expense-list>div>.row-actions{grid-column:2/-1;justify-content:stretch}.expense-list>div>.row-actions button{flex:1}.form-actions,.modal-actions{flex-direction:column;align-items:stretch}.form-actions button,.modal-actions button{width:100%}.edit-product-head{grid-template-columns:70px 1fr}.edit-product-head>img,.edit-product-head>span{width:70px;height:70px}.debt-history>span{grid-template-columns:1fr 1fr}.history-cancel{grid-column:1/-1;width:100%}.debt-history a,.debt-history>span>small{text-align:right}}.receive-button,.history-cancel,.danger-button,.secondary-button,.row-actions button,.attachment-picker label,.photo-field .photo-actions label,.photo-actions button{min-height:44px}.range-tabs button,.alert-panel .panel-heading button{min-width:44px;min-height:40px}.bottom-nav button{min-width:44px}@media (max-width:700px){.photo-field{flex-direction:column;align-items:stretch}.photo-preview{width:100%;height:160px}.photo-actions{width:100%}.attachment-picker label{min-height:48px;font-size:10px}.debt-history>span{grid-template-columns:1fr 1fr;gap:8px}.history-cancel{grid-column:1/-1;width:100%}}
