/* Demo controls only. Visual system styles are copied from the original projects. */
#demo-toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:2100;background:#101515;color:#fff;border-radius:10px;padding:12px 16px;font-size:12px;max-width:90%;width:max-content;box-shadow:0 5px 25px #0003;display:none}#demo-toast.visible{display:block}.sample-strip{font-size:10px;color:#737b78;margin-bottom:16px;display:flex;justify-content:space-between;gap:12px}.sample-strip>span{padding:3px 7px;background:#fff;border:1px solid #e4e7e3;border-radius:5px}.sample-strip button{border:0;background:none;color:#167a55;font-size:10px;text-decoration:underline;cursor:pointer}.demo-error{color:#b9382f;font-size:12px;margin:12px 0}.demo-notify{display:flex;align-items:center;gap:7px;justify-content:center;font-size:20px}button[data-view]{cursor:pointer}.nav-item,.side-nav a{cursor:pointer}.demo-select{background:#fff;border:1px solid #e4e7e3;border-radius:8px;padding:8px;font-size:12px;color:#151918}dialog{width:min(650px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:1px solid #e4e7e3;border-radius:16px;padding:24px;background:#f6f7f4;color:#151918}dialog::backdrop{background:#10151599}#close-detail{position:absolute;top:8px;right:12px;border:0;background:transparent;color:#151918;font-size:28px}dialog h2{margin:8px 25px 20px 0;font-size:24px}.detail-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;font-size:13px;border-bottom:1px solid #e4e7e3}.detail-line strong{text-align:right}.detail-note{font-size:11px;color:#737b78}.demo-sheet{display:none;position:fixed;inset:0;z-index:2000;background:#10151577;align-items:end}.demo-sheet.open{display:flex}.demo-sheet-content{background:#fff;padding:25px 20px;border-radius:20px 20px 0 0;width:100%;max-height:80dvh;overflow:auto}.demo-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.demo-sheet-head h3{margin:0;font-size:19px}.demo-sheet-head button{background:none;border:0;color:#151918;font-size:24px}.demo-sheet-content>a{display:block;border:1px solid #e4e7e3;border-radius:10px;padding:13px 15px;margin-top:9px;font-weight:650;font-size:14px}.demo-sheet-content label{display:grid;gap:6px;font-size:13px;margin-bottom:12px}.demo-sheet-content input,.demo-sheet-content select{padding:10px;border:1px solid #ddd;border-radius:7px;min-height:42px;width:100%}.demo-sheet-content .demo-apply{background:#101515;color:white;border:0;border-radius:8px;padding:12px;width:100%;font-size:13px;font-weight:650}.demo-sheet-content p{font-size:11px;color:#737b78}.table-wrap a[data-sale]{cursor:pointer;text-decoration:underline}.sample-strip a{font-size:10px;text-decoration:underline}.demo-product-results{padding:4px 0}.demo-product-results button{display:block;text-align:left;width:100%;padding:10px;border:1px solid #e4e7e3;background:white;color:#151918;font-size:12px}.furniture-staff-form .sale-row{margin-bottom:12px}.furniture-staff-form .primary{width:100%;margin-top:10px}.demo-finance-note{font-size:11px;color:#737b78;margin-bottom:15px}
@media(max-width:760px){input,select,textarea{font-size:16px!important}.sample-strip{margin-bottom:12px;font-size:9px}.sample-strip>span{font-size:9px}.demo-finance-note{font-size:10px}.table-wrap{overflow-x:auto!important}dialog{padding:20px}.sample-strip{margin-top:10px}.furniture-staff-form .sale-row{grid-template-columns:minmax(0,1fr) 75px!important}body.app-shell .mobile-topbar button{border:0}.mobile-topbar .demo-notify{color:inherit}.mobile-bottom-nav button{cursor:pointer}.page-dashboard .demo-finance-note{display:none}}
@media(min-width:761px){.demo-mobile-only{display:none!important}}
:focus-visible{outline:3px solid #ff4a2b;outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}
/* The menu links live inside #sheet-options, not directly in the sheet. */
#action-sheet .demo-sheet-content{padding:22px 18px calc(22px + env(safe-area-inset-bottom));width:100%;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain}
#action-sheet .demo-sheet-head{gap:14px;margin:0 0 18px;align-items:center}
#action-sheet .demo-sheet-head h3{font-size:19px;line-height:1.3;letter-spacing:-.3px;color:#151918;flex:1;min-width:0}
#action-sheet .demo-sheet-head>button{width:36px;height:36px;min-width:36px;margin:0;padding:0;display:grid;place-items:center;border:1px solid #e4e7e3;border-radius:50%;background:#f6f7f4;line-height:1;color:#151918}
#sheet-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;padding:0}
#sheet-options>.demo-menu-item{display:flex;align-items:center;gap:10px;min-width:0;min-height:60px;border:1px solid #e4e7e3;border-radius:12px;padding:12px;background:#f9faf8;color:#151918;text-decoration:none;text-align:left;box-sizing:border-box;line-height:1.3;float:none;margin:0;white-space:normal}
#sheet-options .demo-menu-icon{width:30px;height:30px;flex:0 0 30px;border-radius:8px;display:grid;place-items:center;background:#e9efe9;color:#275f49}
#sheet-options .demo-menu-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
#sheet-options .demo-menu-label{display:block;min-width:0;color:#151918;font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:break-word}
#sheet-options .demo-menu-label small{display:block;color:#737b78;font-size:10px;font-weight:400;line-height:1.45;margin-top:5px}
#sheet-options[data-kind="add"]>.demo-menu-item{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;padding:17px 14px;min-height:132px}
#sheet-options[data-kind="add"] .demo-menu-icon{width:38px;height:38px;flex-basis:38px;background:#e8f2ec;color:#167a55}
#sheet-options[data-kind="add"] .demo-menu-label{font-size:14px}
#sheet-options[data-kind="add"]>.demo-menu-item:last-child .demo-menu-icon{background:#fff1e7;color:#9d621a}
#sheet-options>.demo-menu-item:hover{border-color:#bdcfc3;background:#f0f5f0}
#sheet-options>.demo-menu-item:focus-visible{outline:3px solid #ff4a2b;outline-offset:2px}
@media(max-width:330px){#sheet-options[data-kind="more"]{grid-template-columns:1fr}#sheet-options[data-kind="add"]>.demo-menu-item{padding:13px 10px}#sheet-options[data-kind="add"] .demo-menu-label{font-size:12px}}
