:root{--green:#245f4c;--green-dark:#183f34;--green-light:#edf5ef;--ink:#26312c;--muted:#8a928e;--border:#e9ece8;--canvas:#f7f8f5;--white:#fff;--amber:#b98736;--radius:13px;font-family:'Be Vietnam Pro',sans-serif;color:var(--ink);font-size:13px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{opacity:.4;cursor:not-allowed}input,select,textarea{min-width:0}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #95b5a4;outline-offset:3px}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}button,select{transition:background .15s,color .15s,box-shadow .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}::selection{background:#d3e7d5}h1,h2,h3,p{margin:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:550;line-height:20px;border-radius:7px;white-space:nowrap;border:1px solid transparent}.button .icon{width:17px;height:17px}.primary{background:var(--green);color:white;box-shadow:0 2px 3px #193d2910}.primary:hover{background:#1a493b;box-shadow:0 3px 8px #193d2920}.secondary{background:white;border-color:#dfe4de;color:#4f5c53}.secondary:hover{background:#f4f6f3}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;color:#7b857f;background:transparent;flex-shrink:0}.icon-button:hover{background:#eff3ee;color:var(--green)}.icon-button .icon{width:18px;height:18px}.text-button{display:inline-flex;align-items:center;gap:7px;color:var(--green);background:none;padding:0;font-weight:500;font-size:12px}.text-button .icon{width:15px;height:15px}.text-link{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:11px;font-weight:550;white-space:nowrap}.text-link .icon{width:15px;height:15px}.text-link:hover{text-decoration:underline}.brand{display:flex;align-items:center;gap:10px;font-size:28px;font-weight:750;letter-spacing:-1.2px}.brand-icon{width:37px;height:37px;background:var(--green);display:flex;align-items:center;justify-content:center;border-radius:10px;color:white}.brand-icon .icon{width:24px;height:24px}.brand-dot{color:#b79b60}.brand.light{color:#f5f6e8}.brand.light .brand-icon{background:#ffffff13;border:1px solid #ffffff25}.brand.light .brand-dot{color:#d1bf7c}.eyebrow{display:block;color:#7c9180;letter-spacing:1.6px;font-size:9px;font-weight:600;margin-bottom:10px}

/* Sign in */
.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{position:relative;overflow:hidden;background:#224f40;color:white;min-height:820px;padding:44px 64px 32px;display:flex;flex-direction:column}.login-story:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.3' filter='url(%23noise)'/%3E%3C/svg%3E")}.story-tag{font-size:9px;letter-spacing:2.5px;color:#bdcdbd;margin-top:68px;margin-bottom:23px}.login-story h1{font-size:clamp(32px,3.25vw,52px);letter-spacing:-1.9px;line-height:1.37;font-weight:500;z-index:1}.login-story h1 span{color:#d1d8ad}.login-story>p{font-size:13px;line-height:1.9;color:#b9cbbd;margin-top:21px;z-index:1}.story-footer{margin-top:auto;padding-top:30px;display:flex;justify-content:space-between;color:#a0b9a8;font-size:10px;position:relative;z-index:1}.story-footer span:last-child{font-size:8px;letter-spacing:1.7px}.book-scene{height:285px;margin-top:32px;position:relative;isolation:isolate}.scene-circle{height:245px;width:245px;background:#a1b88b1a;border:1px solid #a1b88b20;border-radius:50%;position:absolute;left:50%;top:0;transform:translateX(-50%)}.scene-circle:after{content:'';position:absolute;inset:-30px;border:1px solid #ffffff07;border-radius:50%}.scene-book{position:absolute;bottom:49px;width:143px;height:207px;padding:23px 15px;box-shadow:7px 10px 15px #102c3445;border-radius:2px 6px 6px 2px;display:flex;flex-direction:column;overflow:hidden}.scene-book:after,.art-book:after{content:'';position:absolute;top:0;left:4px;bottom:0;width:2px;background:#00000012}.book-a{left:calc(50% - 153px);background:#d9b779;transform:rotate(-13deg);color:#394f3b;z-index:1}.book-a>span{font-family:Georgia,serif;font-size:21px;line-height:1.2;text-align:center}.book-a>small{font-size:7px;margin-top:12px;text-align:center;letter-spacing:1px}.cover-sun{width:71px;height:71px;background:#ba663e;border-radius:50%;margin:17px auto}.cover-sun:after{content:'';display:block;width:90px;height:40px;margin-top:30px;background:#435e47;border-radius:80% 10%;transform:rotate(-15deg)}.book-b{left:calc(50% - 20px);background:#bacaa5;transform:rotate(9deg);color:#34563e;z-index:2}.book-b>span{font-size:23px;font-weight:650;letter-spacing:-1px;line-height:1.25}.book-b>small{font-size:6px;letter-spacing:1.3px;margin-top:15px}.cover-leaf{position:absolute;width:93px;height:102px;border-radius:100% 0;background:#617d53;bottom:-24px;right:-3px;transform:rotate(-12deg)}.cover-leaf:after{content:'';position:absolute;width:70px;height:94px;border-radius:0 100%;background:#e3dcaa;bottom:7px;right:58px}.scene-shelf{position:absolute;width:365px;height:10px;background:#b3c09b26;left:50%;bottom:41px;transform:translateX(-50%);border-bottom:2px solid #ffffff0b}.scene-star{position:absolute;color:#cfc59a;font-size:45px;right:12%;top:8px;font-weight:200}.scene-caption{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:2.6px;color:#9eb19c}.login-form-panel{min-height:820px;background:#fbfcf9;padding:36px 48px 28px;display:flex;flex-direction:column;align-items:center;position:relative}.demo-label{align-self:flex-end;display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.5px;color:#899488}.demo-label>span{width:5px;height:5px;border-radius:50%;background:#6c9178}.login-form-wrap{width:min(100%,390px);margin:auto 0;padding:38px 0}.welcome-icon{height:48px;width:48px;background:#ebf1e7;border:1px solid #dfe8d8;border-radius:13px;display:flex;align-items:center;justify-content:center;color:var(--green);margin-bottom:29px}.welcome-icon .icon{width:25px;height:25px}.login-form-wrap>.eyebrow{font-size:8px;letter-spacing:1.6px}.login-form-wrap h2{font-weight:600;font-size:25px;letter-spacing:-1px;line-height:1.5}.login-form-wrap>p{font-size:11px;color:#92978f;line-height:1.8;margin-top:9px}.login-form-wrap form{margin-top:32px}.login-form-wrap label{display:block;font-size:11px;font-weight:550;margin-bottom:19px}.input-icon{display:flex;align-items:center;border:1px solid #e0e5dc;background:#fff;border-radius:6px;padding:0 13px;height:47px;margin-top:9px}.input-icon:focus-within{border-color:#72947a;box-shadow:0 0 0 3px #71957212}.input-icon>.icon{width:17px;height:17px;color:#9fa79c}.input-icon input{width:100%;border:0;padding:12px;background:transparent;color:var(--ink);font-size:11px;outline:none}.input-icon input:focus{outline:none}.input-icon .icon-button{width:25px;height:30px}.input-icon input::placeholder{color:#adb2a9}.login-options{display:flex;align-items:center;justify-content:space-between;margin-top:-1px}.login-options .checkbox-label{margin:0;font-size:10px;font-weight:400;color:#7f897e}.checkbox-label{display:flex!important;align-items:center;gap:8px;line-height:1.6}.checkbox-label input{width:14px;height:14px;margin:0;accent-color:var(--green);padding:0}.login-options .text-button{font-size:10px}.login-submit{width:100%;margin-top:12px;height:46px;justify-content:space-between;padding:10px 16px;font-size:11px}.login-form-wrap .form-error:empty{display:none}.login-form-wrap .form-error{margin-top:12px}.divider{display:flex;align-items:center;gap:12px;color:#9aa095;font-size:9px;margin:26px 0 18px;white-space:nowrap}.divider:before,.divider:after{content:'';height:1px;background:#e4e8e0;flex:1}.demo-roles{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.demo-roles button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:500;background:white;border:1px solid #e0e5dc;border-radius:5px;min-height:40px;padding:7px}.demo-roles button:hover{background:#eaf1e8;border-color:#acc2a8;color:var(--green)}.demo-roles .icon{width:14px;height:14px}.login-form-wrap .login-note{font-size:9px;text-align:center;margin-top:24px;color:#828d7f;line-height:1.9}.login-note .icon{width:11px;height:11px;margin-right:3px}.login-note span{color:#a3ab9d;font-size:8px}.login-footer{width:100%;display:flex;align-items:center;justify-content:space-between;color:#a0a79a;font-size:9px}.login-footer .text-button{font-size:9px;color:#909a89}.login-footer .icon{width:12px;height:12px}

/* Workspace */
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;width:244px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:30px 18px 0;z-index:30;overflow-y:auto}.sidebar-brand{padding:0 13px 28px}.sidebar .brand{font-size:26px}.sidebar .brand-icon{width:33px;height:33px;border-radius:9px}.sidebar .brand-icon .icon{width:22px;height:22px}.store-card{display:flex;align-items:center;gap:10px;padding:13px 10px;background:#f7f8f4;border:1px solid #eef0e8;border-radius:8px;margin-bottom:23px}.store-avatar{width:31px;height:33px;display:flex;align-items:center;justify-content:center;background:#e6ebdf;border:1px solid #d8e2cf;border-radius:6px;color:#7a8d68}.store-avatar .icon{width:18px;height:18px}.store-card strong{font-size:10px;font-weight:600;display:block;line-height:1.7}.store-card div>span{font-size:9px;color:#989e91}.store-live{width:5px;height:5px;flex-shrink:0;background:#7ba482;border-radius:50%;margin-left:auto;margin-right:3px}.nav-section{font-size:8px;font-weight:550;letter-spacing:1.1px;color:#a4aca4;margin:5px 13px 12px}.nav-item+.nav-section{margin-top:25px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:7px;font-size:11px;font-weight:450;color:#7c857e;margin-bottom:4px;position:relative}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#f5f8f3;color:var(--green)}.nav-item.active{background:#eaf2e9;color:#285d44;font-weight:600}.nav-item.active:before{content:'';width:3px;height:16px;border-radius:5px;background:#3c7554;position:absolute;left:0}.nav-count{font-size:9px;color:#85966f;background:#eef1e5;min-width:18px;text-align:center;border-radius:4px;padding:2px 4px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-help{padding:14px 14px 15px;background:linear-gradient(135deg,#f6f7ec,#eff4e9);border:1px solid #e9eddd;border-radius:9px;position:relative;margin-bottom:23px}.help-symbol{position:absolute;right:12px;top:12px;color:#7e9670}.help-symbol .icon{width:17px;height:17px}.sidebar-help>strong{font-size:11px;font-weight:600}.sidebar-help p{font-size:9px;color:#949c85;line-height:1.9;margin-top:6px}.sidebar-help button{margin-top:13px;color:#647b4d;background:transparent;padding:0;font-size:9px;font-weight:550;display:flex;align-items:center;gap:7px}.sidebar-help button .icon{width:13px;height:13px}.sidebar-user{display:flex;align-items:center;gap:9px;border-top:1px solid #ecefe7;padding:17px 0 20px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;font-size:10px;letter-spacing:.4px;font-weight:600;color:#786f5b;border-radius:50%;background:#ede7db;flex-shrink:0;border:2px solid white}.sidebar-user strong{font-size:10px;font-weight:550;display:block}.sidebar-user div>span{font-size:8px;color:#9ba293;display:block;margin-top:4px}.sidebar-user .icon-button{margin-left:auto;width:25px}.sidebar-user .icon{width:16px;height:16px}.avatar.small{width:30px;height:30px;font-size:9px}.avatar.tiny{width:26px;height:26px;font-size:8px;background:#eef0e4;color:#869066}.workspace{margin-left:244px;width:calc(100% - 244px);min-width:0;display:flex;flex-direction:column}.topbar{height:74px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fff;gap:20px}.breadcrumbs{display:flex;align-items:center;gap:13px;white-space:nowrap;font-size:10px;color:#9ca499}.breadcrumbs>.icon{width:11px;height:11px;color:#b1b8ad}.breadcrumbs strong{font-weight:500;color:#64735f}.topbar-actions{display:flex;align-items:center;gap:17px}.global-search{display:flex;align-items:center;gap:8px;background:#f7f8f5;border:1px solid #eef0e9;border-radius:6px;padding:8px 10px;width:232px;height:33px}.global-search>.icon{width:14px;height:14px;color:#a4ac9f}.global-search input{background:transparent;border:0;font-size:9px;width:100%;padding:0;color:var(--ink)}.global-search input:focus{outline:none}.global-search input::placeholder{color:#a4aa9f}.global-search kbd{font:9px inherit;border:1px solid #e2e6dc;border-radius:3px;padding:1px 4px;color:#b0b5a8;background:white}.topbar-separator{height:20px;width:1px;background:#e8ece3}.notification-button{position:relative;width:23px}.notification-button>.icon{width:18px;height:18px}.notification-button>span{width:5px;height:5px;border-radius:50%;border:1px solid white;background:#bd9860;position:absolute;top:5px;right:3px}.main-content{width:100%;max-width:1600px;margin:0 auto;padding:31px 34px 28px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading h1{font-size:24px;line-height:1.5;letter-spacing:-.85px;font-weight:550;color:#303c30}.page-heading p{font-size:10px;color:#929b8c;margin-top:7px;line-height:1.9}.page-heading .eyebrow{margin-bottom:6px}.heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.heading-actions .button{font-size:10px;padding:9px 13px}.greeting-sun{display:inline-block;font-size:24px;color:#bca56b;vertical-align:middle;margin-left:4px}.date-chip{display:flex;align-items:center;gap:7px;background:white;border:1px solid #e6eade;font-size:9px;color:#86917d;padding:9px 11px;border-radius:6px;text-transform:capitalize;white-space:nowrap}.date-chip .icon{width:14px;height:14px}.app-footer{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#a6ada0;padding:18px 34px;border-top:1px solid #e8ece2;gap:15px}.app-footer>span:last-child{display:flex;align-items:center;gap:6px}.app-footer i{height:4px;width:4px;background:#7ba57c;border-radius:50%}.mobile-menu,.sidebar-backdrop{display:none}

/* Dashboard */
.welcome-banner{height:213px;border-radius:11px;background:#e9efde;position:relative;overflow:hidden;display:flex;justify-content:space-between;padding:24px 30px;margin-bottom:24px}.welcome-banner:after{content:'';position:absolute;inset:0;opacity:.25;pointer-events:none;background-image:radial-gradient(#6b7d491c .65px,transparent .65px);background-size:3px 3px}.welcome-banner>div:first-child{position:relative;z-index:2}.banner-eyebrow{display:flex;align-items:center;gap:6px;color:#758765;letter-spacing:1.7px;font-size:7px;font-weight:550;margin-bottom:12px}.banner-eyebrow>span{width:4px;height:4px;background:#8d9c6f;border-radius:50%}.welcome-banner h2{font-size:25px;line-height:1.38;letter-spacing:-.7px;font-weight:500;color:#345038}.welcome-banner p{font-size:9px;color:#88987c;margin-top:10px}.banner-actions{display:flex;align-items:center;gap:18px;margin-top:17px}.banner-button{background:#416947;color:#fff;font-size:9px;gap:16px;padding:7px 12px;line-height:17px;border-radius:5px;box-shadow:0 2px 5px #41694715}.banner-button:hover{background:#305335}.banner-button .icon{width:13px;height:13px}.banner-actions>span{display:flex;align-items:center;gap:4px;font-size:8px;color:#91a080}.banner-actions>span .icon{width:11px;height:11px}.banner-art{position:absolute;right:42px;bottom:0;width:345px;height:213px;z-index:1}.art-orbit{position:absolute;width:240px;height:240px;border:1px solid #c6d0b6;border-radius:50%;right:18px;top:19px}.orbit-two{width:315px;height:315px;top:-15px;right:-19px;border-color:#d9e0ce}.art-star{position:absolute;top:18px;left:15px;font-size:33px;line-height:1;color:#90a276;transform:rotate(15deg)}.art-book{position:absolute;width:118px;height:161px;box-shadow:3px 6px 7px #576d3320;border-radius:2px 5px 5px 2px;display:flex;flex-direction:column;overflow:hidden}.art-book-back{left:70px;bottom:32px;background:#697f60;transform:rotate(-14deg);padding:15px 13px;color:#e3e5c2}.art-book-back>span{font-family:Georgia,serif;font-size:19px;line-height:1.05;letter-spacing:.1px}.art-book-back i{background:#b8c893;width:65px;height:60px;border-radius:50% 50% 0 0;transform:rotate(12deg);position:absolute;left:27px;bottom:10px}.art-book-back i:after{content:'';width:55px;height:32px;border:1px solid #869b68;border-radius:50%;position:absolute;left:-15px;top:22px}.art-book-front{left:166px;bottom:28px;transform:rotate(9deg);background:#d2b879;color:#49613c;padding:15px 13px}.art-book-front>span{font-size:15px;line-height:1.3;letter-spacing:-.6px;font-weight:600}.art-book-front>small{font-size:4px;letter-spacing:1px;text-align:center;margin-top:auto}.art-flower{font-size:65px;line-height:1.1;margin-top:3px;margin-left:18px;color:#65804e}.art-horizontal{position:absolute;height:13px;border-radius:1px 4px 4px 1px;left:91px;bottom:0;box-shadow:0 2px 3px #293b2920}.art-horizontal:after{content:'';position:absolute;right:2px;top:3px;bottom:3px;background:#ece7ce;border-radius:0 4px 4px 0;width:88%}.book-h1{width:176px;background:#667e58;bottom:5px;transform:rotate(-2deg)}.book-h2{width:154px;background:#aa8f50;bottom:19px;left:104px;transform:rotate(2deg)}.book-h3{width:187px;background:#688a71;left:84px;bottom:-7px}.art-plant{position:absolute;right:-18px;bottom:5px;width:75px;height:97px}.art-plant>span{position:absolute;bottom:-5px;right:16px;width:40px;height:45px;background:#cfcab0;clip-path:polygon(0 0,100% 0,84% 100%,17% 100%);border-top:3px solid #b7b497}.art-plant i{position:absolute;right:35px;bottom:35px;width:23px;height:50px;background:#739168;border-radius:90% 0 90% 0;transform:rotate(-30deg)}.art-plant i:nth-child(2){right:15px;bottom:38px;transform:rotate(30deg);height:40px;background:#859d73}.art-plant i:nth-child(3){right:34px;bottom:57px;height:37px;width:18px;transform:rotate(-10deg);background:#a3b489}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat-card{border:1px solid var(--border);border-radius:var(--radius);padding:17px 19px 16px;background:#fff;min-width:0;box-shadow:0 2px 3px #26312c02}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#889380}.stat-icon{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon .icon{width:17px;height:17px}.green{background:#edf4ea;color:#65875b}.blue{background:#ecf1f7;color:#7590a3}.amber{background:#fbf3e5;color:#ba9a5e}.purple{background:#f3eff8;color:#9b8bad}.stat-value{font-size:25px;font-weight:550;letter-spacing:-.65px;line-height:1.4;margin-top:9px;color:#354333}.stat-value small{font-size:11px;letter-spacing:0;color:#a1aa9a;font-weight:400;margin-left:4px}.stat-foot{font-size:8px;color:#a0a798;display:flex;align-items:center;gap:5px;line-height:1.5;margin-top:9px}.stat-foot .icon{width:11px;height:11px;color:#92a186}.muted-dot,.amber-dot{height:4px;width:4px;display:inline-block;border-radius:50%;background:#a0b492}.amber-dot{background:#c4a05c}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 3px #26312c02;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:20px 21px 17px}.panel-heading h2{font-weight:550;font-size:12px;line-height:1.5;letter-spacing:-.1px}.panel-heading p{font-size:9px;color:#a0a899;margin-top:5px;line-height:1.6}.panel-heading select{padding:7px 25px 7px 9px;font-size:8px;border-color:#e4e9de;color:#8c9880;border-radius:5px}.small-icon{color:#9caa89}.small-icon .icon{width:17px;height:17px}.dashboard-middle{display:grid;grid-template-columns:1.52fr 1fr;gap:21px;margin-bottom:24px}.chart-summary{display:flex;align-items:center;gap:13px;padding:0 21px;margin-top:0}.chart-summary strong{font-size:20px;font-weight:550;letter-spacing:-.5px}.chart-summary>span{display:flex;align-items:center;gap:4px;font-size:8px;color:#92a183;background:#f3f6ef;padding:4px 6px;border-radius:4px}.chart-summary>span .icon{width:10px;height:10px}.chart-wrap{padding:10px 15px 0 9px}.chart-wrap svg{width:100%;height:181px;display:block}.chart-wrap text{font-family:'Be Vietnam Pro',sans-serif;font-size:9px;fill:#a5ad9e}.chart-legend{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f1f3ed;padding:11px 21px;font-size:8px;color:#939e89;gap:10px}.chart-legend>span{display:flex;align-items:center;gap:6px}.chart-legend i{width:5px;height:5px;background:#598a57;border-radius:50%}.chart-legend small{font-size:7px;color:#acb2a3}.best-panel{display:flex;flex-direction:column}.best-panel .panel-heading{padding-bottom:7px}.best-books{padding:0 20px;flex:1}.best-book{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #eef1e8;min-width:0}.best-book:last-child{border:0}.rank{font-size:9px;color:#b0b6a8;width:18px;flex-shrink:0}.best-book .book-cell{gap:9px;flex:1;min-width:0}.best-book .book-cell strong{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:185px;display:block}.best-book .book-cell>div{min-width:0}.best-book .book-cell span:not(.book-cover){font-size:8px}.book-cover{height:41px;width:29px;display:flex;align-items:center;justify-content:center;background:var(--cover);color:var(--ink);position:relative;overflow:hidden;flex-shrink:0;border-radius:1px 2px 2px 1px;box-shadow:1px 2px 3px #393e231a;text-align:center;padding:4px 3px}.book-cover:before{content:'';position:absolute;width:1px;left:2px;top:0;bottom:0;background:#00000015}.book-cover>span{font-size:4px!important;line-height:1.5;color:inherit!important;letter-spacing:.3px;font-weight:600;display:block!important;overflow-wrap:anywhere}.book-cover:after{content:'';position:absolute;bottom:-8px;right:-6px;height:23px;width:23px;border:1px solid #ffffff40;border-radius:50%}.sold-count{font-size:11px;font-weight:550;text-align:right;color:#687a5b;margin-left:auto;flex-shrink:0}.sold-count small{display:block;font-weight:400;color:#a4ae9c;font-size:7px;margin-top:3px}.panel-link{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:500;color:#7b8f65;padding:11px 21px;border-top:1px solid #eef1e7;background:#fcfdf9}.panel-link .icon{width:13px;height:13px}.panel-link:hover{background:#f4f7ed}.dashboard-bottom{display:grid;grid-template-columns:1.85fr 1fr;gap:21px}.dashboard-bottom .panel-heading{padding:20px 20px 16px}.dashboard-bottom .panel-heading h2{font-size:12px}.dashboard-bottom .panel-heading p{font-size:8px}.dashboard-bottom .text-link{font-size:8px}.dashboard-bottom .text-link .icon{width:12px;height:12px}.attention-item{display:flex;gap:10px;padding:4px 20px 12px;align-items:center}.attention-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;flex-shrink:0}.attention-icon .icon{width:16px;height:16px}.attention-item strong,.attention-debt strong{font-size:10px;font-weight:500}.attention-item p,.attention-debt p{font-size:8px;color:#a3ab97;margin-top:5px}.low-books{padding:0 20px}.low-books>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;font-size:9px;color:#8d9880;border-bottom:1px dashed #e6ecde}.low-books>div:last-child{border:0}.low-books strong{font-size:10px;font-weight:550;color:#bca065;white-space:nowrap}.low-books small{font-size:7px;font-weight:400;color:#a6af9b}.low-books>p{font-size:10px;color:#92a182;padding:20px 0}.attention-link{display:flex;align-items:center;justify-content:space-between;background:none;padding:11px 20px;font-size:8px;font-weight:500;color:#b1955a;width:100%;border-bottom:1px solid #eef1e8}.attention-link .icon{width:12px;height:12px}.attention-link:hover{background:#fdfbf5}.attention-debt{display:flex;gap:10px;align-items:center;padding:17px 20px}

/* Lists, forms and reports */
.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;min-width:100%;font-size:11px;text-align:left;white-space:nowrap}th{font-weight:500;color:#9aa28f;background:#fafbf7;border-top:1px solid #eff1e9;border-bottom:1px solid #eff1e9;padding:12px 20px;font-size:9px}td{padding:14px 20px;border-bottom:1px solid #eff1e9;color:#71806a;line-height:1.6}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfefa}td strong{font-weight:500;color:#55684b}.muted{color:#a1aa96}.amount{font-weight:550;color:#5c7050;font-variant-numeric:tabular-nums}.id-link{font-size:inherit;color:#7e9470;background:none;padding:0;font-weight:500}.id-link:hover{color:var(--green);text-decoration:underline}.customer-cell{display:flex;align-items:center;gap:8px}.customer-cell strong{font-weight:500}.badge{display:inline-flex;align-items:center;gap:5px;line-height:1.5;padding:4px 7px;border-radius:4px;font-size:8px;font-weight:450;white-space:nowrap}.badge>span{width:3px;height:3px;border-radius:50%;background:currentColor}.badge.green{background:#eff5e9;color:#85a366}.badge.amber{background:#fbf5e8;color:#c1a15e}.badge.red{background:#fbefec;color:#b7796a}.badge.gray{background:#f0f1ec;color:#92998d}.dashboard-bottom table{font-size:9px}.dashboard-bottom th{font-size:8px;padding:11px 18px}.dashboard-bottom td{padding:12px 18px}.dashboard-bottom .badge{font-size:7px}.dashboard-bottom .avatar{width:22px;height:22px;font-size:7px}.dashboard-bottom .customer-cell{gap:5px}.book-cell{display:flex;align-items:center;gap:12px}.book-cell>div>strong{font-weight:550;font-size:11px;display:block}.book-cell>div>span{color:#a4ac9b;font-size:9px;display:block;margin-top:4px}.catalog-summary{display:flex;align-items:center;gap:28px;margin:-3px 0 22px;font-size:11px;color:#94a087}.catalog-summary>span{display:flex;align-items:center;gap:5px}.catalog-summary .icon{width:15px;height:15px;margin-right:3px;color:#7b916d}.catalog-summary strong{font-weight:550;color:#6e855f}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;gap:15px}.table-search{display:flex;align-items:center;gap:8px;max-width:340px;flex:1;padding:8px 10px;border:1px solid #e6ebdf;border-radius:6px}.table-search .icon{width:15px;height:15px;color:#a5b197}.table-search input{border:0;width:100%;padding:0;font-size:10px}.table-search input:focus{outline:none}.table-search input::placeholder{color:#a6ae9d}.filter-controls{display:flex;align-items:center;gap:10px}.filter-controls select{font-size:9px;padding:9px 28px 9px 10px;border-color:#e6ebdf;border-radius:6px}.category-tag{display:inline-block;padding:4px 8px;font-size:9px;line-height:1.5;background:#f3f5ee;border:1px solid #e9eddf;border-radius:4px;color:#929f82}.stock-number{font-size:12px;color:#7e986a}.stock-number.low{color:#bb9b5d}.stock-unit{color:#a7b099;font-size:8px;display:inline-block;margin-left:5px}.table-footer{padding:15px 20px;border-top:1px solid #edf0e5;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#9ca78f;gap:15px}.mini-dot{width:3px;height:3px;border-radius:50%;background:#b4bfa7;display:inline-block;vertical-align:middle;margin:0 5px}.notice{display:flex;align-items:center;gap:11px;background:#f1f5ea;border:1px solid #e5ecdc;border-radius:8px;padding:13px 16px;font-size:10px;color:#8b9b78;margin-bottom:22px;line-height:1.9}.notice>.icon{width:17px;height:17px;color:#9aab86}.notice>p{flex:1}.notice strong{font-weight:550;color:#728761}.notice>span{margin-left:auto;font-weight:600;font-size:9px;white-space:nowrap}.notice.compact{margin:0;padding:11px 13px;font-size:9px;align-items:flex-start}.notice.compact>.icon{width:15px;height:15px;margin-top:1px}.form-code{font-size:9px;color:#9caf88;letter-spacing:1px;padding:5px 7px;background:#f3f6ec;border-radius:4px;white-space:nowrap}.stacked{display:flex;flex-direction:column;gap:4px}.stacked small{font-size:9px;color:#a0ac93}.green-text{color:#6a8c55!important}.amber-text{color:#b99a5a!important}.danger{color:#b77768}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;min-height:180px}.empty-state>.icon{color:#b5c1a3;width:30px;height:30px}.empty-state strong{font-size:12px;font-weight:500;color:#95a782}.empty-state p{font-size:10px;color:#adb99c;text-align:center}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.tabs{display:flex;align-items:center;gap:4px;border:1px solid #e4eadb;background:#eef2e8;padding:4px;border-radius:8px}.tabs button{display:flex;align-items:center;gap:8px;background:transparent;color:#98a589;font-size:10px;border-radius:5px;padding:10px 13px}.tabs button.active{background:white;color:#648153;box-shadow:0 1px 3px #64734f12}.tabs .icon{width:15px;height:15px}.tabs span{font-size:8px;color:#a6b496;padding-left:2px}.month-label{display:flex;gap:8px;align-items:center;background:white;padding:8px 11px;border:1px solid #e3eadd;border-radius:6px}.month-label .icon{width:15px;height:15px;color:#94a680}.month-label input{padding:0;border:0;font-size:10px;color:#8da377;background:transparent}.report-stats .stat-value{font-size:23px}.rules-layout{display:grid;grid-template-columns:1fr 245px;gap:25px}.rule-section{padding:25px;border-bottom:1px solid #edf1e7}.rule-description{display:flex;align-items:center;gap:12px;margin-bottom:23px}.rule-description h2{font-weight:550;font-size:13px}.rule-description h2>span{margin-left:5px;padding:3px 5px;background:#f4f6ee;color:#a4b097;border-radius:3px;font-size:8px;font-weight:400;vertical-align:middle}.rule-description p{font-size:10px;color:#9ca88e;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.form-grid label{display:flex;flex-direction:column;gap:8px;font-size:10px;font-weight:500;color:#798a6b}.form-grid label>small{font-size:8px;font-weight:400;line-height:1.7;color:#a0ad92}input:not([type=checkbox]),select,textarea{border:1px solid #e1e8d9;border-radius:6px;background:white;padding:11px 12px;color:#647755;font-size:11px}input::placeholder,textarea::placeholder{color:#aab69e}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a487' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:32px}input[readonly]{background:#f7f9f3;color:#9aaa8d}.input-unit{display:flex;align-items:center;border:1px solid #e1e8d9;border-radius:6px;padding-right:12px}.input-unit input{width:100%;border:0;padding:11px 12px}.input-unit>span{flex-shrink:0;font-size:9px;font-weight:400;color:#a5b297}.fixed-rule{font-size:9px;color:#9aa88a;display:flex;gap:7px;align-items:center;margin-top:21px}.fixed-rule .icon{width:13px;height:13px}.toggle-row{display:flex;align-items:center;gap:10px;cursor:pointer;position:relative}.toggle-row>div{flex:1}.toggle-row strong{display:block;font-size:11px;font-weight:500;color:#81976f}.toggle-row small{display:block;font-size:9px;color:#a6b097;margin-top:7px}.toggle-row input{position:absolute;right:0;width:37px;height:22px;opacity:0;z-index:1;cursor:pointer}.switch{height:22px;width:37px;background:#dbe1d2;border-radius:20px;position:relative;transition:.2s}.switch:after{content:'';width:16px;height:16px;border-radius:50%;background:white;position:absolute;left:3px;top:3px;box-shadow:0 1px 3px #00000012;transition:.2s}.toggle-row input:checked+.switch{background:#73965f}.toggle-row input:checked+.switch:after{left:18px}.toggle-row input:focus-visible+.switch{outline:3px solid #a9c391;outline-offset:3px}.rules-save{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding:20px 25px}.rules-save .button{font-size:10px}.rule-aside{background:#eef2e6;border:1px solid #e6ecdd;border-radius:10px;align-self:start;padding:23px;color:#8fa67a}.big-info{height:38px;width:38px;background:#e0e9d4;display:flex;align-items:center;justify-content:center;border-radius:9px;margin-bottom:16px}.big-info .icon{height:21px;width:21px}.rule-aside h3{font-size:13px;line-height:1.9;font-weight:550}.rule-aside>p{font-size:10px;line-height:2.1;margin-top:10px;color:#a0ae90}.rule-aside .notice{margin-top:20px;background:#f5f7ef;border:0;color:#a1b28e}.role-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.role-card{padding:23px}.role-card h3{font-size:12px;font-weight:550;margin:16px 0 9px}.role-card p{font-size:10px;color:#9baa8c;line-height:1.9;max-width:250px}.role-card>span:last-child{display:block;font-size:9px;color:#91a87c;padding-top:20px}.you-tag{font-size:7px;color:#a5b393;background:#f0f4e9;padding:2px 5px;border-radius:3px}

/* Dialogs */
dialog{border:1px solid #e8eddf;border-radius:13px;padding:0;max-width:min(850px,calc(100vw - 32px));width:max-content;max-height:90dvh;overflow:auto;box-shadow:0 20px 100px #152d2838;color:var(--ink);background:white}dialog::backdrop{background:#1b302c69;backdrop-filter:blur(4px)}.modal-inner{width:530px;max-width:calc(100vw - 34px)}.modal-inner.wide{width:820px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 25px;border-bottom:1px solid #ebf0e3}.modal-heading h2{font-size:17px;line-height:1.6;font-weight:550;letter-spacing:-.3px}.modal-heading p{font-size:9px;line-height:1.7;color:#9fae90;margin-top:5px}.modal-heading .icon-button{width:26px;height:26px;margin-top:2px}.modal-body{padding:25px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 25px;background:#fafcf6;border-top:1px solid #edf1e6}.modal-footer>.text-button{margin-right:auto;font-size:10px}.modal-footer .button{font-size:10px;padding:8px 12px}.form-error{color:#ba796a;font-size:10px;line-height:1.8;grid-column:1/-1}.form-error:empty{display:none}.modal-body>.form-error{margin-top:15px}.book-detail{display:flex;align-items:center;gap:30px;padding:35px}.book-detail>.book-cover{width:95px;height:140px}.book-detail>.book-cover>span{font-size:10px!important}.book-detail p{font-size:11px;line-height:1.8;margin:8px 0;color:#a1b38e}.book-detail strong{font-weight:500;color:#849e6d}.transaction-lines{margin-top:25px}.line-labels,.transaction-line{display:grid;grid-template-columns:minmax(180px,2.5fr) 80px minmax(95px,1fr) 110px 28px;gap:10px;align-items:center}.line-labels{color:#98aa86;font-size:8px;margin-bottom:8px}.transaction-line{margin-bottom:10px}.transaction-line input,.transaction-line select{width:100%;font-size:10px;padding:10px 9px}.transaction-line select{padding-right:25px;background-position:right 5px center}.transaction-line>strong{font-size:10px;text-align:right;color:#8da876;font-weight:500;white-space:nowrap}.transaction-line .icon-button{width:27px;height:27px}.transaction-line .icon{width:14px;height:14px}.add-line{font-size:9px;margin-top:4px;padding:6px 10px}.add-line .icon{height:13px;width:13px}.transaction-total{padding:19px 20px;background:#f7f9f2;border:1px solid #eaf0e0;border-radius:7px;margin:23px 0 15px}.transaction-total>div{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9db18c;margin-bottom:12px}.transaction-total>div:last-child{margin-bottom:0}.transaction-total strong{font-size:15px;font-weight:550;color:#7c9d63}.transaction-total>label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9db18c;margin-bottom:12px}.transaction-total>label input{max-width:170px;padding:9px 11px;text-align:right;font-size:11px}.customer-hint{display:flex;align-items:center;gap:7px;font-size:9px;color:#9db68b;margin-top:13px;min-height:10px}.customer-hint .icon{width:14px;height:14px}.customer-hint strong{font-weight:550}.customer-hint .badge{margin-left:auto}.receipt-contact{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f7f9f3;border:1px solid #e9efdf;padding:17px;border-radius:7px}.receipt-contact>div{display:flex;flex-direction:column;gap:6px}.receipt-contact span{font-size:8px;color:#adbc9c}.receipt-contact strong{font-size:10px;font-weight:500;color:#91ab7b;overflow-wrap:anywhere}.document-view{padding:27px}.document-brand{display:flex;align-items:center;justify-content:space-between}.document-brand .brand{font-size:22px}.document-brand .brand-icon{height:28px;width:28px;border-radius:7px}.document-brand .icon{height:18px;width:18px}.document-brand>span{font-size:9px;letter-spacing:2px;color:#adc099}.document-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.document-meta>div{display:flex;flex-direction:column;gap:8px}.document-meta span{font-size:9px;color:#aebe9c}.document-meta strong{font-weight:500;font-size:10px;color:#8aa575;line-height:1.7}.document-view table{font-size:9px}.document-view th,.document-view td{padding:12px}.document-totals{padding:18px 10px;border-top:1px solid #e9efde;margin-top:10px;margin-left:auto;width:250px}.document-totals>div{display:flex;justify-content:space-between;gap:20px;margin:12px 0;font-size:11px;color:#a0b68b}.document-totals strong{font-weight:550;color:#87a76e}.document-bottom{margin-top:20px;text-align:center;font-size:8px;color:#b3c79e;border-top:1px dashed #e0eccf;padding-top:15px}.help-content>p{font-size:11px;line-height:2.1;color:#91aa7e;margin-bottom:18px}.help-content strong{font-weight:550}.help-step{display:flex;gap:15px;margin-bottom:25px}.help-step>span{color:#a9bd92;background:#f3f7ed;font-size:11px;font-weight:550;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;flex-shrink:0}.help-step>span .icon{width:17px;height:17px}.help-step strong{font-size:12px;font-weight:500;color:#8daa74}.help-step p{font-size:10px;line-height:2;color:#aabc95;margin-top:7px}.toast{display:flex;align-items:center;gap:9px;max-width:430px;background:#fff;border:1px solid #d9e8cd;padding:14px 18px;border-radius:9px;box-shadow:0 5px 25px #1e3e3215;color:#7fa067;font-size:11px;line-height:1.8;animation:toast-in .2s ease-out}.toast .icon{height:17px;width:17px}.toast.error{border-color:#ebd5cc;color:#bc8d79}#toast-region{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:10px;z-index:80;max-width:calc(100% - 32px)}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Keep embedded search and login fields visually integrated. */
.input-icon input:not([type=checkbox]){border:0;background:transparent;padding:12px;box-shadow:none;border-radius:0;color:var(--ink)}
.global-search input:not([type=checkbox]){border:0;background:transparent;padding:0;font-size:9px;color:var(--ink)}
.table-search input:not([type=checkbox]){border:0;background:transparent;padding:0;font-size:10px;color:var(--ink)}
.month-label input:not([type=checkbox]){border:0;background:transparent;padding:0;font-size:10px;color:#718562}
.input-unit input:not([type=checkbox]){border:0;background:transparent}
.page-heading p,.panel-heading p{color:#818c7b}
.stat-foot,.chart-legend,.table-footer{color:#89947f}
.form-grid label{color:#657958}
.form-grid label>small,.help-step p,.help-content>p{color:#87967b}
.modal-heading p{color:#87997a}
.form-error{color:#a94f40}
.form-grid .form-error{color:#a94f40}
.notice,.notice.compact{color:#778868}
.book-cell>div>span{color:#8d9b80}
.badge.green{color:#6b8c4b}.badge.amber{color:#a88643}.badge.red{color:#b26755}

/* Responsive layout */
@media(min-width:1500px){.sidebar{width:258px;padding:33px 23px 0}.workspace{margin-left:258px;width:calc(100% - 258px)}.main-content{padding:35px 42px}.topbar{padding:0 42px}.page-heading h1{font-size:27px}.welcome-banner{height:233px;padding:27px 32px}.welcome-banner h2{font-size:29px}.welcome-banner p{font-size:10px}.banner-art{transform:scale(1.12);transform-origin:bottom right;right:65px}.banner-actions{margin-top:20px}.banner-button{font-size:10px}.stat-card{padding:19px 22px}.stat-value{font-size:29px}.stat-top{font-size:11px}.stat-foot{font-size:9px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:10px}.chart-wrap svg{height:205px}.best-book{padding:13px 0}.best-book .book-cell strong{font-size:11px;max-width:245px}.best-book .book-cell span:not(.book-cover){font-size:9px}.dashboard-bottom table{font-size:10px}.dashboard-bottom td{padding:15px 20px}.dashboard-bottom th{font-size:9px}.dashboard-bottom .badge{font-size:8px}.attention-item strong,.attention-debt strong{font-size:11px}.attention-item p,.attention-debt p{font-size:9px}.low-books>div{font-size:10px;padding:11px 0}.attention-link{font-size:9px;padding:13px 20px}.app-footer{padding:20px 42px}.login-story{padding:50px 80px 35px}.login-form-panel{padding:42px 60px 32px}.login-form-wrap{width:410px}.login-form-wrap h2{font-size:27px}.login-form-wrap>p{font-size:12px}.login-form-wrap label{font-size:12px}.input-icon{height:50px}.input-icon input{font-size:12px}.login-options .checkbox-label,.login-options .text-button{font-size:11px}.login-submit{height:49px;font-size:12px}.demo-roles button{font-size:10px}.book-scene{height:320px;margin-top:36px}.scene-book{transform-origin:bottom center}.book-a{transform:rotate(-13deg) scale(1.15)}.book-b{transform:rotate(9deg) scale(1.15)}}
@media(max-width:1250px){.sidebar{width:220px;padding:26px 14px 0}.workspace{margin-left:220px;width:calc(100% - 220px)}.main-content{padding:27px 25px}.topbar{padding:0 25px}.page-heading h1{font-size:21px}.date-chip{font-size:8px;padding:8px}.date-chip .icon{width:12px;height:12px}.welcome-banner{padding:24px}.banner-art{right:15px;transform:scale(.94);transform-origin:bottom right}.stats-grid{gap:13px}.stat-card{padding:15px}.stat-value{font-size:22px}.stat-foot{font-size:7px}.dashboard-middle{gap:17px;grid-template-columns:1.3fr 1fr}.dashboard-bottom{grid-template-columns:1.6fr 1fr;gap:17px}.panel-heading{padding:18px 17px 15px}.panel-heading h2{font-size:11px}.best-books{padding:0 15px}.best-book .book-cell strong{max-width:155px;font-size:9px}.dashboard-bottom th,.dashboard-bottom td{padding-left:12px;padding-right:12px}.dashboard-bottom td{font-size:8px}.dashboard-bottom .badge{font-size:6px}.attention-item,.attention-debt{padding-left:17px;padding-right:17px}.low-books{padding:0 17px}.rules-layout{grid-template-columns:1fr 210px;gap:20px}.rule-section{padding:22px}.login-story{padding:38px 42px 28px}.story-tag{margin-top:65px}.login-form-panel{padding:32px}.login-form-wrap h2{font-size:23px}.login-form-wrap>p{font-size:10px}.global-search{width:200px}}
@media(max-width:1050px){.page-heading{align-items:flex-start}.page-heading h1{font-size:20px}.page-heading p{max-width:420px;font-size:9px}.date-chip{font-size:0;padding:8px}.date-chip .icon{width:16px;height:16px}.banner-art{right:-27px;transform:scale(.85);opacity:.95}.welcome-banner h2{font-size:23px}.welcome-banner p{max-width:260px;line-height:1.8}.banner-actions>span{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-top{font-size:10px}.stat-value{font-size:25px}.stat-foot{font-size:8px}.dashboard-middle{grid-template-columns:1fr}.best-books{display:grid;grid-template-columns:1fr 1fr;column-gap:25px;padding:0 20px}.best-book:nth-last-child(2){border:0}.best-book .book-cell strong{max-width:180px}.dashboard-bottom{grid-template-columns:1fr}.dashboard-bottom td{font-size:10px}.dashboard-bottom .badge{font-size:8px}.dashboard-bottom th{font-size:9px}.attention-panel{display:grid;grid-template-columns:1fr 1fr}.attention-panel>.panel-heading{grid-column:1/-1}.attention-item{grid-column:1;grid-row:2}.low-books{grid-column:1;grid-row:3}.attention-link{grid-column:1;grid-row:4}.attention-debt{grid-column:2;grid-row:2/5;border-left:1px solid #edf1e7;align-items:flex-start;padding-top:10px}.rules-layout{grid-template-columns:1fr}.rule-aside{display:none}.role-cards{gap:13px}.role-card{padding:18px}.role-card p{font-size:9px}.table-toolbar{flex-wrap:wrap}.table-search{max-width:none}.report-toolbar{flex-wrap:wrap}.login-story h1{font-size:34px}.login-story{padding:35px 32px}.login-form-panel{padding:30px}.login-form-wrap h2{font-size:21px;letter-spacing:-.7px}.demo-roles{gap:5px}.demo-roles button{font-size:8px;gap:4px}.story-footer{font-size:8px}.story-footer span:last-child{font-size:6px}.book-scene{transform:scale(.9);transform-origin:center bottom;margin-left:-20px;margin-right:-20px}.global-search{width:173px}.breadcrumbs{font-size:9px;gap:8px}.topbar-actions{gap:11px}.tabs button{padding:9px 10px;font-size:9px}.tabs span{font-size:7px}.report-stats .stat-value{font-size:24px}}
@media(max-width:800px){.sidebar{width:230px;transform:translateX(-100%);transition:transform .2s;box-shadow:none}.workspace{width:100%;margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 22px}.breadcrumbs{font-size:9px}.topbar-actions{gap:13px}.global-search{width:200px}.main-content{padding:26px 22px}.menu-open .sidebar{transform:translateX(0);box-shadow:5px 0 25px #00000020}.menu-open .sidebar-backdrop{display:block;position:fixed;inset:0;background:#203d3040;z-index:25;backdrop-filter:blur(2px)}.page-heading h1{font-size:22px}.page-heading p{font-size:10px}.date-chip{font-size:8px}.date-chip .icon{width:13px;height:13px}.banner-art{right:5px;transform:scale(.96)}.welcome-banner h2{font-size:25px}.best-book .book-cell strong{max-width:220px}.attention-debt{padding-left:30px}.app-footer{padding:18px 22px;font-size:7px}.login-page{grid-template-columns:.9fr 1.1fr}.login-story{padding:32px 25px}.login-story h1{font-size:28px;letter-spacing:-1px}.story-tag{font-size:7px;letter-spacing:1.5px;margin-top:76px}.login-story>p{font-size:10px}.book-scene{transform:scale(.75);margin-left:-65px;margin-right:-65px;margin-top:25px}.story-footer{font-size:7px;line-height:1.8;gap:10px}.story-footer span:last-child{white-space:nowrap;letter-spacing:1px}.login-form-panel{padding:30px 26px}.login-form-wrap h2{font-size:20px}.login-form-wrap>.eyebrow{font-size:7px}.demo-roles{grid-template-columns:1fr}.demo-roles button{font-size:9px;min-height:33px}.login-form-wrap{padding:30px 0}.login-form-wrap form{margin-top:24px}.divider{margin:22px 0 14px}.login-form-wrap .login-note{margin-top:18px}.login-story,.login-form-panel{min-height:800px}}
@media(max-width:560px){.topbar{height:61px;padding:0 15px}.breadcrumbs{gap:8px}.breadcrumbs>span{display:none}.breadcrumbs>.icon{display:none}.breadcrumbs strong{font-size:10px}.topbar-actions{gap:10px}.global-search{width:150px;border:0;background:#f7f8f3;height:30px;padding:5px 7px}.global-search input{font-size:8px}.global-search kbd,.topbar-separator{display:none}.topbar-actions .avatar{width:26px;height:26px;font-size:8px}.notification-button{width:20px}.main-content{padding:22px 15px}.page-heading{flex-wrap:wrap;gap:12px;margin-bottom:19px}.page-heading h1{font-size:21px;line-height:1.55}.page-heading p{font-size:9px;line-height:1.9}.greeting-sun{font-size:20px}.date-chip{font-size:8px;padding:7px 9px}.heading-actions:has(.date-chip){display:none}.heading-actions .button{font-size:9px;padding:7px 11px}.welcome-banner{height:214px;padding:22px 20px;border-radius:9px;margin-bottom:18px}.welcome-banner h2{font-size:23px;position:relative;z-index:2}.welcome-banner p{max-width:185px;font-size:8px;position:relative;z-index:2}.banner-art{right:-106px;transform:scale(.72);opacity:.8}.banner-eyebrow{font-size:6px;letter-spacing:1.4px;margin-bottom:15px}.banner-actions{margin-top:18px}.banner-button{font-size:8px;gap:12px;padding:6px 10px}.stats-grid{gap:11px;margin-bottom:18px}.stat-card{padding:13px 14px;border-radius:10px}.stat-top{font-size:9px}.stat-icon{height:28px;width:28px;border-radius:7px}.stat-icon .icon{width:15px;height:15px}.stat-value{font-size:22px;margin-top:9px}.stat-foot{font-size:7px;line-height:1.8;margin-top:8px;gap:4px}.stat-foot .icon{height:10px;width:10px}.stat-value small{font-size:9px}.dashboard-middle,.dashboard-bottom{gap:18px;margin-bottom:18px}.panel{border-radius:10px}.panel-heading{padding:17px 16px 14px}.panel-heading h2{font-size:11px}.panel-heading p{font-size:8px}.panel-heading select{font-size:7px;padding:6px 23px 6px 8px}.chart-summary{padding:0 16px;gap:10px}.chart-summary strong{font-size:19px}.chart-summary>span{font-size:7px}.chart-wrap{padding:12px 8px 0 0}.chart-wrap svg{height:161px}.chart-legend{padding:11px 16px;font-size:7px}.chart-legend small{font-size:6px}.best-books{display:block;padding:0 16px}.best-book{padding:11px 0;gap:12px}.best-book:nth-last-child(2){border-bottom:1px solid #eef1e8}.best-book .book-cell strong{max-width:230px;font-size:10px}.best-book .book-cell span:not(.book-cover){font-size:8px}.best-panel .panel-heading h2{font-size:11px}.dashboard-bottom .panel-heading{padding:17px 16px}.dashboard-bottom td{font-size:9px}.dashboard-bottom .badge{font-size:7px}.dashboard-bottom th{font-size:8px}.dashboard-bottom .text-link{font-size:7px}.attention-panel{display:block}.attention-item{padding-top:4px}.attention-debt{padding:15px 17px;border-left:0}.attention-item strong,.attention-debt strong{font-size:11px}.attention-item p,.attention-debt p{font-size:8px}.low-books>div{font-size:10px;padding:9px 0}.app-footer{flex-direction:column;align-items:flex-start;padding:16px;gap:8px;font-size:7px}.catalog-summary{font-size:9px;gap:16px;flex-wrap:wrap;margin-bottom:18px}.table-toolbar{padding:14px;gap:12px}.table-search{flex-basis:100%;font-size:9px}.filter-controls{width:100%;gap:7px}.filter-controls select{flex:1;min-width:0;font-size:8px;padding:8px 24px 8px 8px}.table-toolbar .icon-button{height:28px;width:28px}.table-footer{font-size:7px;padding:12px 14px;flex-wrap:wrap;gap:8px}.notice{padding:12px;font-size:9px;gap:8px;align-items:flex-start;margin-bottom:18px}.notice>.icon{width:15px;height:15px;margin-top:2px}.notice>span{font-size:8px}.notice p{line-height:2}.panel-heading .form-code{font-size:8px;padding:4px 6px}.report-toolbar{gap:14px}.tabs{width:100%;gap:3px}.tabs button{flex:1;font-size:8px;padding:9px 6px;justify-content:center;gap:5px}.tabs .icon{width:13px;height:13px}.tabs span{font-size:6px}.month-label{padding:7px 9px}.month-label input{font-size:9px}.report-stats .stat-value{font-size:20px}.rules-layout{display:block}.rule-section{padding:19px 16px}.rule-description{gap:10px;margin-bottom:18px}.rule-description h2{font-size:12px}.rule-description p{font-size:8px;line-height:1.8}.form-grid{gap:17px;grid-template-columns:1fr}.form-grid label{font-size:10px}.form-grid .full{grid-column:auto}.rule-section .form-grid{grid-template-columns:1fr}.fixed-rule{font-size:8px;line-height:1.9;align-items:flex-start}.fixed-rule .icon{margin-top:2px}.toggle-row strong{font-size:10px}.toggle-row small{font-size:8px;line-height:1.8;max-width:240px}.rules-save{padding:16px}.role-cards{grid-template-columns:1fr;gap:12px}.role-card{padding:17px;position:relative;padding-left:66px;min-height:112px}.role-card>.stat-icon{position:absolute;left:17px;top:20px}.role-card h3{margin:0 0 7px;font-size:11px}.role-card p{font-size:9px;max-width:none}.role-card>span:last-child{padding-top:10px;font-size:8px}.modal-heading{padding:19px 19px}.modal-heading h2{font-size:15px}.modal-heading p{font-size:8px}.modal-body{padding:20px}.modal-footer{padding:15px 18px}.modal-footer .button{font-size:9px;padding:7px 10px}.line-labels{display:none}.transaction-lines{margin-top:20px}.transaction-line{grid-template-columns:1fr 1fr 28px;gap:8px;border:1px solid #e7eedb;padding:12px;border-radius:7px;margin-bottom:12px}.transaction-line select{grid-column:1/3}.transaction-line .icon-button{grid-column:3;grid-row:1}.transaction-line input{grid-row:2}.transaction-line .line-subtotal{grid-column:1/3;text-align:right;grid-row:3;font-size:11px}.transaction-line input[data-line=qty]{grid-column:1}.transaction-line input[data-line=cost]{grid-column:2/4}.transaction-line>strong:before{content:'Thành tiền: ';font-size:8px;color:#a7bb90}.transaction-total{padding:16px;margin:20px 0 15px}.transaction-total>label{font-size:9px;gap:10px}.transaction-total>label input{width:140px}.customer-hint{flex-wrap:wrap;font-size:8px}.customer-hint .badge{margin-left:0}.receipt-contact{padding:14px;gap:15px}.receipt-contact strong{font-size:9px}.document-view{padding:20px 16px}.document-meta{grid-template-columns:1fr 1fr;gap:17px;margin:24px 0}.document-meta strong{font-size:9px}.document-meta span{font-size:8px}.document-view td,.document-view th{padding:10px;font-size:8px}.document-totals{width:230px}.document-totals>div{font-size:10px}.book-detail{padding:25px;gap:20px}.book-detail>.book-cover{height:116px;width:80px}.book-detail p{font-size:10px}.book-detail>.book-cover>span{font-size:8px!important}.help-content>p{font-size:10px}.help-step{gap:11px;margin-bottom:20px}.help-step strong{font-size:11px}.help-step p{font-size:9px}.toast{padding:12px 15px;font-size:10px}#toast-region{right:16px;bottom:16px}.login-page{display:block;min-height:100dvh}.login-story{min-height:0;height:235px;padding:26px 25px}.login-story .brand{font-size:25px;gap:8px}.login-story .brand-icon{height:30px;width:30px;border-radius:8px}.login-story .brand-icon .icon{width:20px;height:20px}.story-tag{font-size:6px;margin:25px 0 10px;letter-spacing:1.5px}.login-story h1{font-size:24px;line-height:1.33;letter-spacing:-.7px;z-index:2}.login-story>p,.story-footer{display:none}.book-scene{position:absolute;width:340px;height:280px;margin:0;right:-107px;bottom:-76px;transform:scale(.57);transform-origin:center;opacity:.83}.scene-star{right:22%;top:-25px}.scene-circle{top:0}.scene-shelf,.scene-caption{display:none}.login-form-panel{min-height:calc(100dvh - 235px);padding:22px 25px 20px;border-radius:18px 18px 0 0;margin-top:-13px;z-index:3}.demo-label{font-size:6px;letter-spacing:1.1px}.login-form-wrap{width:100%;max-width:390px;padding:23px 0 30px;margin:0 auto}.welcome-icon{display:none}.login-form-wrap>.eyebrow{font-size:6px;letter-spacing:1.5px;margin-bottom:9px}.login-form-wrap h2{font-size:24px;letter-spacing:-.6px}.login-form-wrap>p{font-size:10px;margin-top:7px}.login-form-wrap form{margin-top:23px}.login-form-wrap label{font-size:10px;margin-bottom:17px}.input-icon{height:44px;margin-top:8px}.input-icon input{font-size:10px}.login-options .checkbox-label,.login-options .text-button{font-size:9px}.login-submit{height:43px;font-size:10px;margin-top:11px}.divider{margin:22px 0 15px;font-size:8px}.demo-roles{grid-template-columns:1fr 1fr 1fr;gap:6px}.demo-roles button{font-size:8px;min-height:37px}.demo-roles .icon{height:12px;width:12px}.login-form-wrap .login-note{font-size:8px;margin-top:20px}.login-note span{font-size:7px}.login-footer{font-size:8px}.login-footer .text-button{font-size:8px}.login-form-panel .login-form-wrap{flex:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}body>#app,body>#toast-region{display:none!important}dialog{position:static;display:block!important;max-width:none!important;max-height:none!important;width:100%!important;overflow:visible!important;border:0!important;box-shadow:none!important;margin:0!important}dialog::backdrop{display:none}.modal-inner{width:100%!important;max-width:none!important}.modal-heading{padding:0 20px 20px}.modal-heading .icon-button,.modal-footer{display:none!important}.document-view{padding:20px}.document-meta span,.document-meta strong,.document-totals strong,td,th,.amount{color:#333!important}.document-brand{print-color-adjust:exact}.table-scroll{overflow:visible}}
