@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-cyrillic-ext-400-normal.2745gcdax2e3-.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-cyrillic-ext-400-normal.36zaces6jujad.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-thai-400-normal.2vcybq-irdqrs.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-thai-400-normal.03p84ch9rz841.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-latin-ext-400-normal.2lv5q7h8bitvd.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-ext-400-normal.15xdqjbi4gllc.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:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-latin-400-normal.2wxbltz-qby0j.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-400-normal.39rh64oh7xmb3.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:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-cyrillic-ext-500-normal.328h13xt279m5.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-cyrillic-ext-500-normal.20gl2zzq6zvbb.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-thai-500-normal.1d0qrsn_0wd_n.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-thai-500-normal.2r4duxo5eh6pc.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-latin-ext-500-normal.2tyej6om-13_x.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-ext-500-normal.26lu0b5ioqlaf.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:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-latin-500-normal.351t6xkx8vlu3.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-500-normal.3a1ldtgk1hom_.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:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-cyrillic-ext-600-normal.2n504n1moeh0r.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-cyrillic-ext-600-normal.1ek02e03dlhu2.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-thai-600-normal.213tq94-94uef.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-thai-600-normal.1k51c4-fx5jlv.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-latin-ext-600-normal.0zkm8lubzbj0y.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-ext-600-normal.42tszjx51lv3a.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:IBM Plex Sans Thai;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-latin-600-normal.0tzs4s06sxxpz.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-latin-600-normal.3hpavg9eo_n_1.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{--ink:#18202b;--muted:#5b6573;--blue:#1f4fbf;--line:#dde1e6;--edge:#c9cfd8;--paper:#f4f5f7;--danger:#8e1b14;color:var(--ink);background:var(--paper);font:16px IBM Plex Sans Thai,sans-serif}*{box-sizing:border-box}body,h1,h2,p{margin:0}h1{font-size:24px}h2{font-size:18px}small{color:var(--muted);font-size:12px;display:block}p{color:var(--muted);font-size:13px}a{color:var(--blue)}button,input,select,textarea{font:inherit;color:inherit}button,.back{background:var(--blue);color:#fff;cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 16px;font-size:15px;font-weight:600;display:inline-flex}button:disabled,input:disabled,select:disabled{cursor:default}button:disabled,select:disabled,.locked{opacity:.5}input:not([type=checkbox]):not([type=hidden]),select{border:1px solid var(--edge);background:#fff;border-radius:8px;min-width:0;max-width:100%;min-height:44px;padding:8px 12px;font-size:15px}input:disabled{background:var(--paper);color:var(--muted)}input[type=checkbox]{accent-color:var(--blue)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #6388dc}.secondary,.back{border-color:var(--edge);color:var(--ink);background:#fff}.danger{background:var(--danger)}.dash,.destructive-outline{border:1px dashed var(--blue);color:var(--blue);background:#fff}.destructive-outline{color:var(--danger);border:1px solid #e59a94}header{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 32px;display:flex}.brand,.account,nav,.row,.section-top,.users-heading,.dialog-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.brand{color:inherit;text-decoration:none}.brand b{font-size:20px;line-height:1.1}.brand img{border:1px solid var(--line);border-radius:10px}nav{gap:4px}nav a{color:#4a5563;border-radius:999px;align-items:center;min-height:44px;padding:8px 18px;font-size:15px;font-weight:600;text-decoration:none;display:inline-flex}nav a[aria-current]{color:var(--blue);background:#e8eefb}.account{overflow-wrap:anywhere;min-width:0;font-size:14px}.avatar,.badge,.trash-disc{color:var(--blue);background:#e8eefb;flex-shrink:0;place-items:center;font-weight:600;display:grid}.avatar{border-radius:50%;width:36px;height:36px}.account button{font-size:13px}main{overflow-wrap:anywhere;gap:16px;width:100%;min-width:0;max-width:1100px;margin:auto;padding:24px 32px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:12px;min-width:0;padding:20px;display:grid}.login{background:radial-gradient(640px 420px at 50% 0,#dce6fa 0%,#f4f5f7 72%);place-items:center;max-width:none;min-height:100dvh;padding:16px;display:grid}.login .card{border-radius:22px;gap:14px;width:100%;max-width:380px;padding:30px 28px;box-shadow:0 18px 50px #18202b1a}.login-heading{text-align:center;justify-items:center;gap:8px;display:grid}.login-heading img{border:1px solid var(--line);background:#fff;border-radius:20px}.login-heading b{color:var(--blue);font-size:11px}.login h1{font-size:22px;font-weight:500}.login form{gap:14px;display:grid}.login label{gap:6px;font-size:13px;font-weight:600;display:grid}.login input{font-weight:400;border-radius:10px!important}.login small{text-align:center}.error{color:var(--danger);background:#fce8e6;border-radius:8px;padding:8px 10px}.calendar-empty{min-height:200px;color:var(--muted);place-items:center}.row{gap:8px}.row strong,.preset-box label{font-size:14px}.push{margin-inline-start:auto}.preset-box{background:var(--paper);border-radius:12px;gap:10px;padding:14px;display:grid}.pill{border-color:var(--edge);color:var(--ink);background:#fff;border-radius:999px;font-size:14px}.pill.dash{border-color:var(--blue);color:var(--blue)}.pill.selected{background:var(--blue);color:#fff;border-color:var(--blue);opacity:1}.rename>form{flex:260px}.rename label{align-items:center;gap:8px;display:flex}.rename input{flex:1;width:2em}.stock>.dash,.rules-grid button{justify-self:start}.preset-chips{align-items:center;gap:8px;min-width:0;max-width:100%;display:flex;overflow-x:auto}.preset-chips form{flex:none;max-width:100%}.preset-chips button{overflow-wrap:anywhere;max-width:100%}.equipment-head,.equipment-row{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr)) 44px;align-items:start;gap:8px;display:grid}.equipment-head{color:var(--muted);font-size:13px;font-weight:600}.equipment-row>form:first-child{grid-column:1/5;grid-template-columns:subgrid;gap:8px;display:grid}.equipment-row>form:nth-child(2){grid-area:1/5}.equipment-row label{min-width:0}.equipment-row label span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.equipment-row input{width:100%}.save-row{grid-column:1/-1;justify-self:start}.icon-button{width:44px;color:var(--danger);background:0 0;padding:0}.rules-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.rules-grid .card{align-content:start}.rules-grid input[type=number]{width:80px}.rules-grid input.cutoff{width:90px}.rules-grid input:not([type]){flex:1;width:90px}.colors{gap:6px;display:grid}.colors span{color:#0f5a2e;background:#ddf3e4;border-radius:6px;padding:6px 10px;font-size:14px}.colors span:nth-child(2){color:#6a4b00;background:#fff0bf}.colors span:nth-child(3){color:var(--danger);background:#f9d5d3}.colors span:nth-child(4){background:var(--danger);color:#fff}.status-tag{background:var(--paper);border-radius:10px;align-items:center;gap:4px;max-width:100%;padding:0 8px;display:inline-flex}.status-tag button{color:var(--danger);background:0 0;width:44px;padding:0}.toast{background:var(--ink);color:#fff;z-index:5;border-radius:12px;padding:10px 20px;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #18202b22}.users-page{max-width:960px}.users-heading{gap:14px}.users-heading h1{font-size:28px;line-height:1.25}.users-heading button{margin-left:auto}.back{border-radius:50%;width:44px;padding:0}.info{background:#eef3fd;border:1px solid #c9d7f5;border-radius:14px;align-items:center;gap:12px;padding:14px 16px;font-size:14px;display:flex}.badge{border-radius:10px;width:40px;height:40px}.info .badge{background:var(--blue);color:#fff;width:36px;height:36px}.account-card{border-radius:16px;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;display:flex}.account-fields{flex-wrap:wrap;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.identity-fields{flex:200px;gap:6px;min-width:0;display:grid}.identity-fields input:not([type=hidden]){background:var(--paper);border-color:#0000;width:100%}.identity-fields input:first-child{font-weight:600}.switch{min-height:44px;color:var(--muted);cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex;position:relative}.switch input{opacity:0;position:absolute}.switch span{background:#9aa3b0;border-radius:99px;width:38px;height:22px;position:relative}.switch span:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;position:absolute;top:3px;left:3px}.switch input:checked+span{background:var(--blue)}.switch input:checked+span:after{left:19px}.switch input:focus-visible+span{outline:2px solid var(--blue)}.section-top{justify-content:space-between;align-items:flex-start}.permissions{border-radius:18px}.permissions form{gap:14px;display:grid}.permissions button{justify-self:start}.table-frame{border:1px solid var(--line);border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:center;border-bottom:1px solid var(--paper);padding:4px 6px}th:first-child{text-align:left}thead{background:#eef3fd}thead th{padding:10px 6px;font-size:13px}.check{place-items:center;min-width:44px;min-height:44px;display:inline-grid}.check input{width:20px;height:20px}.note{color:var(--blue);background:#eef3fd;border-radius:8px;padding:8px 12px;font-size:12px}.history details{border-bottom:1px solid var(--line);padding:4px}.history summary{cursor:pointer;min-height:44px;padding:10px 0}.history dd{color:var(--muted);margin:0 0 6px}dialog{width:calc(100% - 32px);max-width:400px;color:var(--ink);border:none;border-radius:16px;padding:24px;box-shadow:0 20px 48px #18202b4d}dialog[open]{gap:14px;display:grid}dialog::backdrop{background:#18202b73}dialog h2{font-size:20px}dialog p{font-size:15px}.dialog-actions{justify-content:flex-end;gap:8px}.trash-disc{width:48px;height:48px;color:var(--danger);background:#f9d5d3;border-radius:50%}@media (max-width:720px){header{padding:14px 16px}main{padding:20px 16px}.rules-grid{grid-template-columns:1fr}.account-fields{flex:100%}.identity-fields{flex-basis:100%}.account-card,.users-heading{gap:8px}.users-heading button{margin-left:0}.equipment-head{display:none}.equipment-row{border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(0,1fr) 44px;padding:12px}.equipment-row>form:first-child{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-row>form:nth-child(2){grid-area:auto/2}.equipment-row label span{clip-path:none;width:auto;height:auto;color:var(--muted);font-size:12px;display:block;position:static}.card{padding:16px}.permissions td,.permissions th{padding:4px 2px}.users-heading h1{font-size:26px}.permissions th{font-size:12px}.info{align-items:flex-start}}@media (max-width:490px){header nav{order:3;width:100%}.account{gap:6px}.account button{padding:8px}.users-heading{flex-wrap:wrap}.account-card{padding:14px}.status-tag{overflow-wrap:anywhere}.brand{gap:8px}}
