:root{--sahee-text-secondary: var(--sahee-form-label-color);--sahee-header-bg: var(--sahee-surface);--sahee-card-bg: var(--sahee-surface);--sahee-primary-tint: var(--sahee-primary-ring);--sahee-sidebar-bg: var(--sahee-sidebar);--sahee-input-bg: var(--sahee-surface);--sahee-input-border: var(--sahee-control-border);--sahee-input-focus: var(--sahee-primary);--sahee-table-header: var(--sahee-surface-subtle);--sahee-table-row-hover: var(--sahee-surface-subtle);--sahee-sidebar-width: 240px;--sahee-bg: var(--sahee-background);--sahee-muted: var(--sahee-text-muted);--sahee-radius-sm: 8px;--sahee-radius-md: 9px;--sahee-radius-lg: 16px;--sahee-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;--sahee-space-1: 4px;--sahee-space-2: 8px;--sahee-space-3: 12px;--sahee-space-4: 16px;--sahee-space-5: 20px;--sahee-space-6: 24px;--sahee-space-7: 28px;--sahee-space-8: 32px;--sahee-space-9: 48px;--sahee-font-size-xs: 12px;--sahee-font-size-sm: 13px;--sahee-font-size-md: 14px;--sahee-font-size-lg: 16px;--sahee-font-size-xl: 18px;--sahee-font-size-2xl: 20px;--sahee-font-size-3xl: 24px;--sahee-font-size-4xl: 28px;--sahee-control-height: 40px;--sahee-control-radius: 9px;--sahee-control-padding-x: 12px;--sahee-control-border: var(--sahee-border);--sahee-control-border-hover: var(--sahee-border-strong);--sahee-control-placeholder: var(--sahee-muted);--sahee-form-error-height: 16px;--sahee-z-topbar: 900;--sahee-z-sidebar: 1000;--sahee-z-overlay: 1100;--sahee-z-side-panel: 1101;--sahee-z-quick-panel: 1300}:root{color-scheme:light;--sahee-primary: #2563eb;--sahee-primary-hover: #1d4ed8;--sahee-primary-active: #1e40af;--sahee-primary-light: #eff6ff;--sahee-primary-ring: rgba(37, 99, 235, .22);--sahee-selected: #e8f2ff;--sahee-sidebar: #102a56;--sahee-navigation: #0f2a5f;--sahee-sidebar-text: #d9e4f5;--sahee-sidebar-hover: rgba(255, 255, 255, .08);--sahee-background: #f5f7fb;--sahee-surface: #ffffff;--sahee-border: #e2e8f0;--sahee-card-border: #e8edf5;--sahee-surface-subtle: #f8fafc;--sahee-border-strong: #cbd5e1;--sahee-text: #0f172a;--sahee-text-muted: #64748b;--sahee-muted-soft: #94a3b8;--sahee-danger: #dc2626;--sahee-danger-hover: #b91c1c;--sahee-danger-border: #fecaca;--sahee-danger-bg: #fef2f2;--sahee-danger-ring: rgba(220, 38, 38, .14);--sahee-success: #15803d;--sahee-success-bg: #ecfdf3;--sahee-warning: #92400e;--sahee-warning-bg: #fffbeb;--sahee-shadow: 0 4px 16px rgba(15, 23, 42, .04);--sahee-shadow-overlay: 0 12px 32px rgba(15, 23, 42, .14);--sahee-shadow-primary: 0 4px 10px rgba(37, 99, 235, .18);--sahee-control-disabled-bg: #f8fafc;--sahee-control-disabled-text: #94a3b8;--sahee-form-label-color: #334155;--sahee-surface-elevated: #ffffff;--sahee-on-primary: #ffffff;--sahee-on-danger: #ffffff;--sahee-on-success: #ffffff;--sahee-on-sidebar: #ffffff;--sahee-overlay: rgba(15, 23, 42, .35);--sahee-dialog-overlay: rgba(15, 23, 42, .4);--sahee-divider: rgba(148, 163, 184, .14);--sahee-overlay-border: rgba(148, 163, 184, .18);--sahee-success-border: rgba(21, 128, 61, .16);--sahee-error-border: rgba(220, 38, 38, .12);--sahee-error-toast-border: rgba(220, 38, 38, .16);--sahee-error-icon-bg: rgba(220, 38, 38, .08);--sahee-hover-overlay: rgba(15, 23, 42, .06);--sahee-success-pressed: inset 0 0 0 40px rgba(0, 0, 0, .1);--sahee-shadow-card: 0 14px 32px rgba(15, 23, 42, .05);--sahee-special-bg: #fff1f5;--sahee-special-badge-bg: #ffe4ec;--sahee-special-text: #be123c;--sahee-normal-bg: #ecfdf5;--sahee-normal-text: #047857;--sahee-info: #1d4ed8;--sahee-info-bg: #eff6ff}:root[data-theme=dark]{color-scheme:dark;--sahee-primary: #85b4ff;--sahee-primary-hover: #a8caff;--sahee-primary-active: #6ca2f5;--sahee-primary-light: #1c3151;--sahee-primary-ring: rgba(133, 180, 255, .35);--sahee-selected: #233d60;--sahee-sidebar: #0e192b;--sahee-navigation: #132541;--sahee-sidebar-text: #cad8eb;--sahee-sidebar-hover: rgba(202, 216, 235, .1);--sahee-background: #0d1421;--sahee-surface: #162131;--sahee-surface-elevated: #1e2c40;--sahee-surface-subtle: #1b293c;--sahee-border: #33445c;--sahee-card-border: #2c3c52;--sahee-border-strong: #647a96;--sahee-text: #e8eef7;--sahee-text-muted: #a4b3c7;--sahee-muted-soft: #94a8c2;--sahee-danger: #ff9393;--sahee-danger-hover: #ffb2b2;--sahee-danger-border: #7b434c;--sahee-danger-bg: #38232d;--sahee-danger-ring: rgba(255, 147, 147, .25);--sahee-success: #79dca2;--sahee-success-bg: #17382c;--sahee-warning: #f7ce7b;--sahee-warning-bg: #3c311e;--sahee-info: #85b4ff;--sahee-info-bg: #1c3151;--sahee-on-primary: #101c30;--sahee-on-danger: #32151c;--sahee-on-success: #102c20;--sahee-on-sidebar: #e8eef7;--sahee-shadow: 0 4px 16px rgba(0, 0, 0, .18);--sahee-shadow-overlay: 0 12px 32px rgba(0, 0, 0, .4);--sahee-shadow-primary: 0 4px 10px rgba(0, 0, 0, .18);--sahee-shadow-card: 0 14px 32px rgba(0, 0, 0, .24);--sahee-control-disabled-bg: #1b2636;--sahee-control-disabled-text: #8b9db5;--sahee-form-label-color: #c4d1e3;--sahee-overlay: rgba(3, 8, 16, .65);--sahee-dialog-overlay: rgba(3, 8, 16, .7);--sahee-divider: #2c3c52;--sahee-overlay-border: #33445c;--sahee-success-border: #37654d;--sahee-error-border: #7b434c;--sahee-error-toast-border: #7b434c;--sahee-error-icon-bg: #38232d;--sahee-hover-overlay: rgba(232, 238, 247, .08);--sahee-special-bg: #322133;--sahee-special-badge-bg: #49273c;--sahee-special-text: #ff9dbb;--sahee-normal-bg: #17382c;--sahee-normal-text: #79dca2}:root[data-theme=pos-dark]{color-scheme:dark;--sahee-primary: #ff7547;--sahee-primary-hover: #ff906b;--sahee-primary-active: #ff6333;--sahee-primary-light: #33251f;--sahee-primary-tint: var(--sahee-primary-light);--sahee-primary-ring: rgba(255, 117, 71, .7);--sahee-selected: #443027;--sahee-sidebar: #0d1117;--sahee-navigation: #111722;--sahee-sidebar-text: #b8c4d6;--sahee-sidebar-hover: #1a202d;--sahee-background: #0d1117;--sahee-surface: #111722;--sahee-surface-elevated: #1a202d;--sahee-card-bg: var(--sahee-surface-elevated);--sahee-surface-subtle: #1a2230;--sahee-border: #39465a;--sahee-card-border: #293244;--sahee-border-strong: #72839b;--sahee-text: #f5f7fa;--sahee-text-muted: #a2b0c5;--sahee-muted-soft: #92a2ba;--sahee-form-label-color: #c5cfde;--sahee-control-disabled-bg: #202735;--sahee-control-disabled-text: #92a2ba;--sahee-danger: #ff929b;--sahee-danger-hover: #ffb2b8;--sahee-danger-border: #80434c;--sahee-danger-bg: #382129;--sahee-danger-ring: rgba(255, 146, 155, .5);--sahee-success: #75d9a0;--sahee-success-bg: #163529;--sahee-warning: #f6c779;--sahee-warning-bg: #382e1e;--sahee-info: #91bdff;--sahee-info-bg: #1b2c46;--sahee-on-primary: #1c130e;--sahee-on-danger: #30151b;--sahee-on-success: #10291c;--sahee-on-sidebar: #f5f7fa;--sahee-shadow: 0 4px 16px rgba(0, 0, 0, .22);--sahee-shadow-overlay: 0 12px 32px rgba(0, 0, 0, .45);--sahee-shadow-primary: 0 4px 10px rgba(0, 0, 0, .22);--sahee-shadow-card: 0 14px 32px rgba(0, 0, 0, .28);--sahee-overlay: rgba(3, 8, 16, .7);--sahee-dialog-overlay: rgba(3, 8, 16, .75);--sahee-divider: #293244;--sahee-overlay-border: #39465a;--sahee-success-border: #37654d;--sahee-error-border: #80434c;--sahee-error-toast-border: #80434c;--sahee-error-icon-bg: #382129;--sahee-hover-overlay: rgba(245, 247, 250, .08);--sahee-success-pressed: inset 0 0 0 40px rgba(0, 0, 0, .1);--sahee-special-bg: #322133;--sahee-special-badge-bg: #49273c;--sahee-special-text: #ff9dbb;--sahee-normal-bg: #163529;--sahee-normal-text: #75d9a0}html,body{margin:0;min-height:100%;width:100%;font-family:var(--sahee-font);background:var(--sahee-bg);color:var(--sahee-text);overflow-x:hidden}*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}body{font-size:var(--sahee-font-size-md);line-height:1.5}h1,h2,h3,h4,h5,h6,p{margin-top:0}a{color:inherit}button,input,select,textarea{font:inherit}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--sahee-primary);outline-offset:3px}input[type=checkbox],input[type=radio]{accent-color:var(--sahee-primary)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.sahee-layout{height:100dvh;min-height:100dvh;display:flex;background:var(--sahee-bg);width:100%;max-width:100%;overflow:hidden;overflow-x:clip;position:relative;isolation:isolate}.sahee-sidebar{width:var(--sahee-sidebar-width);flex:0 0 var(--sahee-sidebar-width);background:var(--sahee-sidebar);color:var(--sahee-sidebar-text);border-right:1px solid var(--sahee-border);padding:var(--sahee-space-5) var(--sahee-space-3);height:100vh;height:100dvh;position:sticky;top:0;z-index:var(--sahee-z-sidebar);overflow-y:auto;overflow-x:hidden}.sahee-mobile-overlay{display:none}.sahee-brand{display:flex;align-items:center;gap:var(--sahee-space-3);padding:10px var(--sahee-space-2) var(--sahee-space-7)}.sahee-title{font-size:var(--sahee-font-size-2xl);font-weight:800;letter-spacing:-.03em}.sahee-subtitle{font-size:var(--sahee-font-size-xs);color:var(--sahee-sidebar-text)}.sahee-nav{display:grid;gap:var(--sahee-space-2)}.sahee-nav-link{display:flex;align-items:center;gap:var(--sahee-space-3);min-height:44px;padding:10px 12px;border-radius:var(--sahee-radius-md);text-decoration:none;color:var(--sahee-sidebar-text);font-weight:600;transition:background-color .18s ease,color .18s ease}.sahee-nav-link:hover{background:var(--sahee-sidebar-hover);color:var(--sahee-on-sidebar)}.sahee-nav-link.active{background:var(--sahee-primary);color:var(--sahee-on-primary)}.sahee-main{flex:1;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;height:100dvh;min-height:100dvh;width:100%;max-width:100%;overflow:hidden;overflow-x:clip}.sahee-topbar{min-height:72px;background:var(--sahee-surface);border-bottom:1px solid var(--sahee-border);display:flex;align-items:center;justify-content:space-between;padding:0 var(--sahee-space-7);gap:var(--sahee-space-4);position:sticky;top:0;z-index:var(--sahee-z-topbar);width:100%;max-width:100%;min-width:0}.sahee-menu-button{display:none;border:1px solid var(--sahee-border);background:var(--sahee-surface);color:var(--sahee-text);width:42px;height:42px;border-radius:var(--sahee-radius-md);font-size:22px;cursor:pointer}.sahee-topbar-title{flex:1}.sahee-topbar h3{margin:0;font-size:var(--sahee-font-size-2xl);font-weight:800;letter-spacing:-.03em}.sahee-topbar-title span{font-size:var(--sahee-font-size-sm);color:var(--sahee-muted)}.app-topbar-menu-button,.app-collapse-button,.app-profile-trigger,.app-profile-menu__button{font:inherit}.app-collapse-button,.app-profile-trigger{border:1px solid var(--sahee-border);background:var(--sahee-surface);color:var(--sahee-text);border-radius:var(--sahee-radius-md)}.app-collapse-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;cursor:pointer;font-size:18px}.app-profile-trigger{min-height:44px;min-width:44px;max-width:min(260px,100%);display:inline-flex;align-items:center;gap:var(--sahee-space-3);padding:7px 12px 7px 8px;cursor:pointer;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;overflow:hidden}.app-profile-trigger:hover,.app-profile-trigger.is-open{border-color:var(--sahee-primary-ring);background:var(--sahee-primary-light)}.app-profile-trigger:focus-visible,.app-collapse-button:focus-visible,.app-profile-menu__button:focus-visible{outline:none;box-shadow:0 0 0 3px var(--sahee-primary-ring)}.app-profile-trigger__avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:var(--sahee-primary-light);color:var(--sahee-primary-hover);font-size:var(--sahee-font-size-xs);font-weight:700;letter-spacing:.04em}.app-profile-trigger__copy{display:grid;min-width:0;text-align:left}.app-profile-trigger__name,.app-profile-trigger__context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-profile-trigger__name{color:var(--sahee-text);font-size:var(--sahee-font-size-sm);font-weight:800;line-height:1.2}.app-profile-trigger__context{color:var(--sahee-muted);font-size:var(--sahee-font-size-xs);line-height:1.2}.app-profile-trigger__caret{color:var(--sahee-muted);font-size:12px;font-weight:800}.app-profile-menu{position:absolute;top:calc(100% + 10px);right:0;width:min(320px,100vw - 32px);max-height:calc(100dvh - 96px);overflow:auto;display:grid;gap:var(--sahee-space-4);padding:var(--sahee-space-4);border:1px solid var(--sahee-overlay-border);border-radius:var(--sahee-radius-lg);background:var(--sahee-surface-elevated);box-shadow:var(--sahee-shadow-overlay)}.app-profile-menu__header{display:grid;gap:4px}.app-profile-menu__eyebrow,.app-profile-menu__details dt{color:var(--sahee-muted);font-size:var(--sahee-font-size-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase}.app-profile-menu__details{display:grid;gap:var(--sahee-space-3);margin:0;padding:var(--sahee-space-4) 0;border-top:1px solid var(--sahee-divider);border-bottom:1px solid var(--sahee-divider)}.app-profile-menu__details div{display:grid;gap:4px}.app-profile-menu__details dd{margin:0;color:var(--sahee-text);font-size:var(--sahee-font-size-sm);font-weight:700}.app-profile-menu__actions{display:grid;gap:var(--sahee-space-2)}.app-profile-menu__button{min-height:44px;width:100%;display:inline-flex;align-items:center;justify-content:flex-start;padding:0 14px;border:1px solid transparent;border-radius:var(--sahee-radius-md);background:transparent;color:var(--sahee-text);cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}.app-profile-menu__button:hover{background:var(--sahee-primary-light);border-color:var(--sahee-primary-ring);color:var(--sahee-primary-hover)}.sahee-content{padding:var(--sahee-space-7);width:100%;max-width:100%;min-width:0;overflow-x:clip}.register-page,.auth-page{min-height:calc(100vh - 72px);display:flex;align-items:center;justify-content:center;padding:var(--sahee-space-7)}.register-shell,.auth-shell{width:100%;display:grid;gap:var(--sahee-space-8);align-items:stretch}.register-shell{max-width:1180px;grid-template-columns:minmax(360px,1fr) minmax(360px,440px)}.auth-shell{max-width:980px;grid-template-columns:minmax(360px,1fr) minmax(340px,420px)}.register-info,.auth-info{background:var(--sahee-navigation);color:var(--sahee-on-sidebar);border-radius:var(--sahee-radius-lg);padding:var(--sahee-space-9);display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--sahee-shadow)}.register-info{min-height:620px}.auth-info{min-height:480px}.brand-box h1{margin:18px 0 var(--sahee-space-2);font-size:clamp(34px,5vw,48px);font-weight:700;letter-spacing:-.05em}.brand-box p{margin:0;font-size:var(--sahee-font-size-lg);opacity:.95}.benefits{display:grid;gap:14px;font-size:var(--sahee-font-size-lg);font-weight:600}@media(max-width:1024px){.register-shell,.auth-shell{grid-template-columns:1fr;max-width:620px}.register-info,.auth-info{min-height:auto;padding:var(--sahee-space-8)}}@media(max-width:768px){.sahee-layout{display:block;height:100dvh}.sahee-sidebar{position:fixed;left:calc(-1*min(300px,100vw));top:0;width:min(300px,100vw - 20px);max-width:calc(100vw - 20px);height:100dvh;transition:left .22s ease;visibility:hidden}.sahee-sidebar.open{left:0;visibility:visible;box-shadow:var(--sahee-shadow-overlay)}.sahee-mobile-overlay.show{display:block;position:fixed;inset:0;background:var(--sahee-overlay);z-index:999}.sahee-menu-button{display:inline-flex;align-items:center;justify-content:center}.sahee-topbar{min-height:64px;padding:var(--sahee-space-3) var(--sahee-space-4)}.app-profile-trigger{width:40px;height:40px;min-height:40px;padding:6px;gap:0;justify-content:center}.app-profile-trigger__copy,.app-profile-trigger__caret,.app-collapse-button{display:none}.app-profile-trigger__avatar{width:30px;height:30px}.app-profile-menu{right:0;width:min(320px,100vw - 24px)}.sahee-topbar-title h3{font-size:var(--sahee-font-size-xl)}.sahee-topbar-title span{display:none}.sahee-content,.register-page,.auth-page{padding:var(--sahee-space-4)}}@media(max-width:480px){.sahee-topbar{min-height:60px;padding-inline:14px}.sahee-content,.register-page,.auth-page{padding:14px}.app-profile-menu{width:min(320px,100vw - 16px)}.sahee-sidebar{width:min(292px,100vw - 16px);max-width:calc(100vw - 16px);left:calc(-1*min(292px,100vw - 16px))}}@media(max-width:360px){.sahee-topbar{min-height:56px;padding-inline:10px}.sahee-content,.register-page,.auth-page{padding:10px}.app-profile-trigger{padding:4px}.app-profile-trigger__avatar{width:28px;height:28px}.app-profile-menu{right:-2px;width:calc(100vw - 12px)}.sahee-sidebar{width:calc(100vw - 12px);max-width:calc(100vw - 12px);left:calc(-1*(100vw - 12px));padding:var(--sahee-space-4) var(--sahee-space-3)}}:is(.sahee-menu-button,.app-collapse-button){transition:background-color .18s ease,border-color .18s ease}:is(.sahee-menu-button,.app-collapse-button):hover:not(:disabled){background:var(--sahee-primary-light);border-color:var(--sahee-border-strong)}:is(.sahee-menu-button,.app-collapse-button):active:not(:disabled){background:var(--sahee-selected)}:is(.sahee-menu-button,.app-collapse-button):disabled{opacity:.5;cursor:not-allowed}.sahee-logo,.brand-logo{width:44px;height:44px;border-radius:14px;background:var(--sahee-primary);color:var(--sahee-on-primary);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}.sahee-top-action,.primary-button,.primary-action{background:var(--sahee-primary);border-color:var(--sahee-primary);color:var(--sahee-on-primary);border-radius:var(--sahee-radius-md);font-weight:600;text-decoration:none;transition:all .18s ease}.sahee-top-action{padding:10px 16px;white-space:nowrap}.primary-button{width:100%;height:46px;letter-spacing:.02em}.sahee-top-action:hover,.primary-button:hover,.primary-action:hover{background:var(--sahee-primary-hover);border-color:var(--sahee-primary-hover);color:var(--sahee-on-primary)}.rz-card{border-radius:var(--sahee-radius-lg);border:1px solid var(--sahee-card-border);box-shadow:var(--sahee-shadow);background:var(--sahee-card-bg)}.rz-button{min-height:44px;border-radius:var(--sahee-radius-md);font-weight:700}.rz-dropdown-panel{border-radius:var(--sahee-radius-md);box-shadow:var(--sahee-shadow)}.register-card,.auth-card{padding:var(--sahee-space-8);align-self:center}.register-card h2,.auth-card h2{margin:0;font-size:var(--sahee-font-size-4xl);font-weight:700;letter-spacing:-.025em;color:var(--sahee-text)}.subtitle,.auth-link{font-size:var(--sahee-font-size-md)}.subtitle{margin:6px 0 var(--sahee-space-6);color:var(--sahee-muted)}.auth-link{text-align:center;color:var(--sahee-muted)}.auth-link a{color:var(--sahee-primary-hover);font-weight:700;text-decoration:none}.register-form-stack{gap:14px}.error-message,.success-message{padding:var(--sahee-space-3) 14px;border-radius:var(--sahee-radius-md);font-size:var(--sahee-font-size-md);font-weight:600}.error-message{color:var(--sahee-danger);background:var(--sahee-danger-bg)}.success-message{color:var(--sahee-success);background:var(--sahee-success-bg)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:var(--sahee-space-4);margin-bottom:var(--sahee-space-5);width:100%;max-width:100%}.page-header>:first-child{min-width:0}.page-header h1{margin:0;font-size:var(--sahee-font-size-4xl);font-weight:700;letter-spacing:-.025em;word-break:break-word}.page-header p{margin:4px 0 0;color:var(--sahee-muted)}.page-card,.selection-card,.dashboard-context-card,.quick-action-card{padding:var(--sahee-space-5)}.grid-actions{display:flex;gap:var(--sahee-space-2)}.checkbox-row{display:flex;align-items:center;gap:10px;color:var(--sahee-text);font-weight:600}.loading-box{padding:var(--sahee-space-7);text-align:center;color:var(--sahee-muted);font-weight:600}.status-badge,.tp-mode-badge,.normal-mode-badge{display:inline-flex;align-items:center;border-radius:999px;font-size:var(--sahee-font-size-xs);font-weight:600}.status-badge{padding:5px 10px}.status-badge.active{color:var(--sahee-success);background:var(--sahee-success-bg)}.status-badge.inactive{color:var(--sahee-danger);background:var(--sahee-danger-bg)}.side-panel-overlay{position:fixed;inset:0;background:var(--sahee-overlay);z-index:var(--sahee-z-overlay)}.side-panel{position:fixed;right:0;top:0;width:min(520px,100vw);max-width:min(520px,100vw);height:100dvh;background:var(--sahee-surface);z-index:var(--sahee-z-side-panel);padding:var(--sahee-space-6);box-shadow:var(--sahee-shadow-overlay);overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);border-left:1px solid var(--sahee-overlay-border)}.side-panel-wide{width:min(620px,100vw);max-width:min(620px,100vw)}.product-side-panel{width:960px;max-width:96vw}.account-side-panel{width:720px;max-width:96vw}.purchase-side-panel{width:1120px;max-width:97vw}.side-panel-header{display:flex;justify-content:space-between;gap:var(--sahee-space-4);margin-bottom:var(--sahee-space-5);min-width:0}.side-panel-header>div{min-width:0}.side-panel-header h2{margin:0;font-size:var(--sahee-font-size-3xl);font-weight:700;word-break:break-word}.side-panel-header p{margin:4px 0 0;color:var(--sahee-muted)}.side-panel-close{flex:0 0 auto;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid var(--sahee-border);background:var(--sahee-surface);font-size:26px;line-height:1;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,color .16s ease}.side-panel-close:hover{border-color:var(--sahee-primary-ring);background:var(--sahee-primary-light);color:var(--sahee-primary-hover)}.side-panel-close:focus-visible{outline:none;border-color:var(--sahee-primary);box-shadow:0 0 0 3px var(--sahee-primary-ring)}.assignment-section,.payment-box,.peg-card{border:1px solid var(--sahee-border);border-radius:var(--sahee-radius-lg);background:var(--sahee-surface)}.assignment-section{padding:var(--sahee-space-4)}.assignment-section h3,.mini-section-header h3,.quick-action-card h2,.selection-card h3{font-weight:700}.assignment-section h3{margin:0 0 var(--sahee-space-3);font-size:var(--sahee-font-size-lg)}.assignment-grid{display:grid;grid-template-columns:1fr;gap:var(--sahee-space-2)}.check-card{display:flex;align-items:center;gap:10px;border:1px solid var(--sahee-border);border-radius:var(--sahee-radius-md);padding:10px 12px;cursor:pointer}.check-card:hover{background:var(--sahee-primary-light)}.check-card input{width:18px;height:18px}.check-card span{display:grid}.check-card small{color:var(--sahee-muted);font-size:var(--sahee-font-size-xs)}.logout-button{width:100%;border:none;background:transparent;text-align:left;cursor:pointer}.logout-button:hover{background:var(--sahee-danger-bg);color:var(--sahee-danger)}.selection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.selection-card-body,.dashboard-context-card{display:flex;align-items:center;gap:var(--sahee-space-4)}.selection-card-body{margin-bottom:18px}.selection-icon,.dashboard-icon{width:52px;height:52px;border-radius:16px;background:var(--sahee-primary-light);color:var(--sahee-primary-hover);display:flex;align-items:center;justify-content:center;font-size:26px}.selection-card h3{margin:0;font-size:var(--sahee-font-size-2xl)}.selection-card p,.mini-section-header p,.dashboard-context-card span,.quick-action-tile span{color:var(--sahee-muted)}.selection-card p{margin:4px 0 0}.dashboard-page{display:grid;gap:var(--sahee-space-5)}.dashboard-context-grid,.quick-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dashboard-context-card span{display:block;font-size:var(--sahee-font-size-sm);margin-bottom:4px}.dashboard-context-card strong{font-size:17px;color:var(--sahee-text)}.quick-action-card{padding:var(--sahee-space-6)}.quick-action-card h2{margin:0 0 18px;font-size:22px}.quick-action-grid{gap:14px}.quick-action-tile{border:1px solid var(--sahee-border);border-radius:var(--sahee-radius-lg);padding:18px;text-decoration:none;color:var(--sahee-text);background:var(--sahee-surface);transition:all .18s ease}.quick-action-tile:hover{background:var(--sahee-primary-light);border-color:var(--sahee-primary);transform:translateY(-1px)}.quick-action-tile div{font-size:28px;margin-bottom:var(--sahee-space-3)}.quick-action-tile strong{display:block;font-size:var(--sahee-font-size-lg);font-weight:700}.quick-action-tile span{display:block;margin-top:4px;font-size:var(--sahee-font-size-sm)}.payment-box,.peg-card{padding:14px}.payment-box{padding:var(--sahee-space-4)}.payment-summary,.total-card{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sahee-space-3);margin-bottom:var(--sahee-space-4)}.total-card{margin:var(--sahee-space-4) 0}.payment-summary div,.total-card div{border:1px solid var(--sahee-border);border-radius:var(--sahee-radius-md);padding:var(--sahee-space-3);background:var(--sahee-surface)}.payment-summary span,.total-card span{display:block;color:var(--sahee-muted);font-size:var(--sahee-font-size-sm)}.payment-summary strong,.total-card strong{font-size:var(--sahee-font-size-xl)}.quick-master-panel{position:fixed;right:24px;top:80px;width:420px;max-width:calc(100vw - 32px);background:var(--sahee-surface);border-radius:var(--sahee-radius-lg);border:1px solid var(--sahee-border);box-shadow:var(--sahee-shadow);padding:var(--sahee-space-6);z-index:var(--sahee-z-quick-panel)}.product-quick-panel{width:520px}.tp-purchase-mode{background:var(--sahee-special-bg)}.tp-mode-badge,.normal-mode-badge{margin-top:6px;padding:4px 10px}.tp-mode-badge{background:var(--sahee-special-badge-bg);color:var(--sahee-special-text)}.normal-mode-badge{background:var(--sahee-normal-bg);color:var(--sahee-normal-text)}.mb-12{margin-bottom:12px}@media(max-width:900px){.dashboard-context-grid,.quick-action-grid{grid-template-columns:1fr}}@media(max-width:768px){.sahee-top-action{display:none}.page-header{align-items:stretch;flex-direction:column}.primary-action,.side-panel,.side-panel-wide,.product-side-panel,.account-side-panel,.purchase-side-panel{width:100%;max-width:100%;border-left:0}.side-panel,.side-panel-wide,.product-side-panel,.account-side-panel,.purchase-side-panel{padding:var(--sahee-space-4);padding-bottom:calc(var(--sahee-space-4) + env(safe-area-inset-bottom,0px))}.side-panel-header{margin-bottom:var(--sahee-space-4)}.side-panel-header h2{font-size:var(--sahee-font-size-2xl)}.payment-summary,.total-card{grid-template-columns:1fr}.quick-master-panel,.product-quick-panel{inset:auto 12px 12px;width:auto;max-width:none}}@media(max-width:480px){.page-card,.selection-card,.dashboard-context-card,.quick-action-card{padding:var(--sahee-space-4)}.side-panel,.side-panel-wide,.product-side-panel,.account-side-panel,.purchase-side-panel{width:100vw;max-width:100vw;padding:var(--sahee-space-3);padding-bottom:calc(var(--sahee-space-4) + env(safe-area-inset-bottom,0px))}.side-panel-header{gap:var(--sahee-space-3)}.side-panel-header h2{font-size:var(--sahee-font-size-xl)}}@media(max-width:360px){.page-header h1{font-size:var(--sahee-font-size-3xl)}.side-panel,.side-panel-wide,.product-side-panel,.account-side-panel,.purchase-side-panel{padding:12px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.side-panel-close{width:40px;height:40px}}.rz-textbox,.rz-password,.rz-dropdown,.rz-inputtext,.rz-dropdown-label,.sahee-form-control,input:not([type=checkbox]):not([type=radio]):not([type=search]),select,textarea{box-sizing:border-box;width:100%;border:1px solid var(--sahee-control-border);border-radius:var(--sahee-control-radius);background:var(--sahee-surface);color:var(--sahee-text);font:inherit;font-size:var(--sahee-font-size-md);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,color .16s ease}.rz-textbox,.rz-password,.rz-dropdown,.rz-inputtext,.rz-dropdown-label,.sahee-form-control,input:not([type=checkbox]):not([type=radio]):not([type=search]),select{min-height:var(--sahee-control-height);height:var(--sahee-control-height);padding:0 var(--sahee-control-padding-x)}textarea,.sahee-form-control--textarea{min-height:104px;padding:12px var(--sahee-control-padding-x);resize:vertical}.rz-textbox::placeholder,.rz-password::placeholder,.rz-inputtext::placeholder,.sahee-form-control::placeholder,input:not([type=checkbox]):not([type=radio]):not([type=search])::placeholder,textarea::placeholder{color:var(--sahee-control-placeholder);opacity:1}.rz-textbox:hover:not(:disabled),.rz-password:hover:not(:disabled),.rz-dropdown:hover:not(:disabled),.rz-inputtext:hover:not(:disabled),.sahee-form-control:hover:not(:disabled),input:not([type=checkbox]):not([type=radio]):not([type=search]):hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--sahee-control-border-hover)}.rz-textbox:focus,.rz-password:focus,.rz-dropdown:focus,.rz-dropdown:focus-visible,.rz-dropdown:focus-within,.rz-inputtext:focus,.rz-inputtext:focus-visible,.sahee-form-control:focus,.sahee-form-control:focus-visible,input:not([type=checkbox]):not([type=radio]):not([type=search]):focus,input:not([type=checkbox]):not([type=radio]):not([type=search]):focus-visible,select:focus,select:focus-visible,textarea:focus,textarea:focus-visible{border-color:var(--sahee-primary);box-shadow:0 0 0 3px var(--sahee-primary-ring);outline:none}.rz-textbox:disabled,.rz-password:disabled,.rz-dropdown:disabled,.rz-inputtext:disabled,.sahee-form-control:disabled,input:not([type=checkbox]):not([type=radio]):not([type=search]):disabled,select:disabled,textarea:disabled{background:var(--sahee-control-disabled-bg);border-color:var(--sahee-control-border);color:var(--sahee-control-disabled-text);cursor:not-allowed}input[readonly],textarea[readonly]{background-color:var(--sahee-surface-subtle)}select,select.rz-dropdown{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--sahee-muted) 50%),linear-gradient(135deg,var(--sahee-muted) 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 1px),calc(100% - 12px) calc(50% - 1px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:36px}select::-ms-expand{display:none}.form-grid{display:grid;grid-template-columns:1fr;gap:20px 16px;min-width:0}.form-field,.field-block{display:grid;align-content:start;gap:8px;min-width:0}.form-field--full{grid-column:1/-1}.form-label,.field-block label{margin:0;font-size:var(--sahee-font-size-md);font-weight:600;line-height:1.3;color:var(--sahee-form-label-color)}.form-error-slot{min-height:var(--sahee-form-error-height)}.form-error{margin:0;font-size:var(--sahee-font-size-xs);line-height:16px;font-weight:600;color:var(--sahee-danger)}.form-actions,.form-footer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;min-width:0}.form-actions>*,.form-footer-actions>*{flex:0 0 auto}.form-actions>sahee-button,.form-footer-actions>sahee-button{min-width:140px}.checkbox-row{min-height:var(--sahee-control-height)}.checkbox-row input{accent-color:var(--sahee-primary)}.checkbox-row input:focus-visible{outline:none;box-shadow:0 0 0 3px var(--sahee-primary-ring)}.ng-invalid.ng-touched.rz-textbox,.ng-invalid.ng-touched.rz-password,.ng-invalid.ng-touched.rz-dropdown,.ng-invalid.ng-touched.rz-inputtext,.ng-invalid.ng-touched.sahee-form-control,input.ng-invalid.ng-touched:not([type=checkbox]):not([type=radio]):not([type=search]),select.ng-invalid.ng-touched,textarea.ng-invalid.ng-touched{border-color:var(--sahee-danger)}.ng-invalid.ng-touched.rz-textbox:focus,.ng-invalid.ng-touched.rz-password:focus,.ng-invalid.ng-touched.rz-dropdown:focus,.ng-invalid.ng-touched.rz-dropdown:focus-within,.ng-invalid.ng-touched.rz-inputtext:focus,.ng-invalid.ng-touched.sahee-form-control:focus,input.ng-invalid.ng-touched:not([type=checkbox]):not([type=radio]):not([type=search]):focus,select.ng-invalid.ng-touched:focus,textarea.ng-invalid.ng-touched:focus{border-color:var(--sahee-danger);box-shadow:0 0 0 3px var(--sahee-danger-ring)}.mini-section-header h3{margin:14px 0 4px;font-size:var(--sahee-font-size-xl)}.mini-section-header p{margin:0 0 14px}.price-grid,.variant-price-grid{display:grid;gap:10px}.variant-price-grid{margin:14px 0}.price-row{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:var(--sahee-space-3);border:1px solid var(--sahee-border);border-radius:var(--sahee-radius-md);padding:10px}.price-row span{font-weight:750}.master-picker{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:var(--sahee-space-2);align-items:center}.master-picker .rz-button{min-width:44px;height:44px}.payment-line{display:grid;grid-template-columns:1.5fr 1fr 1fr 44px;gap:10px;align-items:center;margin-bottom:10px}.purchase-line-header,.purchase-line{display:grid;grid-template-columns:2fr 110px 130px 120px 110px 110px 110px 100px 44px;gap:10px;align-items:center}.purchase-line-header{margin:8px 0 4px;padding:0 4px;font-size:var(--sahee-font-size-xs);font-weight:900;color:var(--sahee-muted);text-transform:uppercase}.purchase-line{margin:10px 0}.adjustment-line{display:grid;grid-template-columns:2fr 1fr 1fr 44px;gap:10px;align-items:center;margin:12px 0}.line-total{font-weight:900;color:var(--sahee-text);text-align:right}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}@media(max-width:768px){.form-grid,.price-row,.payment-line,.master-picker,.purchase-line,.adjustment-line{grid-template-columns:1fr}.form-grid{gap:16px}.purchase-line-header{display:none}}@media(min-width:769px){.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.form-actions,.form-footer-actions{align-items:stretch}.form-actions>*,.form-footer-actions>*{flex:1 1 100%}}.sahee-grid{width:100%}.toolbar-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,320px);gap:var(--sahee-space-3);margin-bottom:var(--sahee-space-4)}.product-toolbar{grid-template-columns:minmax(220px,1fr) minmax(180px,240px) minmax(180px,240px) minmax(150px,200px)}.account-toolbar{grid-template-columns:minmax(220px,1fr) minmax(180px,240px) minmax(150px,200px)}.purchase-toolbar{grid-template-columns:180px 180px minmax(220px,1fr) 140px}.print-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:var(--sahee-space-4)}@media(max-width:768px){.toolbar-row,.product-toolbar,.account-toolbar,.purchase-toolbar{grid-template-columns:1fr}}:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) th,:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--sahee-border);vertical-align:middle;font-size:var(--sahee-font-size-md)}:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) th{padding-block:12px;background:var(--sahee-surface-subtle);font-size:var(--sahee-font-size-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--sahee-form-label-color);white-space:nowrap}:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) td{height:64px}:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) tbody tr:hover{background:var(--sahee-surface-subtle)}:is(.counters-table,.branches-table,.users-table,.categories-table,.units-table,.taxes-table,.brands-table,.product-types-table,.price-levels-table,.printer-settings-table,.products-table,.accounts-table) tbody tr:last-child td{border-bottom:0}@media(min-width:769px){:is(.counters-actions,.branches-actions,.users-actions){flex-wrap:nowrap;white-space:nowrap}}.print-actions{padding:var(--sahee-space-4);text-align:right}.print-actions button{padding:10px 18px;border:none;border-radius:8px;background:#22a7e8;color:#fff;font-weight:800;cursor:pointer}.print-loading{padding:var(--sahee-space-8);font-size:var(--sahee-font-size-xl)}.a4-page{width:210mm;min-height:297mm;margin:0 auto;padding:16mm;background:#fff;color:#111827;font-family:Arial,sans-serif}.print-header{text-align:center;border-bottom:2px solid #111827;padding-bottom:10px;margin-bottom:var(--sahee-space-4)}.print-header h1{margin:0;font-size:var(--sahee-font-size-3xl)}.print-header p{margin:4px 0 0;font-size:var(--sahee-font-size-md)}.print-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--sahee-space-6);margin-bottom:var(--sahee-space-4)}.print-info-grid h3,.print-bottom-grid h3{margin:0 0 6px;font-size:var(--sahee-font-size-md)}.print-info-grid p,.print-bottom-grid p{margin:3px 0;font-size:var(--sahee-font-size-sm)}.print-table{width:100%;border-collapse:collapse;margin-top:var(--sahee-space-3)}.print-table th,.print-table td{border:1px solid #d1d5db;padding:6px;font-size:var(--sahee-font-size-xs)}.print-table th{background:#f3f4f6;text-align:left}.right{text-align:right}.print-bottom-grid{display:grid;grid-template-columns:1fr 260px;gap:var(--sahee-space-6);margin-top:var(--sahee-space-4)}.print-total-box{border:1px solid #d1d5db;padding:10px}.print-total-box p{display:flex;justify-content:space-between;margin:6px 0}.print-remarks{margin-top:var(--sahee-space-4);font-size:var(--sahee-font-size-sm)}.print-footer{margin-top:var(--sahee-space-8);text-align:center;font-size:var(--sahee-font-size-xs);color:#6b7280}@media print{body{background:#fff!important}.no-print,.sidebar,.topbar,.page-header{display:none!important}.a4-page{width:auto;min-height:auto;margin:0;padding:0;box-shadow:none}@page{size:A4;margin:12mm}}@media print{body *{visibility:hidden}#purchase-print-area,#purchase-print-area *{visibility:visible}#purchase-print-area{position:absolute;left:0;top:0;width:100%}@page{size:A4;margin:12mm}}
