:root{--font-size: 16px;--body-background: #eef3f1;--background: #ffffff;--foreground: #0d1f1b;--card: #ffffff;--card-foreground: #0d1f1b;--primary: #0b6b5e;--primary-foreground: #ffffff;--primary-hover: #075247;--secondary: #e3efeb;--secondary-foreground: #123830;--muted: #e4ece9;--muted-foreground: #4a5b56;--accent: #d9ebe5;--accent-foreground: #0b6b5e;--alert: #c97a12;--alert-background: #fffaf1;--destructive: #ba344f;--destructive-foreground: #ffffff;--destructive-hover: #610d1e;--radius: .5rem;--border: #b7c9c3;--input: transparent;--input-foreground: #16211f;--input-background: #fbfcfc;--switch-background: #cbced4;--font-weight-medium: 500;--font-weight-normal: 400;--ring: #3aa897;--shadow-sm: 0 2px 10px rgba(13, 31, 27, .09);--shadow-md: 0 14px 32px rgba(13, 31, 27, .16);--sidebar-bg-top: var(--primary);--sidebar-bg-bottom: var(--primary-hover);--sidebar-border: #16332b;--sidebar-foreground: #eef6f3;--sidebar-muted: #dceae5;--sidebar-active-bg: var(--primary-hover);--sidebar-accent: var(--ring);--radius-sm: calc(var(--radius) - 4px);--radius-md: calc(var(--radius) - 2px);--radius-lg: var(--radius);--radius-xl: calc(var(--radius) + 4px)}.dark{--background: #0a0a0a;--foreground: #fafafa;--card: #0a0a0a;--card-foreground: #fafafa;--popover: #0a0a0a;--popover-foreground: #fafafa;--primary: #fafafa;--primary-foreground: #171717;--secondary: #262626;--secondary-foreground: #fafafa;--muted: #262626;--muted-foreground: #a1a1a1;--accent: #262626;--accent-foreground: #fafafa;--destructive: #82181a;--destructive-foreground: #fb2c36;--border: #262626;--input: #262626;--ring: #525252;--font-weight-medium: 500;--font-weight-normal: 400;--chart-1: #1447e6;--chart-2: #00bc7d;--chart-3: #fe9a00;--chart-4: #ad46ff;--chart-5: #ff2056;--sidebar: #171717;--sidebar-foreground: #fafafa;--sidebar-primary: #1447e6;--sidebar-primary-foreground: #fafafa;--sidebar-accent: #262626;--sidebar-accent-foreground: #fafafa;--sidebar-border: #262626;--sidebar-ring: #525252}@font-face{font-family:Lato;font-weight:400;src:url(/fonts/lato/Lato-Regular.ttf) format("truetype")}@font-face{font-family:Lato;font-weight:500;src:url(/fonts/lato/Lato-Bold.ttf) format("truetype")}*,body{padding:0;margin:0;font-family:Lato,sans-serif}*{border:none;outline-color:var(--ring);padding:0;margin:0;box-sizing:border-box}body{background:var(--body-background);color:var(--foreground);box-sizing:border-box;height:100dvh;width:100dvw;font-family:Lato,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}html{font-size:var(--font-size);overflow-x:hidden}h1{font-size:1.5rem;font-weight:var(--font-weight-medium);line-height:1.5}h2{font-size:1.25rem;font-weight:var(--font-weight-medium);line-height:1.5}h3{font-size:1.125rem;font-weight:var(--font-weight-medium);line-height:1.5}h4{font-size:1rem;font-weight:var(--font-weight-medium);line-height:1.5}label{font-size:1rem;font-weight:var(--font-weight-medium);line-height:1.5;cursor:pointer}button{font-size:1rem;line-height:1.5;min-height:2.35rem;padding:.45rem .8rem;border-radius:var(--radius-md);cursor:pointer;background-color:var(--primary);color:var(--primary-foreground);font-weight:var(--font-weight-medium);transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}button:disabled{filter:brightness(.6) saturate(.8);cursor:not-allowed;pointer-events:none}button:hover{background-color:var(--primary-hover);box-shadow:var(--shadow-sm)}button:active{transform:translateY(1px)}button.secondary{font-weight:var(--font-weight-medium);border:1px solid var(--border);background-color:var(--secondary);color:var(--secondary-foreground)}button.secondary:active,button.secondary.active{background-color:var(--primary);color:var(--primary-foreground);border:1px solid var(--ring)}button.secondary:hover{font-weight:var(--font-weight-normal);border:1px solid var(--ring);background-color:var(--primary);color:var(--primary-foreground)}button.destructive{color:var(--destructive-foreground);background-color:var(--destructive)}button.destructive:hover{background-color:var(--destructive-hover)}input,textarea,select{color:var(--input-foreground);background-color:var(--input-background);font-size:1rem;font-weight:var(--font-weight-medium);min-height:2.4rem;padding:.5rem .65rem;border:1px solid var(--border);border-radius:var(--radius-md);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}input:focus,textarea:focus,select:focus{border-color:var(--ring);background-color:var(--background);box-shadow:0 0 0 3px #3aa89729;outline:none}main#AuthLayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(20rem,.78fr);min-height:100dvh;background:var(--background)}main#AuthLayout .authContent{min-width:0}main#AuthLayout .authBrand{display:flex;flex-direction:column;justify-content:center;padding:clamp(2rem,7vw,7rem);color:#f4fbf8;background:radial-gradient(circle at 85% 15%,rgba(58,168,151,.36),transparent 28%),linear-gradient(145deg,#0b6b5e,#08483f)}main#AuthLayout .brandMark{display:grid;place-items:center;width:3.25rem;height:3.25rem;margin-bottom:2.5rem;border:1px solid rgba(244,251,248,.45);border-radius:.9rem;font-size:1.75rem;font-weight:500}main#AuthLayout .eyebrow,main#AuthLayout .formEyebrow{color:var(--ring);font-size:.78rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase}main#AuthLayout .authBrand h2{max-width:24rem;margin:.7rem 0 1rem;font-size:clamp(2rem,3.3vw,3.35rem);line-height:1.08;font-weight:500}main#AuthLayout .brandDescription{max-width:22rem;color:#f4fbf8c7;font-size:1.05rem}main#AuthLayout .brandLine{width:3.5rem;height:2px;margin:3rem 0 1rem;background:#d9ebe5}main#AuthLayout .brandNote{color:#f4fbf89e;font-size:.9rem}@media(max-width:800px){main#AuthLayout{grid-template-columns:1fr}main#AuthLayout .authBrand{display:none}}:root{--headbar-height: 3.5rem}main#DashboardLayout{position:relative;display:grid;grid-template-columns:15rem minmax(0,1fr);grid-template-rows:var(--headbar-height) minmax(0,1fr);width:100%;max-width:100%;height:100dvh;min-width:0}main#DashboardLayout #dashboardMenu{grid-row:1/-1;grid-column:1}main#DashboardLayout #headBarMenu{display:block;grid-row:1;grid-column:2;min-height:0}main#DashboardLayout section#Outlet{grid-row:2;grid-column:2;overflow:auto;min-width:0;padding:.75rem;background:var(--body-background)}main#DashboardLayout #closeMenu{position:fixed;top:1rem;right:1rem;display:none;justify-content:center;align-items:center;width:2rem;height:2rem;color:#000;background-color:var(--primary-foreground);border-radius:var(--radius-md);cursor:pointer}main#DashboardLayout #menuBackground{width:100%;height:100dvh;background-color:#00000086}@media(max-width:800px){main#DashboardLayout{grid-template-columns:auto;grid-template-rows:var(--headbar-height) minmax(0,1fr);min-height:100dvh}main#DashboardLayout section#Outlet{grid-row:auto;grid-column:auto;padding:clamp(.5rem,2vw,.75rem)}main#DashboardLayout #dashboardMenu{grid-row:auto;grid-column:auto;display:none}main#DashboardLayout #dashboardMenu.open{position:fixed;display:grid;grid-template-columns:minmax(15rem,80dvw) 1fr;z-index:10}main#DashboardLayout #headBarMenu{grid-row:auto;grid-column:auto;display:block}main#DashboardLayout #closeMenu{display:flex}}.grid-layout{min-width:0;padding:.25rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:.3rem}.grid-layout .card{min-width:0;cursor:pointer;border:1px solid var(--border);border-radius:var(--radius-lg);padding:.75rem;background-color:var(--card);box-shadow:var(--shadow-sm);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.grid-layout .card:hover{transform:translateY(-2px);border-color:var(--ring);box-shadow:var(--shadow-md)}.grid-layout .card h3,.grid-layout .card div{min-width:0;overflow-wrap:anywhere}@media(min-width:1100px){.grid-layout{grid-template-columns:1fr 1fr 1fr 1fr}}@media(min-width:750px){.grid-layout{grid-template-columns:1fr 1fr 1fr 1fr}}@media(max-width:950px){.grid-layout{grid-template-columns:1fr 1fr}}@media(max-width:750px){.grid-layout{grid-template-columns:1fr}}@media(max-width:650px){.grid-layout{grid-template-columns:1fr 1fr}}main#homePage{min-height:100dvh;padding:1.25rem clamp(1rem,5vw,5rem) 2rem;color:#17302d;background:radial-gradient(circle at 88% 12%,rgba(58,168,151,.18),transparent 28%),linear-gradient(135deg,#f6faf8,#e7f2ee 52%,#d5e9e2)}main#homePage .homeNav{width:min(100%,76rem);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}main#homePage .homeBrand,main#homePage .homeNav a,main#homePage .heroActions a{text-decoration:none}main#homePage .homeBrand{display:inline-flex;align-items:center;gap:.6rem;color:#17302d;font-size:1.25rem;font-weight:700}main#homePage .homeBrand img{width:2.35rem;height:2.35rem;object-fit:contain}main#homePage .homeNavActions,main#homePage .heroActions{display:flex;align-items:center;gap:1rem}main#homePage .homeLogin,main#homePage .textLink{color:#0b6b5e;font-weight:700}main#homePage .button{display:inline-flex;min-height:2.7rem;align-items:center;justify-content:center;padding:.55rem 1rem;border-radius:.45rem;font-weight:700}main#homePage .button.primary{color:#fff;background:#0b6b5e;box-shadow:0 .5rem 1.2rem #0b6b5e2e}main#homePage .homeHero{width:min(100%,76rem);min-height:min(68dvh,42rem);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(20rem,.85fr);align-items:center;gap:clamp(2rem,7vw,7rem);padding:clamp(3rem,8vh,7rem) 0 4rem}main#homePage .heroCopy{max-width:39rem}main#homePage .heroCopy h1{max-width:11ch;margin:.6rem 0 1.25rem;font-size:clamp(2.5rem,5.5vw,5rem);line-height:.98;letter-spacing:-.03em}main#homePage .heroCopy p{max-width:32rem;margin-bottom:2rem;color:#55706a;font-size:clamp(1rem,1.5vw,1.2rem)}main#homePage .homeKicker{color:#0b6b5e;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}main#homePage .textLink{display:inline-flex;align-items:center;gap:.45rem}main#homePage .textLink span{transition:transform .16s ease}main#homePage .textLink:hover span{transform:translate(.2rem)}main#homePage .homeSnapshot{width:min(100%,28rem);justify-self:end;padding:clamp(1.25rem,3vw,2rem);border:1px solid rgba(11,107,94,.25);border-radius:1rem;background:#ffffffb3;box-shadow:1.2rem 1.5rem #0b6b5e1a;transform:rotate(2deg)}main#homePage .snapshotTop,main#homePage .snapshotBrand,main#homePage .snapshotMetrics,main#homePage .snapshotLine{display:flex;align-items:center}main#homePage .snapshotTop{justify-content:space-between;gap:.75rem;padding-bottom:1.5rem;border-bottom:1px solid #c8ddd6}main#homePage .snapshotBrand{gap:.45rem;color:#0b6b5e}main#homePage .snapshotBrand span{width:.65rem;height:.65rem;border-radius:50%;background:#d99118}main#homePage .snapshotStatus{color:#55706a;font-size:.72rem}main#homePage .snapshotTitle{display:grid;gap:.35rem;padding:2rem 0}main#homePage .snapshotTitle span{color:#71847f;font-size:.8rem}main#homePage .snapshotTitle strong{font-size:1.65rem;line-height:1.1}main#homePage .snapshotMetrics{gap:.5rem}main#homePage .snapshotMetrics div{flex:1 1 0;min-width:0;padding:.8rem .65rem;border-radius:.5rem;background:#e6f1ed;overflow:hidden}main#homePage .snapshotMetrics small,main#homePage .snapshotMetrics strong{display:block}main#homePage .snapshotMetrics small{color:#71847f;font-size:.7rem;overflow-wrap:anywhere}main#homePage .snapshotMetrics strong{margin-top:.2rem;font-size:.85rem;line-height:1.15;overflow-wrap:anywhere;word-break:break-word}main#homePage .snapshotLine{gap:.35rem;margin-top:2rem}main#homePage .snapshotLine span{height:.35rem;border-radius:1rem;background:#b7d7cd}main#homePage .snapshotLine span:first-child{width:35%;background:#0b6b5e}main#homePage .snapshotLine span:nth-child(2){width:25%}main#homePage .snapshotLine span:nth-child(3){width:18%}main#homePage .snapshotLine span:last-child{width:12%}main#homePage .homeFeatures{width:min(100%,76rem);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding-top:1.5rem;border-top:1px solid rgba(11,107,94,.2)}main#homePage .homeFeatures article{min-width:0;padding-right:1.25rem;border-right:1px solid rgba(11,107,94,.2)}main#homePage .homeFeatures article:last-child{border-right:0}main#homePage .homeFeatures .featureIndex{color:#d99118;font-size:.75rem;font-weight:700}main#homePage .homeFeatures h2{margin:.35rem 0;font-size:1.15rem}main#homePage .homeFeatures p{color:#55706a;font-size:.9rem}@media(max-width:760px){main#homePage{padding-inline:1rem}main#homePage .homeHero{min-height:auto;grid-template-columns:1fr;gap:3rem;padding:4.5rem 0 3.5rem}main#homePage .homeSnapshot{justify-self:center;transform:rotate(1deg)}}@media(max-width:520px){main#homePage .homeNavActions{gap:.6rem}main#homePage .homeLogin{font-size:.9rem}main#homePage .homeNav .button{padding-inline:.7rem;font-size:.9rem}main#homePage .heroCopy h1{max-width:12ch;font-size:2.65rem}main#homePage .heroActions{align-items:flex-start;flex-direction:column;gap:1rem}main#homePage .heroActions .button{width:100%}main#homePage .homeSnapshot{box-shadow:.6rem .8rem #0b6b5e1a}main#homePage .homeSnapshot .snapshotMetrics{align-items:stretch;flex-wrap:wrap}main#homePage .homeSnapshot .snapshotMetrics div{flex-basis:calc(50% - .25rem)}main#homePage .homeFeatures{grid-template-columns:1fr;gap:1.25rem}main#homePage .homeFeatures article{padding:0 0 1rem;border-right:0;border-bottom:1px solid rgba(11,107,94,.2)}}@media(max-width:360px){main#homePage .homeSnapshot .snapshotMetrics{display:grid;grid-template-columns:1fr}}main#accountPage{width:min(100%,75rem);min-width:0;max-width:75rem;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}main#accountPage .accountSection{padding:1.5rem;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);color:var(--card-foreground);box-shadow:var(--shadow-sm)}main#accountPage .accountSection header{padding-bottom:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border)}main#accountPage .accountSection header h2{margin-top:.25rem;color:var(--foreground)}main#accountPage .accountSection header p{margin-top:.25rem;color:var(--muted-foreground)}main#accountPage .accountSection .errorMessage,main#accountPage .accountSection .successMessage{display:block;padding:.7rem .85rem;margin-bottom:1.25rem;border-radius:var(--radius-md);font-size:.9rem}main#accountPage .accountSection .errorMessage{border:1px solid rgba(186,52,79,.25);background:#ba344f14;color:var(--destructive)}main#accountPage .accountSection .successMessage{border:1px solid rgba(11,107,94,.25);background:#0b6b5e14;color:var(--primary)}main#accountPage .accountSection form{display:flex;flex-direction:column;gap:1rem}main#accountPage .accountSection form footer{display:flex;justify-content:flex-end;margin-top:.75rem}main#accountPage .accountSection form footer button{min-width:10rem}@media(max-width:650px){main#accountPage{width:100%;gap:1rem}main#accountPage .accountSection{padding:1rem .85rem}main#accountPage .accountSection header{padding-bottom:.75rem;margin-bottom:1rem}main#accountPage .accountSection header h2{font-size:1.1rem}main#accountPage .accountSection header p{font-size:.9rem}main#accountPage .accountSection form footer button{width:100%;min-width:0;min-height:2.85rem}}main#AuthPage{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:2rem clamp(1rem,5vw,5rem);background:var(--body-background)}main#AuthPage section.container{width:min(100%,28rem)}main#AuthPage section.container header{margin-bottom:2rem}main#AuthPage section.container h1{margin-top:.35rem;color:var(--foreground);font-size:clamp(1.8rem,3vw,2.25rem);line-height:1.15}main#AuthPage section.container .formIntro{margin-top:.65rem;color:var(--muted-foreground)}main#AuthPage section.container div.errorMessage{display:flex;padding:.7rem .85rem;margin-bottom:1.25rem;border:1px solid rgba(186,52,79,.25);border-radius:var(--radius-md);background:#ba344f14;color:var(--destructive)}main#AuthPage section.container div.errorMessage h4{font-size:.9rem}main#AuthPage section.container form{display:flex;flex-direction:column;gap:1rem}main#AuthPage section.container form footer{display:flex;margin-top:.5rem}main#AuthPage section.container form footer button{width:100%;min-height:3rem}main#AuthPage section.container footer{display:flex;justify-content:center;padding-top:1.35rem}main#AuthPage section.container footer button.secondary{border:0;background:transparent;color:var(--muted-foreground);font-size:.9rem}main#AuthPage section.container footer button.secondary span{color:var(--primary);font-weight:500}main#AuthPage section.container footer button.secondary:hover{background:transparent;color:var(--primary-hover);box-shadow:none}main#selectStorePage{width:min(100%,75rem);min-width:0;padding:clamp(1rem,3vw,2.5rem);margin:0 auto}main#selectStorePage .storesIntro{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:1.5rem .25rem 1rem}main#selectStorePage .storesIntro .eyebrow{color:var(--primary);font-size:.72rem;font-weight:var(--font-weight-medium);letter-spacing:.1em}main#selectStorePage .storesIntro h2{margin-top:.35rem;font-size:clamp(1.35rem,2.5vw,2rem)}main#selectStorePage .storesIntro p{margin-top:.35rem;color:var(--muted-foreground)}main#selectStorePage .storesCount{flex:0 0 auto;padding:.4rem .7rem;border-radius:999px;background:var(--secondary);color:var(--secondary-foreground);font-size:.85rem;font-weight:var(--font-weight-medium)}main#selectStorePage .storesGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.75rem;padding:.5rem 0}main#selectStorePage .storeCard{display:flex;align-items:center;width:100%;min-height:6.5rem;gap:.85rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);color:var(--foreground);text-align:left;box-shadow:var(--shadow-sm);transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}main#selectStorePage .storeCard:hover{border-color:var(--ring);background:var(--background);box-shadow:var(--shadow-md);transform:translateY(-1px)}main#selectStorePage .storeCardMark{display:grid;place-items:center;flex:0 0 auto;width:2.75rem;height:2.75rem;border-radius:var(--radius-md);background:var(--accent);color:var(--accent-foreground);font-size:1.25rem;font-weight:var(--font-weight-medium)}main#selectStorePage .storeCardCopy{display:flex;min-width:0;flex:1;flex-direction:column;gap:.15rem}main#selectStorePage .storeCardCopy strong{overflow-wrap:anywhere}main#selectStorePage .storeCardCopy small{color:var(--muted-foreground)}main#selectStorePage .storeCardArrow{color:var(--primary);font-size:1.25rem}main#selectStorePage .storesEmptyState{display:grid;place-items:center;min-height:16rem;padding:2rem;border:1px dashed var(--border);border-radius:var(--radius-lg);background:var(--secondary);text-align:center}main#selectStorePage .storesEmptyState p{max-width:28rem;margin-top:.35rem;color:var(--muted-foreground)}@media(max-width:520px){main#selectStorePage .storesIntro{align-items:flex-start;flex-direction:column;padding-top:1rem}main#selectStorePage .storesGrid{grid-template-columns:1fr}}main#createStorePage{width:min(100%,38rem);min-width:min(78vw,32rem)}main#createStorePage header#HeaderComponent{margin-bottom:1rem}main#createStorePage .errorMessage{margin:0 0 .75rem;color:var(--destructive)}main#createStorePage form{display:flex;flex-direction:column;gap:1rem}main#createStorePage form .InputComponent{width:100%}main#createStorePage form div#buttons{display:flex;justify-content:flex-end;align-items:center;padding-top:.25rem}@media(max-width:650px){main#createStorePage{width:100%;min-width:0}}main#storeSettingsPage{width:min(100%,75rem);min-width:0;max-width:75rem;margin:0 auto}main#storeSettingsPage .settingsIntro{padding:1.25rem .25rem 1rem}main#storeSettingsPage .settingsIntro h2{margin-top:.25rem;color:var(--foreground)}main#storeSettingsPage .settingsIntro p{color:var(--muted-foreground)}main#storeSettingsPage .eyebrow{color:var(--primary);font-size:.72rem;font-weight:700;letter-spacing:.08em}main#storeSettingsPage .settingsShell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);min-height:25rem;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--background);box-shadow:var(--shadow-sm)}main#storeSettingsPage .settingsSectionHeader h2,main#storeSettingsPage .settingsSectionHeader p{overflow-wrap:anywhere}main#storeSettingsPage .settingsTabs{display:flex;flex-direction:row;gap:.35rem;padding:.75rem;overflow-x:auto;border-bottom:1px solid var(--border);background:var(--muted);scrollbar-width:thin}main#storeSettingsPage .settingsTabs button{width:auto;min-width:max-content;min-height:2.6rem;border:1px solid transparent;background:transparent;color:var(--muted-foreground);text-align:left}main#storeSettingsPage .settingsTabs button:hover,main#storeSettingsPage .settingsTabs button.active{border-color:var(--border);background:var(--background);color:var(--primary);box-shadow:none}main#storeSettingsPage .settingsContent{padding:1.5rem}main#storeSettingsPage .settingsSectionHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}main#storeSettingsPage .settingsSectionHeader h2{margin-top:.25rem}main#storeSettingsPage .settingsSectionHeader p{margin-top:.25rem;color:var(--muted-foreground)}main#storeSettingsPage .settingsCount{flex:0 0 auto;padding:.35rem .6rem;border-radius:999px;background:var(--secondary);color:var(--secondary-foreground);font-size:.85rem;font-weight:var(--font-weight-medium)}main#storeSettingsPage .paymentMethodsList{display:grid;gap:.5rem;padding-top:.75rem}main#storeSettingsPage .paymentMethodForm{display:flex;gap:.75rem;padding-top:1rem}main#storeSettingsPage .paymentMethodForm input{min-width:0;flex:1}main#storeSettingsPage .paymentMethod{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem .25rem;border-bottom:1px solid var(--muted)}main#storeSettingsPage .paymentMethod:hover{background:var(--secondary)}main#storeSettingsPage .paymentMethod:last-child{border-bottom:0}main#storeSettingsPage .paymentMethod input{width:100%;min-width:0}main#storeSettingsPage .paymentMethodCopy{min-width:0;flex:1;display:grid;gap:.15rem}main#storeSettingsPage .paymentMethodCopy strong{color:var(--foreground);overflow-wrap:anywhere}main#storeSettingsPage .paymentMethodCopy small{color:var(--muted-foreground)}main#storeSettingsPage .paymentMethodActions{display:flex;flex:0 0 auto;gap:.5rem}main#storeSettingsPage .paymentMethodActions button{padding:.4rem .65rem;font-size:.85rem}@media(max-width:700px){main#storeSettingsPage{width:100%}main#storeSettingsPage .settingsIntro{padding:.75rem .25rem .65rem}main#storeSettingsPage .settingsIntro h2{font-size:1.1rem}main#storeSettingsPage .settingsIntro p{font-size:.9rem}main#storeSettingsPage .settingsShell{border-radius:var(--radius-md)}main#storeSettingsPage .settingsTabs{padding:.5rem}main#storeSettingsPage .settingsTabs button{min-height:3rem;text-align:center}main#storeSettingsPage .settingsContent{padding:.8rem .75rem 1rem}main#storeSettingsPage .settingsSectionHeader{flex-direction:column;gap:.45rem;padding-bottom:.7rem}main#storeSettingsPage .settingsSectionHeader h2{font-size:1.1rem}main#storeSettingsPage .settingsSectionHeader p{font-size:.9rem}main#storeSettingsPage .settingsCount{align-self:flex-start;padding:.25rem .5rem;font-size:.8rem}main#storeSettingsPage .paymentMethodForm{flex-direction:column;gap:.45rem;padding-top:.75rem}main#storeSettingsPage .paymentMethodForm input,main#storeSettingsPage .paymentMethodForm button{width:100%}main#storeSettingsPage .paymentMethodForm button{min-height:2.75rem}main#storeSettingsPage .paymentMethod{align-items:flex-start;flex-wrap:wrap;gap:.55rem;padding:.75rem .25rem}main#storeSettingsPage .paymentMethodCopy{flex:1 1 100%;min-width:0}main#storeSettingsPage .paymentMethodCopy input{width:100%}main#storeSettingsPage .paymentMethodActions{width:100%;gap:.4rem}main#storeSettingsPage .paymentMethodActions button{flex:1;min-height:2.7rem;padding:.35rem .5rem;font-size:.9rem}}main#suppliersPage span#clearList{width:100%;display:flex;padding:1rem;justify-content:center;align-items:center;min-height:30dvh;font-size:1.5rem;color:var(--ring)}main#createProduct,main#updateProduct{width:min(100%,48rem);min-width:min(78vw,40rem)}main#createProduct form,main#updateProduct form{display:grid;gap:.5rem;grid-template-areas:"name name" "brand barcode" "sku stock" "costPrice salePrice" "description description" "minStock buttons"}@media(max-width:650px){main#createProduct form,main#updateProduct form{grid-template-areas:"name name" "brand barcode" "sku stock" "costPrice costPrice" "salePrice salePrice" "description description" "minStock buttons"}}main#createProduct form span#name,main#updateProduct form span#name{grid-area:name}main#createProduct form span#brand,main#updateProduct form span#brand{grid-area:brand}main#createProduct form span#barcode,main#updateProduct form span#barcode{grid-area:barcode}main#createProduct form span#sku,main#updateProduct form span#sku{grid-area:sku}main#createProduct form span#costPrice,main#updateProduct form span#costPrice{grid-area:costPrice;display:grid;grid-template-columns:auto 7rem;gap:1rem}main#createProduct form span#salePrice,main#updateProduct form span#salePrice{grid-area:salePrice}main#createProduct form span#stock,main#updateProduct form span#stock{grid-area:stock;display:flex;gap:.5rem;justify-content:space-between}main#createProduct form span#description,main#updateProduct form span#description{grid-area:description;display:flex;gap:.2rem;flex-direction:column}main#createProduct form span#description textarea,main#updateProduct form span#description textarea{padding:.5rem;font-size:1rem;min-height:4rem}main#createProduct form span#minStock,main#updateProduct form span#minStock{grid-area:minStock}main#createProduct form span#buttons,main#updateProduct form span#buttons{grid-area:buttons;display:flex;justify-content:flex-end;align-items:flex-end}@media(max-width:650px){main#createProduct,main#updateProduct{width:100%;min-width:0}main#createProduct form,main#updateProduct form{grid-template-areas:"name" "brand" "barcode" "sku" "stock" "costPrice" "salePrice" "description" "minStock" "buttons"}main#createProduct form span#costPrice,main#updateProduct form span#costPrice{grid-template-columns:auto minmax(0,7rem)}}main#productView{width:min(100%,48rem);min-width:min(78vw,40rem);display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem}main#productView h1,main#productView h2{padding-right:2.5rem}main#productView section#container{display:grid;gap:.3rem;grid-template-areas:"name name" "brand barcode" "stock sku" "costPrice salePrice" "description description"}main#productView section#container div{background-color:var(--card);box-shadow:var(--shadow-sm);padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-md)}main#productView section#container div#name{grid-area:name}main#productView section#container div#brand{grid-area:brand}main#productView section#container div#barcode{grid-area:barcode}main#productView section#container div#costPrice{grid-area:costPrice}main#productView section#container div#salePrice{grid-area:salePrice}main#productView section#container div#description{grid-area:description}main#productView section#container div#stock{grid-area:stock}main#productView section#container div#sku{grid-area:sku}main#productView section#productSuppliers{display:flex;flex-direction:column;gap:.4rem}main#productView section#productSuppliers h3{margin:0;font-size:.85rem}main#productView section#productSuppliers .empty{margin:0;color:var(--muted-foreground);font-size:.85rem}main#productView section#productSuppliers table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}main#productView section#productSuppliers table th,main#productView section#productSuppliers table td{padding:.4rem .55rem;text-align:left;border-bottom:1px solid var(--border);font-size:.8rem}main#productView section#productSuppliers table th{color:var(--muted-foreground);font-size:.75rem;font-weight:var(--font-weight-medium);background-color:var(--secondary)}main#productView section#productSuppliers table tbody tr:last-child td{border-bottom:none}main#productView section#productSuppliers table tr.supplierRow{cursor:pointer}main#productView section#productSuppliers table tr.supplierRow:hover{background-color:var(--secondary)}main#productView footer{display:flex;justify-content:flex-end;gap:.5rem;align-items:center;padding:.75rem 0 0}@media(max-width:650px){main#productView{width:100%;min-width:0}main#productView section#container{grid-template-areas:"name" "brand" "barcode" "stock" "sku" "costPrice" "salePrice" "description"}main#productView section#productSuppliers table{display:block;overflow-x:auto}}main#productsPage span#clearList{width:100%;display:flex;padding:1rem;justify-content:center;align-items:center;min-height:30dvh;font-size:1.5rem;color:var(--ring)}div.productCard .lowStockBadge{display:flex;align-items:center;gap:.35rem;font-size:.7rem;font-weight:var(--font-weight-medium);color:var(--alert);text-transform:uppercase;letter-spacing:.03em}div.productCard .lowStockBadge span{width:.4rem;height:.4rem;border-radius:50%;background-color:var(--alert)}div.productCard.minimum{background-color:var(--alert-background);border:1.5px solid var(--alert)}div.productCard.minimum:hover{box-shadow:var(--alert) 0 1px .5rem}main#supplierViewPage{width:min(100%,120rem);min-width:min(80vw,50rem);display:flex;flex-direction:column;gap:1rem}main#supplierViewPage section#container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}main#supplierViewPage section#container span{display:flex;align-items:center;gap:.2rem;min-width:0;padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card)}main#supplierViewPage section#container span h2,main#supplierViewPage section#container span h3,main#supplierViewPage section#container span p{margin:0;overflow-wrap:anywhere}main#supplierViewPage section#container span#notes{align-items:flex-start;flex-direction:column;grid-column:1/-1}main#supplierViewPage section#container span#notes textarea{width:100%;min-height:5rem}main#supplierViewPage section#products{display:flex;flex-direction:column;gap:.4rem}main#supplierViewPage section#products h2{margin:0;font-size:.95rem}main#supplierViewPage section#buttons{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;padding-top:.25rem}#supplierPurchaseHistory{display:flex;flex-direction:column;width:100%;gap:.35rem}#supplierPurchaseHistory .empty{margin:0;color:var(--muted-foreground);font-size:.8rem}#supplierPurchaseHistory table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}#supplierPurchaseHistory table th,#supplierPurchaseHistory table td{padding:.35rem .5rem;text-align:left;border-bottom:1px solid var(--border);font-size:.76rem}#supplierPurchaseHistory table th{color:var(--muted-foreground);font-size:.7rem;font-weight:var(--font-weight-medium);background-color:var(--secondary)}#supplierPurchaseHistory table tbody tr:last-child td{border-bottom:none}@media(max-width:650px){#supplierPurchaseHistory table{display:block;overflow-x:auto}}@media(max-width:650px){main#supplierViewPage{width:100%;min-width:0}main#supplierViewPage section#container{grid-template-columns:1fr;min-width:0}main#supplierViewPage section#container span#notes{grid-column:auto}}main#updateSupplierPage{width:min(100%,42rem);min-width:min(78vw,36rem)}main#updateSupplierPage form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}main#updateSupplierPage form div#notes{display:flex;flex-direction:column;grid-column:1/-1}main#updateSupplierPage form div#notes textarea{min-height:5rem}main#updateSupplierPage form #buttons{display:flex;justify-content:flex-end;align-items:center;padding:1rem 0;grid-column:1/-1}@media(max-width:650px){main#updateSupplierPage form{grid-template-columns:1fr;min-width:0}main#updateSupplierPage form div#notes,main#updateSupplierPage form #buttons{grid-column:auto}}section#createSupplier{width:min(100%,42rem);min-width:min(78vw,36rem)}@media(max-width:650px){section#createSupplier{width:100%;min-width:0}}section#createSupplier .errorMessage{display:flex;justify-content:center;align-items:center;padding:1rem;color:var(--destructive)}section#createSupplier form{display:flex;gap:.5rem;flex-direction:column}section#createSupplier form div#notes{display:flex;flex-direction:column}section#createSupplier form div#notes textarea{min-height:5rem}section#createSupplier form div#buttons{display:flex;justify-content:flex-end}main#customersPage span#clearList{width:100%;display:flex;padding:1rem;justify-content:center;align-items:center;min-height:30dvh;font-size:1.5rem;color:var(--ring)}section#createCustomer{width:min(100%,42rem);min-width:min(78vw,36rem)}section#createCustomer,main#updateCustomerPage,main#customerViewPage{width:min(100%,42rem);min-width:min(78vw,36rem);display:flex;flex-direction:column;gap:1rem}section#createCustomer form,main#updateCustomerPage form,main#customerViewPage form{display:flex;gap:.75rem;flex-direction:column}section#createCustomer .customerFormGrid,main#updateCustomerPage .customerFormGrid,main#customerViewPage .customerFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}section#createCustomer .customerFormGrid>:first-child,main#updateCustomerPage .customerFormGrid>:first-child,main#customerViewPage .customerFormGrid>:first-child{grid-column:1/-1}section#createCustomer select,section#createCustomer textarea,main#updateCustomerPage select,main#updateCustomerPage textarea,main#customerViewPage select,main#customerViewPage textarea{width:100%;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--background);color:var(--foreground);padding:.65rem .75rem;font:inherit}section#createCustomer textarea,main#updateCustomerPage textarea,main#customerViewPage textarea{min-height:5rem;resize:vertical}section#createCustomer #notes,main#updateCustomerPage #notes,main#customerViewPage #notes{display:flex;flex-direction:column;gap:.35rem}section#createCustomer .blockedOption,main#updateCustomerPage .blockedOption,main#customerViewPage .blockedOption{display:flex;align-items:center;gap:.6rem;width:fit-content;cursor:pointer;color:var(--foreground)}section#createCustomer .blockedOption input,main#updateCustomerPage .blockedOption input,main#customerViewPage .blockedOption input{width:1.1rem;height:1.1rem;accent-color:var(--primary);cursor:pointer}section#createCustomer #buttons,main#updateCustomerPage #buttons,main#customerViewPage #buttons{display:flex;justify-content:flex-end;gap:.5rem;padding-top:.25rem}section#createCustomer .customerFormFooter,main#updateCustomerPage .customerFormFooter,main#customerViewPage .customerFormFooter{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.25rem;border-top:1px solid var(--border)}section#createCustomer .errorMessage,main#updateCustomerPage .errorMessage,main#customerViewPage .errorMessage{display:flex;justify-content:center;padding:.75rem;color:var(--destructive)}main#customerViewPage{width:min(100%,54rem);min-width:min(78vw,46rem);gap:.6rem}main#customerViewPage #customerSummary{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--secondary)}main#customerViewPage #customerSummary h2,main#customerViewPage #customerSummary .eyebrow{margin:0}main#customerViewPage #customerSummary h2{margin-top:.1rem;overflow-wrap:anywhere}main#customerViewPage #customerSummary .eyebrow{display:block;color:var(--muted-foreground);font-size:.78rem}main#customerViewPage #customerSummary .customerStatus{flex:0 0 auto;padding:.3rem .55rem;border-radius:999px;font-size:.78rem;font-weight:var(--font-weight-medium)}main#customerViewPage #customerSummary .customerStatus.active{color:var(--accent-foreground);background-color:var(--accent)}main#customerViewPage #customerSummary .customerStatus.blocked{color:var(--destructive);background-color:#fbe8ec}main#customerViewPage #container{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem}main#customerViewPage #container .customerDetail,main#customerViewPage #container #notes{min-width:0;padding:.45rem .6rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--card)}main#customerViewPage #container .customerDetail h3,main#customerViewPage #container .customerDetail p{margin:0}main#customerViewPage #container .customerDetail h3{margin-bottom:.15rem;color:var(--muted-foreground);font-size:.78rem;font-weight:var(--font-weight-medium)}main#customerViewPage #container .customerDetail p{overflow-wrap:anywhere}main#customerViewPage #container #notes{grid-column:1/-1}main#customerViewPage #container #notes h3{margin:0 0 .25rem;color:var(--muted-foreground);font-size:.78rem}main#customerViewPage #container #notes textarea{min-height:3.5rem}main#customerViewPage #buttons{display:flex;justify-content:flex-end}section#customerSales{display:flex;flex-direction:column;gap:.45rem;padding:.6rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--card)}section#customerSales>header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}section#customerSales>header .customerSalesHeading{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}section#customerSales>header h3{margin:0;font-size:.85rem}section#customerSales>header .customerTotalDue{font-size:.8rem;font-weight:var(--font-weight-medium);color:var(--destructive)}section#customerSales>header button{padding:.25rem .55rem;font-size:.75rem}section#customerSales .empty{margin:0;color:var(--muted-foreground);font-size:.85rem}section#customerSales .saleStatus{display:inline-block;padding:.2rem .55rem;border-radius:999px;font-size:.72rem;font-weight:var(--font-weight-medium);background-color:var(--accent);color:var(--accent-foreground)}section#customerSales .saleStatus.partial{background-color:#fdf1de;color:var(--alert)}section#customerSales .saleStatus.unpaid{background-color:#fbe8ec;color:var(--destructive)}section#customerSales .saleStatus.paid{background-color:var(--accent);color:var(--accent-foreground)}section#customerSales .saleStatus.cancelled{background-color:#fbe8ec;color:var(--destructive)}section#customerSales #customerOpenSales{display:flex;flex-direction:column;gap:.35rem;margin:0;padding:0;list-style:none}section#customerSales #customerOpenSales li{display:flex;flex-direction:column;gap:.3rem;padding:.4rem .55rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--secondary);cursor:pointer}section#customerSales #customerOpenSales li:hover{border-color:var(--ring)}section#customerSales #customerOpenSales li .saleNameRow{display:flex;align-items:center;justify-content:space-between;gap:.5rem}section#customerSales #customerOpenSales li .saleNameRow strong{min-width:0;overflow-wrap:anywhere}section#customerSales #customerOpenSales li .saleInfoRow{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .85rem;color:var(--muted-foreground);font-size:.78rem}section#customerSales #customerOpenSales li .saleInfoRow .date{white-space:nowrap}section#customerSales #customerOpenSales li .saleInfoRow .missing{font-weight:var(--font-weight-medium);color:var(--destructive)}section#customerSales #customerSalesHistory{display:flex;flex-direction:column;gap:.4rem;padding-top:.4rem;border-top:1px solid var(--border)}section#customerSales #customerSalesHistory table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}section#customerSales #customerSalesHistory table th,section#customerSales #customerSalesHistory table td{padding:.4rem .55rem;text-align:left;border-bottom:1px solid var(--border);font-size:.8rem}section#customerSales #customerSalesHistory table th{color:var(--muted-foreground);font-size:.75rem;font-weight:var(--font-weight-medium);background-color:var(--secondary)}section#customerSales #customerSalesHistory table tbody tr:last-child td{border-bottom:none}section#customerSales #customerSalesHistory table tr.saleRow{cursor:pointer}section#customerSales #customerSalesHistory table tr.saleRow:hover{background-color:var(--secondary)}section#customerSales #customerSalesHistory table td.total{font-weight:var(--font-weight-medium)}section#customerSales #customerSalesHistory table td.date{color:var(--muted-foreground);white-space:nowrap}@media(max-width:520px){section#customerSales #customerSalesHistory table{display:block;overflow-x:auto}}@media(max-width:520px){section#createCustomer,main#updateCustomerPage,main#customerViewPage{width:100%;min-width:0}section#createCustomer #customerSummary,main#updateCustomerPage #customerSummary,main#customerViewPage #customerSummary{align-items:stretch;flex-direction:column}section#createCustomer #container,main#updateCustomerPage #container,main#customerViewPage #container{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr))}section#createCustomer .customerFormGrid{grid-template-columns:1fr}section#createCustomer .customerFormGrid>:first-child{grid-column:auto}section#createCustomer .customerFormFooter{align-items:stretch;flex-direction:column}section#createCustomer,main#updateCustomerPage{gap:.75rem}section#createCustomer form,main#updateCustomerPage form{gap:.6rem}section#createCustomer .customerFormGrid,main#updateCustomerPage .customerFormGrid{gap:.6rem}main#customerViewPage{gap:.5rem}main#customerViewPage #customerSummary{padding:.6rem .65rem}main#customerViewPage #customerSummary h2{font-size:1.35rem}main#customerViewPage #container{gap:.4rem}main#customerViewPage #container .customerDetail,main#customerViewPage #container #notes{padding:.4rem .55rem}}main#salesPage span#clearList{width:100%;display:flex;padding:1rem;justify-content:center;align-items:center;min-height:30dvh;font-size:1.5rem;color:var(--ring)}main#salesPage #salesTable{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background-color:var(--card)}main#salesPage #salesTable th,main#salesPage #salesTable td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--border)}main#salesPage #salesTable th{color:var(--muted-foreground);font-size:.8rem;font-weight:var(--font-weight-medium);background-color:var(--secondary)}main#salesPage #salesTable tbody tr:last-child td{border-bottom:none}main#salesPage #salesTable tr.saleRow{cursor:pointer}main#salesPage #salesTable tr.saleRow:hover{background-color:var(--secondary)}main#salesPage #salesTable td.name{font-weight:var(--font-weight-medium)}main#salesPage #salesTable td.total{font-weight:var(--font-weight-medium)}main#salesPage #salesTable th.status,main#salesPage #salesTable td.status{text-align:center}main#salesPage #salesTable th.date{text-align:center}main#salesPage #salesTable td.date{display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--muted-foreground);font-size:.85rem;white-space:nowrap}main#salesPage #salesTable .saleStatus{display:inline-block;padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:var(--font-weight-medium);background-color:var(--accent);color:var(--accent-foreground)}main#salesPage #salesTable .saleStatus.partial{background-color:#fdf1de;color:var(--alert)}main#salesPage #salesTable .saleStatus.unpaid{background-color:#fbe8ec;color:var(--destructive)}main#salesPage #salesTable .saleStatus.cancelled{background-color:#fbe8ec;color:var(--destructive)}@media(max-width:700px){main#salesPage #salesTable{display:block;overflow-x:auto}}main#saleViewPage{width:min(100%,42rem);min-width:min(78vw,36rem);display:flex;flex-direction:column;gap:1rem}main#saleViewPage #saleSummary{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--secondary)}main#saleViewPage #saleSummary h2{margin:.2rem 0 0}main#saleViewPage #saleSummary .eyebrow{display:block;color:var(--muted-foreground);font-size:.8rem}main#saleViewPage #saleSummary .date{display:block;margin-top:.2rem;color:var(--muted-foreground);font-size:.8rem}main#saleViewPage #saleSummary .saleStatus{flex:0 0 auto;padding:.35rem .6rem;border-radius:999px;font-size:.8rem;font-weight:var(--font-weight-medium);background-color:var(--accent);color:var(--accent-foreground)}main#saleViewPage #saleSummary .saleStatus.partial{background-color:#fdf1de;color:var(--alert)}main#saleViewPage #saleSummary .saleStatus.unpaid{background-color:#fbe8ec;color:var(--destructive)}main#saleViewPage #saleSummary .saleStatus.cancelled{background-color:#fbe8ec;color:var(--destructive)}main#saleViewPage h3{margin:0 0 .5rem;font-size:.95rem}main#saleViewPage .empty{margin:0;color:var(--muted-foreground);font-size:.9rem}main#saleViewPage #saleItemsSection table{width:100%;border-collapse:collapse}main#saleViewPage #saleItemsSection table th,main#saleViewPage #saleItemsSection table td{padding:.5rem .6rem;text-align:left;border-bottom:1px solid var(--border);font-size:.9rem}main#saleViewPage #saleItemsSection table th{color:var(--muted-foreground);font-size:.75rem;font-weight:var(--font-weight-medium)}main#saleViewPage #salePaymentsSection ul{display:flex;flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none}main#saleViewPage #salePaymentsSection ul li{display:flex;justify-content:space-between;padding:.4rem .6rem;border-radius:var(--radius-sm);background-color:var(--muted);font-size:.85rem}main#saleViewPage #saleTotals{display:flex;flex-direction:column;gap:.3rem;padding-top:.5rem;border-top:1px solid var(--border)}main#saleViewPage #saleTotals div{display:flex;justify-content:space-between;color:var(--muted-foreground)}main#saleViewPage #saleTotals .total{font-size:1.1rem;font-weight:var(--font-weight-medium);color:var(--foreground)}@media(max-width:520px){main#saleViewPage{width:100%;min-width:0}main#saleViewPage #saleSummary{flex-direction:column;align-items:stretch}}main#pdvPage{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;width:100%;height:100dvh;background:var(--body-background)}main#pdvPage>.errorMessage{margin:0 1rem;padding:.6rem .9rem;border-radius:var(--radius-md);background-color:#fbe8ec;color:var(--destructive)}main#pdvPage #pdvHeader{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid var(--border);background-color:var(--background)}main#pdvPage #pdvHeader h1{margin:0;font-size:1.15rem;color:var(--primary);flex:0 0 auto}main#pdvPage #pdvHeader #pdvClose{display:grid;place-items:center;width:2.25rem;height:2.25rem;border:1px solid var(--border);border-radius:50%}main#pdvPage #pdvHeader #pdvClose img{width:1rem;height:1rem}main#pdvPage #pdvHeader #pdvClose:hover{background-color:var(--secondary)}main#pdvPage #pdvHeader #pdvTabs{display:flex;align-items:center;gap:.5rem;overflow-x:auto;flex:1 1 auto;min-width:0}main#pdvPage #pdvHeader #pdvTabs .pdvTab{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.4rem .75rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--background);color:var(--foreground);white-space:nowrap;cursor:pointer}main#pdvPage #pdvHeader #pdvTabs .pdvTab .label{font-weight:var(--font-weight-medium)}main#pdvPage #pdvHeader #pdvTabs .pdvTab .badge{font-size:.7rem;color:var(--muted-foreground)}main#pdvPage #pdvHeader #pdvTabs .pdvTab .badge.partial{color:var(--alert)}main#pdvPage #pdvHeader #pdvTabs .pdvTab.active{border-color:var(--primary);background-color:var(--accent)}main#pdvPage #pdvHeader #pdvTabs .pdvTab.active .label{color:var(--accent-foreground)}main#pdvPage #pdvTabs .pdvTab,main#pdvPage #pdvTabs .newSaleComponent{flex:0 0 auto}main#pdvPage .newSaleComponent{position:relative;flex:0 0 auto}main#pdvPage .newSaleComponent .newSaleButton{white-space:nowrap}main#pdvPage .newSaleComponent .errorMessage{margin:.35rem 0 0;font-size:.8rem;color:var(--destructive)}main#pdvPage .searchPopover{position:absolute;top:calc(100% + .5rem);left:0;z-index:20;display:flex;flex-direction:column;gap:.6rem;width:18rem;max-width:80vw;padding:.85rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--background);box-shadow:var(--shadow-md)}main#pdvPage .searchPopover header{display:flex;align-items:center;justify-content:space-between}main#pdvPage .searchPopover header p{margin:0;font-weight:var(--font-weight-medium)}main#pdvPage .searchPopover header button{width:1.75rem;height:1.75rem;min-height:0;padding:0;display:grid;place-items:center;line-height:1;flex-shrink:0}main#pdvPage .searchPopover input[type=search]{width:100%;padding:.5rem .65rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--input-background);color:var(--input-foreground);font:inherit}main#pdvPage .searchPopover ul{display:flex;flex-direction:column;gap:.25rem;max-height:12rem;margin:0;padding:0;overflow-y:auto;list-style:none}main#pdvPage .searchPopover ul li button{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.45rem .6rem;text-align:left;background-color:transparent;color:var(--foreground);border:none;border-radius:var(--radius-sm)}main#pdvPage .searchPopover ul li button:hover{background-color:var(--secondary)}main#pdvPage .searchPopover ul li button .customerDue{font-size:.75rem;font-weight:var(--font-weight-medium);color:var(--destructive);white-space:nowrap}main#pdvPage .searchPopover ul li.empty{padding:.45rem .6rem;color:var(--muted-foreground);font-size:.85rem}main#pdvPage #pdvEmptyState{display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--muted-foreground)}main#pdvPage #pdvWorkspace{display:grid;grid-template-columns:minmax(0,1fr) 22rem;flex:1 1 auto;min-height:0}main#pdvPage #pdvMain{display:flex;flex-direction:column;min-height:0;padding:1rem;gap:.75rem}main#pdvPage #pdvProductSearch{position:relative;flex:0 0 auto}main#pdvPage #pdvProductSearch input{width:100%;padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--input-background);color:var(--input-foreground);font-size:1rem}main#pdvPage #pdvProductSearch input:disabled{opacity:.6}main#pdvPage #pdvProductSearch #pdvProductResults{position:absolute;top:calc(100% + .35rem);left:0;right:0;z-index:15;display:flex;flex-direction:column;gap:.2rem;max-height:18rem;margin:0;padding:.4rem;overflow-y:auto;list-style:none;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--background);box-shadow:var(--shadow-md)}main#pdvPage #pdvProductSearch #pdvProductResults li button{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;width:100%;padding:.55rem .7rem;text-align:left;background-color:transparent;color:var(--foreground);border:none;border-radius:var(--radius-md)}main#pdvPage #pdvProductSearch #pdvProductResults li button:hover:not(:disabled){background-color:var(--secondary)}main#pdvPage #pdvProductSearch #pdvProductResults li button:disabled{opacity:.45;cursor:not-allowed}main#pdvPage #pdvProductSearch #pdvProductResults li button .stock{font-size:.75rem;color:var(--muted-foreground)}main#pdvPage #pdvProductSearch #pdvProductResults li button .price{font-weight:var(--font-weight-medium);color:var(--primary)}main#pdvPage #pdvProductSearch #pdvProductResults li.empty{padding:.55rem .7rem;color:var(--muted-foreground)}main#pdvPage #pdvCart{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--card)}main#pdvPage #pdvCart #pdvCartEmpty{display:flex;flex:1 1 auto;align-items:center;justify-content:center;color:var(--muted-foreground)}main#pdvPage #pdvCart .pdvCartTableWrap{overflow-x:auto}main#pdvPage #pdvCart #pdvCartTable{width:100%;border-collapse:collapse}main#pdvPage #pdvCart #pdvCartTable th,main#pdvPage #pdvCart #pdvCartTable td{padding:.6rem .75rem;text-align:left;border-bottom:1px solid var(--border)}main#pdvPage #pdvCart #pdvCartTable th{color:var(--muted-foreground);font-size:.8rem;font-weight:var(--font-weight-medium)}main#pdvPage #pdvCart #pdvCartTable td.name{min-width:8rem}main#pdvPage #pdvCart #pdvCartTable td.total{font-weight:var(--font-weight-medium)}main#pdvPage #pdvCart #pdvCartTable input[type=number]{width:5.5rem;padding:.35rem .5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background-color:var(--input-background);color:var(--input-foreground);font:inherit}main#pdvPage #pdvCart #pdvCartTable button.destructive{padding:.3rem .6rem;font-size:.8rem}main#pdvPage #pdvCart #pdvCartTotals{display:flex;flex-direction:column;gap:.3rem;margin-top:auto;padding:.75rem 1rem;border-top:1px solid var(--border)}main#pdvPage #pdvCart #pdvCartTotals div{display:flex;align-items:center;justify-content:space-between;color:var(--muted-foreground)}main#pdvPage #pdvCart #pdvCartTotals .discountRow .discountInput{display:flex;align-items:center;gap:.3rem}main#pdvPage #pdvCart #pdvCartTotals .discountRow .discountInput .prefix{color:var(--destructive);font-size:.85rem}main#pdvPage #pdvCart #pdvCartTotals .discountRow .discountInput input{width:5.5rem;padding:.3rem .5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background-color:var(--input-background);color:var(--input-foreground);font:inherit;text-align:right}main#pdvPage #pdvCart #pdvCartTotals .total{font-size:1.15rem;font-weight:var(--font-weight-medium);color:var(--foreground)}main#pdvPage #pdvSidebar{display:flex;flex-direction:column;min-height:0;padding:1rem;padding-left:0}main#pdvPage #pdvPaymentPanel{display:flex;flex-direction:column;gap:.85rem;height:100%;padding:1rem;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--card)}main#pdvPage #pdvPaymentPanel #pdvSaleStatus{width:fit-content;padding:.3rem .7rem;border-radius:999px;font-size:.8rem;font-weight:var(--font-weight-medium);background-color:var(--accent);color:var(--accent-foreground)}main#pdvPage #pdvPaymentPanel #pdvSaleStatus.partial{background-color:#fdf1de;color:var(--alert)}main#pdvPage #pdvPaymentPanel #pdvSaleStatus.unpaid{background-color:#fbe8ec;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvSaleStatus.paid{background-color:var(--accent);color:var(--accent-foreground)}main#pdvPage #pdvPaymentPanel #pdvSaleStatus.cancelled{background-color:#fbe8ec;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvSaleName{display:flex;flex-direction:column;gap:.15rem}main#pdvPage #pdvPaymentPanel #pdvSaleName>span{font-size:.75rem;color:var(--muted-foreground)}main#pdvPage #pdvPaymentPanel #pdvSaleName .pdvSaleNameRow{display:flex;align-items:center;justify-content:space-between;gap:.5rem}main#pdvPage #pdvPaymentPanel #pdvSaleName .pdvSaleNameRow button{padding:.2rem .55rem;font-size:.75rem}main#pdvPage #pdvPaymentPanel #pdvSaleName form{display:flex;align-items:center;gap:.4rem}main#pdvPage #pdvPaymentPanel #pdvSaleName form input{flex:1}main#pdvPage #pdvPaymentPanel #pdvSaleName form button{padding:.2rem .55rem;font-size:.75rem;white-space:nowrap}main#pdvPage #pdvPaymentPanel #pdvSaleName .errorMessage{margin:.35rem 0 0;font-size:.8rem;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvCustomer{position:relative;display:flex;flex-direction:column;gap:.15rem}main#pdvPage #pdvPaymentPanel #pdvCustomer>span{font-size:.75rem;color:var(--muted-foreground)}main#pdvPage #pdvPaymentPanel #pdvCustomer .pdvCustomerRow{display:flex;align-items:center;justify-content:space-between;gap:.5rem}main#pdvPage #pdvPaymentPanel #pdvCustomer .pdvCustomerRow button{padding:.2rem .55rem;font-size:.75rem}main#pdvPage #pdvPaymentPanel #pdvCustomer .pdvCustomerDue{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;font-weight:var(--font-weight-medium);color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvCustomer .errorMessage{margin:.35rem 0 0;font-size:.8rem;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvTotals{display:flex;flex-direction:column;gap:.35rem;padding:.75rem;border-radius:var(--radius-md);background-color:var(--secondary)}main#pdvPage #pdvPaymentPanel #pdvTotals div{display:flex;justify-content:space-between;color:var(--secondary-foreground)}main#pdvPage #pdvPaymentPanel #pdvTotals .result{font-weight:var(--font-weight-medium);font-size:1.05rem}main#pdvPage #pdvPaymentPanel #pdvTotals .remaining{font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #pdvTotals .change{font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #pdvTotals .change span:last-child{color:var(--primary)}main#pdvPage #pdvPaymentPanel #pdvPaymentsList{display:flex;flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none}main#pdvPage #pdvPaymentPanel #pdvPaymentsList li{display:flex;justify-content:space-between;padding:.4rem .6rem;border-radius:var(--radius-sm);background-color:var(--muted);font-size:.85rem}main#pdvPage #pdvPaymentPanel #pdvFinalizeSaleButton{width:100%}main#pdvPage #pdvPaymentPanel #pdvPaymentForm{display:flex;flex-direction:column;gap:.5rem;padding-top:.5rem;border-top:1px solid var(--border)}main#pdvPage #pdvPaymentPanel #pdvPaymentForm p{margin:0;font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPaymentMethods{display:flex;flex-wrap:wrap;gap:.4rem}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPaymentMethods button{padding:.35rem .65rem;font-size:.85rem}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPaymentMethods .empty{margin:0;font-size:.8rem;color:var(--muted-foreground)}main#pdvPage #pdvPaymentPanel #pdvPaymentForm input{padding:.55rem .7rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--input-background);color:var(--input-foreground);font:inherit}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPendingPaymentsList{display:flex;flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPendingPaymentsList li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.5rem;padding:.4rem .6rem;border-radius:var(--radius-sm);background-color:var(--muted);font-size:.85rem}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPendingPaymentsList li button{padding:.1rem .45rem;line-height:1}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPendingTotals{display:flex;flex-direction:column;gap:.3rem;padding:.6rem .75rem;border-radius:var(--radius-md);background-color:var(--secondary)}main#pdvPage #pdvPaymentPanel #pdvPaymentForm #pdvPendingTotals div{display:flex;justify-content:space-between;color:var(--secondary-foreground);font-size:.9rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal{display:flex;flex-direction:column;gap:1rem;width:min(60rem,92vw)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-right:2.5rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader h2{margin:0;font-size:1.2rem;color:var(--primary)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader .pdvSaleStatus{width:fit-content;padding:.3rem .7rem;border-radius:999px;font-size:.8rem;font-weight:var(--font-weight-medium);background-color:var(--accent);color:var(--accent-foreground)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader .pdvSaleStatus.partial{background-color:#fdf1de;color:var(--alert)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader .pdvSaleStatus.unpaid{background-color:#fbe8ec;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader .pdvSaleStatus.cancelled{background-color:#fbe8ec;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalBody{display:grid;grid-template-columns:minmax(0,20rem) minmax(0,1fr);gap:1.5rem;align-items:start}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalSummary{display:flex;flex-direction:column;gap:.85rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals{display:flex;flex-direction:column;gap:.35rem;padding:.75rem;border-radius:var(--radius-md);background-color:var(--secondary)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals div{display:flex;justify-content:space-between;color:var(--secondary-foreground)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals .result{font-weight:var(--font-weight-medium);font-size:1.05rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals .remaining{font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals .change{margin-top:.25rem;padding:.6rem .85rem;border-radius:var(--radius-md);background-color:var(--primary);font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals .change span:first-child{color:var(--primary-foreground)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalTotals .change span:last-child{color:var(--primary-foreground);font-size:1.35rem;font-weight:700}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments{display:flex;flex-direction:column;gap:.6rem;min-width:0}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments .sectionLabel{margin:0;font-weight:var(--font-weight-medium)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments #finalizeSalePaymentsList{display:flex;flex-direction:column;gap:.25rem;margin:0;padding:0;list-style:none}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments #finalizeSalePaymentsList li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.5rem;padding:.4rem .6rem;border-radius:var(--radius-sm);background-color:var(--muted);font-size:.85rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments #finalizeSalePaymentsList li.registered .tag{font-size:.7rem;color:var(--muted-foreground)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalPayments #finalizeSalePaymentsList li button{padding:.1rem .45rem;line-height:1}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvPaymentForm{padding-top:0;border-top:none}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvCloseWithoutPayment{display:flex;flex-direction:column;gap:.4rem;padding-top:.5rem;border-top:1px solid var(--border)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvCloseWithoutPayment .hint{margin:0;font-size:.8rem;color:var(--muted-foreground)}main#pdvPage #pdvPaymentPanel #finalizeSaleModal>.errorMessage{margin:0;font-size:.85rem;color:var(--destructive)}@media(max-width:760px){main#pdvPage #pdvPaymentPanel #finalizeSaleModal{width:100%;gap:.85rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader{flex-wrap:wrap;padding-right:2.25rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalHeader h2{font-size:1.05rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #finalizeSaleModalBody{grid-template-columns:minmax(0,1fr);gap:1rem}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvPaymentMethods button{flex:1 1 auto}main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvPaymentForm button[type=submit],main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvConcludePayment,main#pdvPage #pdvPaymentPanel #finalizeSaleModal #pdvCloseWithoutPayment button{width:100%}}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--border)}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter button{width:100%}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter #pdvCancelConfirm{display:flex;flex-direction:column;gap:.5rem}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter #pdvCancelConfirm p{margin:0;font-size:.85rem;color:var(--destructive)}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter #pdvCancelConfirm span{display:flex;gap:.5rem}main#pdvPage #pdvPaymentPanel #pdvPaymentFooter #pdvCancelConfirm span button{flex:1 1 0}@media(max-width:900px){main#pdvPage #pdvWorkspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;overflow-y:auto}main#pdvPage #pdvCart{flex:none;min-height:50dvh;max-height:none;overflow:visible}main#pdvPage #pdvSidebar{padding-left:1rem;padding-top:0;height:auto}main#pdvPage #pdvPaymentPanel{height:auto;max-height:none;overflow:visible}}@media(max-width:640px){main#pdvPage #pdvHeader{flex-wrap:wrap;padding:.6rem .75rem}main#pdvPage #pdvHeader h1{font-size:1rem}main#pdvPage #pdvHeader #pdvTabs{order:3;flex-basis:100%;width:100%}main#pdvPage #pdvMain{padding:.75rem;gap:.6rem}main#pdvPage #pdvSidebar{padding:0 .75rem .75rem}main#pdvPage #pdvPaymentPanel{padding:.85rem}main#pdvPage #pdvCartTable{min-width:36rem}main#pdvPage #pdvCartTable th,main#pdvPage #pdvCartTable td{padding:.5rem .6rem}main#pdvPage #pdvCartTable input[type=number]{width:4.5rem}main#pdvPage .searchPopover{width:100%;max-width:calc(100vw - 1.5rem)}}main#stockEntriesPage span#clearList{width:100%;display:flex;padding:1rem;justify-content:center;align-items:center;min-height:30dvh;font-size:1.5rem;color:var(--ring)}main#stockEntriesPage #stockEntriesTable{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background-color:var(--card)}main#stockEntriesPage #stockEntriesTable th,main#stockEntriesPage #stockEntriesTable td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--border)}main#stockEntriesPage #stockEntriesTable th{color:var(--muted-foreground);font-size:.8rem;font-weight:var(--font-weight-medium);background-color:var(--secondary)}main#stockEntriesPage #stockEntriesTable tbody tr:last-child td{border-bottom:none}main#stockEntriesPage #stockEntriesTable tr.stockEntryRow{cursor:pointer}main#stockEntriesPage #stockEntriesTable tr.stockEntryRow:hover{background-color:var(--secondary)}main#stockEntriesPage #stockEntriesTable td.total{font-weight:var(--font-weight-medium)}main#stockEntriesPage #stockEntriesTable td.date{display:flex;flex-wrap:wrap;gap:0 .35rem;color:var(--muted-foreground);font-size:.85rem;white-space:nowrap}@media(max-width:700px){main#stockEntriesPage #stockEntriesTable{display:block;overflow-x:auto}}main#stockEntryViewPage{width:min(100%,42rem);min-width:min(78vw,36rem);display:flex;flex-direction:column;gap:1rem}main#stockEntryViewPage #stockEntrySummary{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--secondary)}main#stockEntryViewPage #stockEntrySummary h2{margin:.2rem 0 0}main#stockEntryViewPage #stockEntrySummary .eyebrow{display:block;color:var(--muted-foreground);font-size:.8rem}main#stockEntryViewPage #stockEntrySummary .date{display:block;margin-top:.2rem;color:var(--muted-foreground);font-size:.8rem}main#stockEntryViewPage h3{margin:0 0 .5rem;font-size:.95rem}main#stockEntryViewPage .empty{margin:0;color:var(--muted-foreground);font-size:.9rem}main#stockEntryViewPage #stockEntryItemsSection table{width:100%;border-collapse:collapse}main#stockEntryViewPage #stockEntryItemsSection table th,main#stockEntryViewPage #stockEntryItemsSection table td{padding:.5rem .6rem;text-align:left;border-bottom:1px solid var(--border);font-size:.9rem}main#stockEntryViewPage #stockEntryItemsSection table th{color:var(--muted-foreground);font-size:.75rem;font-weight:var(--font-weight-medium)}main#stockEntryViewPage #stockEntryTotals{display:flex;flex-direction:column;gap:.3rem;padding-top:.5rem;border-top:1px solid var(--border)}main#stockEntryViewPage #stockEntryTotals .total{display:flex;justify-content:space-between;font-size:1.1rem;font-weight:var(--font-weight-medium);color:var(--foreground)}@media(max-width:520px){main#stockEntryViewPage{width:100%;min-width:0}main#stockEntryViewPage #stockEntrySummary{flex-direction:column;align-items:stretch}}main#createStockEntryPage{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;width:100%;height:100dvh;background:var(--body-background)}main#createStockEntryPage #createStockEntryHeader{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid var(--border);background-color:var(--background)}main#createStockEntryPage #createStockEntryHeader h1{margin:0;font-size:1.15rem;color:var(--primary)}main#createStockEntryPage #createStockEntryHeader #createStockEntryClose{display:grid;place-items:center;width:2.25rem;height:2.25rem;flex:0 0 auto;border:1px solid var(--border);border-radius:50%}main#createStockEntryPage #createStockEntryHeader #createStockEntryClose img{width:1rem;height:1rem}main#createStockEntryPage #createStockEntryHeader #createStockEntryClose:hover{background-color:var(--secondary)}main#createStockEntryPage .searchPopover{position:absolute;top:calc(100% + .5rem);left:0;z-index:20;display:flex;flex-direction:column;gap:.6rem;width:18rem;max-width:80vw;padding:.85rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--background);box-shadow:var(--shadow-md)}main#createStockEntryPage .searchPopover header{display:flex;align-items:center;justify-content:space-between}main#createStockEntryPage .searchPopover header p{margin:0;font-weight:var(--font-weight-medium)}main#createStockEntryPage .searchPopover header button{width:1.75rem;height:1.75rem;min-height:0;padding:0;display:grid;place-items:center;line-height:1;flex-shrink:0}main#createStockEntryPage .searchPopover input[type=search]{width:100%;padding:.5rem .65rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:var(--input-background);color:var(--input-foreground);font:inherit}main#createStockEntryPage .searchPopover ul{display:flex;flex-direction:column;gap:.25rem;max-height:12rem;margin:0;padding:0;overflow-y:auto;list-style:none}main#createStockEntryPage .searchPopover ul li button{width:100%;padding:.45rem .6rem;text-align:left;background-color:transparent;color:var(--foreground);border:none;border-radius:var(--radius-sm)}main#createStockEntryPage .searchPopover ul li button:hover{background-color:var(--secondary)}main#createStockEntryPage .searchPopover ul li.empty{padding:.45rem .6rem;color:var(--muted-foreground);font-size:.85rem}main#createStockEntryPage #createStockEntryWorkspace{display:grid;grid-template-columns:minmax(0,1fr) 22rem;flex:1 1 auto;min-height:0}main#createStockEntryPage #createStockEntryMain{display:flex;flex-direction:column;min-height:0;padding:1rem;gap:.75rem;overflow-y:auto}main#createStockEntryPage #stockEntrySupplier{position:relative;flex:0 0 auto;display:flex;flex-direction:column;gap:.15rem}main#createStockEntryPage #stockEntrySupplier>span{font-size:.75rem;color:var(--muted-foreground)}main#createStockEntryPage #stockEntrySupplier .stockEntrySupplierRow{display:flex;align-items:center;justify-content:space-between;gap:.5rem}main#createStockEntryPage #stockEntrySupplier .stockEntrySupplierRow button{padding:.2rem .55rem;font-size:.75rem}main#createStockEntryPage #stockEntrySupplier.unassigned button{width:100%}main#createStockEntryPage #stockEntryProductSearch{position:relative;flex:0 0 auto}main#createStockEntryPage #stockEntryProductSearch input{width:100%;padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--input-background);color:var(--input-foreground);font-size:1rem}main#createStockEntryPage #stockEntryProductSearch input:disabled{opacity:.6}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults{position:absolute;top:calc(100% + .35rem);left:0;right:0;z-index:15;display:flex;flex-direction:column;gap:.2rem;max-height:18rem;margin:0;padding:.4rem;overflow-y:auto;list-style:none;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--background);box-shadow:var(--shadow-md)}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li button{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;width:100%;padding:.55rem .7rem;text-align:left;background-color:transparent;color:var(--foreground);border:none;border-radius:var(--radius-md)}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li button:hover:not(:disabled){background-color:var(--secondary)}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li button:disabled{opacity:.45;cursor:not-allowed}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li button .stock{font-size:.75rem;color:var(--muted-foreground)}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li button .price{font-weight:var(--font-weight-medium);color:var(--primary)}main#createStockEntryPage #stockEntryProductSearch #stockEntryProductResults li.empty{padding:.55rem .7rem;color:var(--muted-foreground)}main#createStockEntryPage #stockEntryCart{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--card)}main#createStockEntryPage #stockEntryCart #stockEntryCartEmpty{display:flex;flex:1 1 auto;align-items:center;justify-content:center;margin:0;color:var(--muted-foreground)}main#createStockEntryPage #stockEntryCart .stockEntryCartTableWrap{overflow-x:auto}main#createStockEntryPage #stockEntryCart #stockEntryCartTable{width:100%;border-collapse:collapse}main#createStockEntryPage #stockEntryCart #stockEntryCartTable th,main#createStockEntryPage #stockEntryCart #stockEntryCartTable td{padding:.6rem .75rem;text-align:left;border-bottom:1px solid var(--border)}main#createStockEntryPage #stockEntryCart #stockEntryCartTable th{color:var(--muted-foreground);font-size:.8rem;font-weight:var(--font-weight-medium)}main#createStockEntryPage #stockEntryCart #stockEntryCartTable td.name{min-width:8rem}main#createStockEntryPage #stockEntryCart #stockEntryCartTable td.total{font-weight:var(--font-weight-medium)}main#createStockEntryPage #stockEntryCart #stockEntryCartTable input[type=number]{width:5.5rem;padding:.35rem .5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background-color:var(--input-background);color:var(--input-foreground);font:inherit}main#createStockEntryPage #stockEntryCart #stockEntryCartTable button.destructive{padding:.3rem .6rem;font-size:.8rem}main#createStockEntryPage #createStockEntrySidebar{display:flex;flex-direction:column;min-height:0;padding:1rem;padding-left:0}main#createStockEntryPage #stockEntrySubmitPanel{display:flex;flex-direction:column;gap:.85rem;height:100%;padding:1rem;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--card)}main#createStockEntryPage #stockEntrySubmitPanel #stockEntrySubmitTotals{display:flex;flex-direction:column;gap:.35rem;padding:.75rem;border-radius:var(--radius-md);background-color:var(--secondary)}main#createStockEntryPage #stockEntrySubmitPanel #stockEntrySubmitTotals div{display:flex;justify-content:space-between;color:var(--secondary-foreground)}main#createStockEntryPage #stockEntrySubmitPanel #stockEntrySubmitTotals .result{font-weight:var(--font-weight-medium);font-size:1.05rem}main#createStockEntryPage #stockEntrySubmitPanel .errorMessage{margin:0;padding:.6rem .9rem;border-radius:var(--radius-md);background-color:#fbe8ec;color:var(--destructive);font-size:.85rem}main#createStockEntryPage #stockEntrySubmitPanel #stockEntryFinalizeButton{width:100%;margin-top:auto}@media(max-width:900px){main#createStockEntryPage #createStockEntryWorkspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;overflow-y:auto}main#createStockEntryPage #stockEntryCart{min-height:12rem}main#createStockEntryPage #createStockEntrySidebar{padding-left:1rem;padding-top:0}}@media(max-width:640px){main#createStockEntryPage #createStockEntryHeader{padding:.6rem .75rem}main#createStockEntryPage #createStockEntryHeader h1{font-size:1rem}main#createStockEntryPage #createStockEntryMain{padding:.75rem;gap:.6rem}main#createStockEntryPage #createStockEntrySidebar{padding:0 .75rem .75rem}main#createStockEntryPage #stockEntrySubmitPanel{padding:.85rem}main#createStockEntryPage #stockEntryCartTable{min-width:30rem}main#createStockEntryPage #stockEntryCartTable th,main#createStockEntryPage #stockEntryCartTable td{padding:.5rem .6rem}main#createStockEntryPage #stockEntryCartTable input[type=number]{width:4.5rem}main#createStockEntryPage .searchPopover{width:100%;max-width:calc(100vw - 1.5rem)}}div.InputComponent{display:flex;flex-direction:column;gap:.2rem;padding:.1rem 0}div.InputComponent .content,div.InputComponent input{width:100%}div.InputComponent .requiredIndicator{color:var(--destructive)}div.InputComponent .content{display:flex}div.InputComponent.inline{flex-direction:row;width:100%;gap:.5rem}section.loadingComponent{padding:.5rem;display:flex;align-items:center;justify-content:center;gap:.5rem}section.loadingComponent #circle{content:"";width:1.5rem;height:1.5rem;border:3px solid rgba(173,173,173,.662745098);border-top-color:var(--primary-color);border-radius:50%;animation:infinite linear 1s rotateAnimation}section.loadingComponent .title{color:#778}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(350deg)}}section#SidebarComponent{height:100dvh;display:grid;grid-template-rows:15dvh 85dvh;background:linear-gradient(180deg,var(--sidebar-bg-top) 0%,var(--sidebar-bg-bottom) 100%);color:var(--sidebar-foreground);border-right:1px solid var(--sidebar-border)}section#SidebarComponent nav{padding:.7rem;gap:.25rem;display:flex;flex-direction:column;overflow:auto}section#SidebarComponent nav button.secondary{display:flex;align-items:center;gap:.65rem;justify-content:flex-start;border:none;border-left:3px solid transparent;border-radius:var(--radius-md);padding-left:calc(.8rem - 3px);background-color:transparent;color:var(--sidebar-muted);font-weight:var(--font-weight-medium);text-align:left}section#SidebarComponent nav button.secondary svg{flex-shrink:0}section#SidebarComponent nav button.secondary:hover{font-weight:var(--font-weight-medium);border-left-color:transparent;background-color:var(--sidebar-active-bg);color:var(--sidebar-foreground)}section#SidebarComponent nav button.secondary.active{border-left-color:var(--sidebar-accent);background-color:var(--sidebar-active-bg);color:var(--sidebar-foreground)}section#SidebarComponent section#icon{position:relative;display:flex;justify-content:center;align-items:center;gap:.6rem;flex-direction:column}section#SidebarComponent section#icon h1{font-size:1.15rem;color:var(--sidebar-foreground)}section#SidebarComponent section#icon img{max-width:45%;max-height:40%;padding:.4rem;background-color:#f4f9f7;border-radius:var(--radius-lg);box-shadow:0 4px 10px #00000059}section#SidebarComponent section#icon{border-bottom:1px solid var(--sidebar-border)}span#headerSpan header#HeaderComponent{padding:.8rem 1rem;background-color:var(--background);margin-bottom:.75rem;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-sm);border:1px solid var(--border);border-radius:var(--radius-lg)}span#headerSpan header#HeaderComponent nav.buttons{display:flex;flex:1;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:flex-end}span#headerSpan header#HeaderComponent nav.buttons button{flex:0 1 auto}span#headerSpan section#filters{display:flex;justify-content:center;position:relative;min-height:2rem}span#headerSpan section#filters div#container{min-width:80%;position:absolute;height:3rem;top:-1rem;padding:.5rem;border-radius:var(--radius-md);background:linear-gradient(135deg,#0e7c6b 0%,var(--primary) 100%);color:var(--primary-foreground);box-shadow:0 .9rem 1.6rem #0b6b5e52;display:flex;gap:.5rem;justify-content:space-between;align-items:center}span#headerSpan section#filters div#container div{display:flex;gap:.5rem;align-items:center;font-size:small}@media(max-width:520px){span#headerSpan header#HeaderComponent{align-items:flex-start;gap:.75rem;padding:.7rem}span#headerSpan header#HeaderComponent h1{min-width:0;font-size:1.25rem}span#headerSpan header#HeaderComponent nav.buttons{flex:0 0 auto}span#headerSpan header#HeaderComponent nav.buttons button{padding:.4rem .6rem;font-size:.9rem}span#headerSpan section#filters{min-height:0;margin-bottom:.75rem}span#headerSpan section#filters div#container{position:relative;top:0;width:100%;min-width:0;height:auto;padding:.6rem;flex-direction:column;align-items:stretch;gap:.6rem}span#headerSpan section#filters div#container>div{width:100%;min-width:0;justify-content:space-between}span#headerSpan section#filters div#container>div p{flex:0 0 auto;margin:0}span#headerSpan section#filters div#container>div input{min-width:0;flex:1 1 auto}span#headerSpan section#filters div#container>div button{flex:1 1 auto}}section.modalBackdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:clamp(.75rem,3vw,2rem);background:#0b231f9e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:modalBackdropIn .16s ease-out;overflow:auto}section.modalBackdrop section.modalContainer{position:relative;max-height:calc(100dvh - 2rem);min-width:0;min-height:0;padding:clamp(1.25rem,3vw,2rem);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(191,209,204,.9);border-radius:var(--radius-xl);background:var(--background);box-shadow:0 24px 70px #072a233d;animation:modalContainerIn .18s ease-out}section.modalBackdrop section.modalContainer button.modalClose{position:absolute;top:.75rem;right:.75rem;display:grid;place-items:center;width:2.25rem;height:2.25rem;padding:.5rem;border:1px solid var(--border);border-radius:50%;background:var(--background);cursor:pointer}section.modalBackdrop section.modalContainer button.modalClose:hover{background:var(--secondary)}section.modalBackdrop section.modalContainer button.modalClose:focus-visible{box-shadow:0 0 0 3px #3aa89733}section.modalBackdrop section.modalContainer button.modalClose img{width:1rem;height:1rem}@keyframes modalBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes modalContainerIn{0%{opacity:0;transform:translateY(.5rem) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:650px),(max-height:620px){section.modalBackdrop{align-items:flex-start;padding:.5rem}section.modalBackdrop section.modalContainer{width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);border-radius:var(--radius-lg)}}div.productCard{display:grid;grid-template-areas:"badge badge badge" "name name name" "brand brand saleValue";gap:.3rem}div.productCard .lowStockBadge{grid-area:badge}div.productCard .name{grid-area:name}div.productCard .brand{grid-area:brand}div.productCard .saleValue{grid-area:saleValue;display:flex;justify-content:flex-end}main#headBarComponent{height:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;justify-content:space-between;padding:.5rem .75rem;background:var(--sidebar-bg-top);border-bottom:1px solid var(--sidebar-border)}main#headBarComponent section{display:flex;align-items:center;gap:.5rem;color:var(--sidebar-foreground)}main#headBarComponent section#menu{display:none}main#headBarComponent section #toast{display:flex;justify-content:center;align-items:center;width:2rem;height:2rem;color:var(--sidebar-bg-bottom);background-color:var(--sidebar-foreground);border-radius:var(--radius-md);cursor:pointer}main#headBarComponent section #menuLabel{font-size:.9rem}main#headBarComponent section#title{justify-content:flex-start;min-width:0}main#headBarComponent section#title h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;font-weight:var(--font-weight-medium);color:var(--sidebar-foreground)}main#headBarComponent section#account{justify-content:flex-end}@media(max-width:800px){main#headBarComponent section#menu{display:flex}main#headBarComponent section#title{justify-content:center}}@media(max-width:650px){main#headBarComponent{padding:.35rem .5rem}main#headBarComponent section{gap:.35rem}main#headBarComponent section #toast{width:2.3rem;height:2.3rem}main#headBarComponent section #menuLabel{display:none}main#headBarComponent section#title h2{font-size:1.1rem}}section#accountMenuComponent{position:relative;display:flex;align-items:center}section#accountMenuComponent button#accountMenuTrigger{display:flex;align-items:center;gap:.4rem;max-width:12rem;min-height:2.15rem;padding:.4rem .85rem;border:none;border-radius:var(--radius-md);background-color:var(--sidebar-foreground);color:var(--sidebar-bg-top);font-weight:var(--font-weight-medium);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}section#accountMenuComponent button#accountMenuTrigger:after{content:"";flex-shrink:0;width:0;height:0;margin-left:.1rem;border-left:.3rem solid transparent;border-right:.3rem solid transparent;border-top:.35rem solid currentColor}section#accountMenuComponent button#accountMenuTrigger:hover{background-color:var(--sidebar-muted)}section#accountMenuComponent button#accountMenuTrigger:active{transform:none}section#accountMenuComponent .accountMenuBackdrop{position:fixed;inset:0;z-index:15;background:transparent}section#accountMenuComponent .accountMenuPanel{position:absolute;top:calc(100% + .5rem);right:0;z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:.4rem;width:16rem;max-width:calc(100vw - 1.5rem);padding:.6rem;border:1px solid var(--border);border-radius:var(--radius-lg);background-color:var(--background);box-shadow:var(--shadow-md)}section#accountMenuComponent .accountMenuPanel button.accountMenuSettings,section#accountMenuComponent .accountMenuPanel button.accountMenuGoToAccount{width:100%;min-height:2.3rem;padding:.5rem .7rem;border-radius:var(--radius-md);background-color:transparent;color:var(--foreground);text-align:left;font-weight:var(--font-weight-normal)}section#accountMenuComponent .accountMenuPanel button.accountMenuSettings:hover,section#accountMenuComponent .accountMenuPanel button.accountMenuGoToAccount:hover{background-color:var(--accent);color:var(--accent-foreground);box-shadow:none}section#accountMenuComponent .accountMenuPanel button.accountMenuSettings:active,section#accountMenuComponent .accountMenuPanel button.accountMenuGoToAccount:active{transform:none}section#accountMenuComponent .accountMenuPanel .switchSelectedStore{padding:.4rem .1rem;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}section#accountMenuComponent .accountMenuPanel .switchSelectedStore select{width:100%}section#accountMenuComponent .accountMenuPanel button.accountMenuLogout.secondary{width:100%}section#pageToolbarComponent{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}section#pageToolbarComponent section#filters{display:flex;justify-content:center}section#pageToolbarComponent section#filters div#container{width:100%;padding:.6rem .75rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);color:var(--card-foreground);display:flex;gap:.5rem;justify-content:space-between;align-items:center;flex-wrap:wrap}section#pageToolbarComponent section#filters div#container .filterFields{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;flex:1 1 auto;min-width:0}section#pageToolbarComponent section#filters div#container .filterFields div{display:flex;gap:.5rem;align-items:center;font-size:small}section#pageToolbarComponent section#filters div#container .filterFields div p{color:var(--muted-foreground)}section#pageToolbarComponent section#filters div#container .filterFields div select{min-width:9rem}section#pageToolbarComponent section#filters div#container nav.buttons{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;flex:0 0 auto}section#pageToolbarComponent section#filters div#container nav.buttons button{flex:0 1 auto}@media(max-width:520px){section#pageToolbarComponent section#filters div#container{width:100%;min-width:0;height:auto;padding:.6rem;flex-direction:column;align-items:stretch;gap:.6rem}section#pageToolbarComponent section#filters div#container .filterFields{width:100%;flex-direction:column;align-items:stretch;gap:.6rem}section#pageToolbarComponent section#filters div#container .filterFields div{width:100%;min-width:0;justify-content:space-between}section#pageToolbarComponent section#filters div#container .filterFields div p{flex:0 0 auto;margin:0}section#pageToolbarComponent section#filters div#container .filterFields div input,section#pageToolbarComponent section#filters div#container .filterFields div select{min-width:0;flex:1 1 auto}section#pageToolbarComponent section#filters div#container nav.buttons{width:100%}section#pageToolbarComponent section#filters div#container nav.buttons button{width:100%;padding:.4rem .6rem;font-size:.9rem}}main#deleteProductComponent{width:min(100%,30rem);padding-top:.5rem;display:flex;flex-direction:column;gap:1rem}main#deleteProductComponent strong{color:var(--destructive)}main#deleteProductComponent footer{display:flex;justify-content:flex-end;gap:.5rem;padding-top:.5rem}
