.kds-labels{--label-accent:#176b76;--label-tint:#a9d9d650;--label-border:#4d9eaa4a;max-width:1440px;margin:0 auto;padding-bottom:30px}.label-page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:4px 0 24px}.label-page-head h1{font-size:clamp(30px,3vw,42px);font-weight:650;letter-spacing:-1.5px;margin:7px 0 9px}.label-page-head p{color:var(--muted);font-size:13px;line-height:1.65;max-width:560px}.label-page-head .eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--label-accent)}.label-icon{width:21px;height:21px;flex:0 0 auto}.label-settings{font-size:12px;white-space:nowrap}.label-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:22px;align-items:start}.label-form{display:grid;gap:18px}.label-section,.label-preview-panel{border:1px solid #ffffffbf;border-radius:25px;background:linear-gradient(135deg,#ffffff5e,#ffffff20);box-shadow:inset 0 1px 0 #ffffffdb,0 12px 40px #234d6a08;backdrop-filter:blur(24px);padding:23px}.label-section>header{display:flex;align-items:center;gap:11px;margin-bottom:20px}.label-section h2{font-size:15px;font-weight:650;margin:0}.label-step{font-size:10px;font-weight:650;letter-spacing:.5px;color:var(--label-accent);background:#c7e3e642;border:1px solid #ffffff99;border-radius:9px;width:30px;height:29px;display:grid;place-items:center}.label-mode-switch{display:flex;gap:5px;padding:5px;background:#d0e1eb35;border:1px solid #ffffff8a;border-radius:16px;margin-bottom:17px}.label-mode-switch .btn{flex:1;min-height:44px;border-color:transparent;background:transparent;color:var(--muted);font-size:12px;gap:9px}.kds-labels .is-active,.label-mode-switch .is-active,.label-employee-grid .is-active,.label-template-grid .is-active{color:var(--label-accent)!important;border-color:var(--label-border)!important;background:linear-gradient(140deg,#e1f4edb0,#a8d6da42)!important;box-shadow:inset 0 1px 0 #fff,0 3px 12px #215b7a0b}.label-search{display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #a9c3d752;border-radius:14px;background:#ffffff42;color:#6d8b9e;min-height:45px;margin-bottom:13px}.label-search input{font:inherit;font-size:12px;min-width:0;border:0;outline:none;background:transparent!important;box-shadow:none!important;color:var(--text);width:100%;padding:13px 0}.label-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:287px;overflow:auto;padding:2px 4px 3px 1px;scrollbar-width:thin}.label-product{min-height:63px!important;text-align:left;justify-content:space-between;align-items:center;font-size:11px!important;line-height:1.4;padding:12px!important;border:1px solid #ffffffb0;background:#ffffff30;border-radius:14px;overflow-wrap:anywhere}.label-product>span{position:relative;z-index:1;min-width:0}.label-product>.label-icon{width:16px}.label-selection-meta{display:flex;justify-content:space-between;gap:10px;margin-top:13px;font-size:10px;color:var(--muted);line-height:1.5}.label-selection-meta>span:first-child{font-weight:600;overflow-wrap:anywhere}.label-storage-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:18px}.label-storage-options .btn{min-height:80px;flex-direction:column;gap:10px;font-size:10px;padding:13px 6px;border-radius:17px;background:#ffffff35;border-color:#ffffffb0}.label-storage-options .label-icon{width:26px;height:26px}.label-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin-bottom:0}.label-field>span{font-size:10px;color:var(--muted);font-weight:550;letter-spacing:.15px}.label-field input,.label-field select,.label-value{box-sizing:border-box;min-width:0;width:100%;min-height:45px;border:1px solid #b0c7d644;border-radius:13px;padding:12px;font:inherit;font-size:12px;background:#ffffff43;color:var(--text);outline:none}.label-field input:focus,.label-field select:focus{border-color:#64a5b6;box-shadow:0 0 0 3px #79b7c11a}.label-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}.label-value{display:flex;align-items:center;gap:9px;text-align:left;justify-content:flex-start;background:#ffffff43!important}.label-value>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.label-value .label-icon{width:17px;height:17px;color:var(--muted)}.label-value .label-icon:last-child{margin-left:auto;width:13px}.label-value strong{font-size:18px;color:var(--label-accent)}.label-timezone{font-size:10px;color:var(--muted);margin-top:15px}.label-preview-column{position:sticky;top:20px}.label-preview-panel{padding:25px}.label-preview-panel>header{display:flex;justify-content:space-between;align-items:center;gap:10px}.label-preview-panel .eyebrow{font-size:9px;letter-spacing:1.5px}.label-count-badge{padding:5px 9px;border-radius:9px;font-size:10px;font-weight:600;color:var(--label-accent);background:#a8d4d340;border:1px solid #ffffff85}.label-preview-panel h2{font-size:22px;letter-spacing:-.6px;font-weight:600;margin:11px 0 18px}.label-template-select{width:100%;display:flex;align-items:center;gap:10px;background:#ffffff40;min-height:64px;text-align:left;padding:12px;border-radius:15px;margin-bottom:18px}.label-template-select>span:nth-child(2){flex:1;min-width:0}.label-template-select strong,.label-template-select small{display:block;line-height:1.5}.label-template-select strong{font-size:11px;font-weight:600}.label-template-select small{font-size:9px;color:var(--muted);margin-top:2px}.label-template-select>.label-icon{width:13px}.label-template-icon{background:#c4dce64d;border-radius:10px;padding:8px}.label-template-icon .label-icon{width:17px;height:17px;color:var(--label-accent)}.label-preview-stage{min-height:277px;display:grid;place-items:center;border-radius:19px;padding:20px 12px;background:radial-gradient(ellipse at 20% 20%,#c9e7e979,transparent 70%),linear-gradient(145deg,#bed8e522,#99bdcb21);border:1px solid #ffffff80;overflow:auto}.label-paper{width:min(var(--label-paper-width,58mm),100%);padding:12px;background:#fff;box-shadow:0 12px 26px #244a6524,0 1px 3px #25445d12;border-radius:2px;color:#111;overflow-wrap:anywhere;font-family:Arial,sans-serif;transform:rotate(-1deg);min-height:155px}.label-paper .document-element{line-height:1.25!important}.label-preview-empty{display:grid;justify-items:center;text-align:center;gap:12px;max-width:230px;color:var(--muted)}.label-preview-empty>.label-icon{width:31px;height:35px;opacity:.5}.label-preview-empty strong{font-size:12px;font-weight:550;color:var(--text)}.label-preview-empty>span{font-size:10px;line-height:1.6}.label-empty-lines{width:110px;display:grid;gap:7px;margin:5px auto}.label-empty-lines i{height:4px;background:#b6ccd247;border-radius:4px}.label-empty-lines i:last-child{width:65%}.label-expiry-summary{display:flex;justify-content:space-between;gap:8px;padding:13px 0 0;font-size:10px}.label-expiry-summary>span{color:var(--muted)}.label-expiry-summary strong{font-weight:650;color:var(--label-accent)}.label-build{margin-top:16px;min-height:44px;border-color:#9ebec447!important;font-size:11px!important}.label-output-actions{display:grid;gap:8px;margin-top:12px}.label-output-actions .primary{min-height:48px;background:linear-gradient(140deg,#c9e8e5a6,#a4d4d16b)!important;color:#15535e!important;border-color:#95c7c895!important;font-weight:650}.label-output-actions>.btn:not(.primary){font-size:11px;border-color:transparent;background:transparent!important;min-height:36px}.label-preview-note{font-size:9px;line-height:1.6;color:var(--muted);text-align:center;margin-top:13px}.label-cloud{margin-top:12px;border-top:1px solid #c2d3de4d;padding-top:14px}.label-cloud summary{cursor:pointer;color:var(--muted);font-size:10px;margin-bottom:12px}.label-cloud>.btn{margin-top:10px;font-size:11px}.label-queued{font-size:11px;line-height:1.7;color:var(--label-accent)}.label-keypad{width:min(330px,100%);margin:auto}.label-keypad input{width:100%;font-size:36px;min-height:80px;text-align:center;border:1px solid #aec8d555;border-radius:17px;background:#ffffff4d;color:var(--text);margin:2px 0 15px}.label-key-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.label-key-grid .btn{min-height:62px;font-size:23px;border-radius:15px;background:#ffffff4a;border-color:#ffffffbc}.label-key-grid .is-erase{color:#97624f;background:#e8ccc231}.label-key-error{color:#a04f38;min-height:20px;font-size:11px;line-height:1.5;margin-top:10px}.label-employee-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.label-employee-grid .btn{text-align:left;justify-content:flex-start;min-height:65px;padding:14px;gap:11px;line-height:1.5;font-size:12px;background:#ffffff38;border-color:#ffffff99}.label-employee-grid .label-icon{width:17px}.label-employee-grid .btn>span{flex:1}.label-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0}.label-template-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:17px;gap:7px;background:#ffffff32;border:1px solid #ffffffa6;border-radius:18px;min-height:190px}.label-template-option strong{font-size:12px}.label-template-option>span,.label-template-option>small{color:var(--muted);font-size:10px}.label-template-mini{width:68px;height:67px;background:#fff;border-radius:2px;box-shadow:0 3px 9px #25465a12;padding:12px 8px;display:grid;gap:6px;margin-bottom:10px}.label-template-mini i{height:3px;background:#b4bfc9;border-radius:3px}.label-template-mini i:first-child{width:70%;height:5px;background:#536676}.label-template-mini i:last-child{width:75%}html[data-social-theme="dark"] .kds-labels{--label-accent:#a2dcd7;--label-border:#7cc6c863}html[data-social-theme="dark"] .label-section,html[data-social-theme="dark"] .label-preview-panel{background:linear-gradient(140deg,#547a901f,#233c4b18);border-color:#c1dfed22;box-shadow:inset 0 1px 0 #c6deeb20,0 12px 30px #020c1614}html[data-social-theme="dark"] .label-field input,html[data-social-theme="dark"] .label-field select,html[data-social-theme="dark"] .label-value,html[data-social-theme="dark"] .label-product,html[data-social-theme="dark"] .label-template-select,html[data-social-theme="dark"] .label-storage-options .btn,html[data-social-theme="dark"] .label-search{background:#b9d8e910!important;border-color:#d7e9ff20}html[data-social-theme="dark"] .kds-labels .is-active{background:linear-gradient(140deg,#67aaad27,#69b3b518)!important;box-shadow:inset 0 1px 0 #fff3}html[data-social-theme="dark"] .label-keypad input,html[data-social-theme="dark"] .label-key-grid .btn,html[data-social-theme="dark"] .label-employee-grid .btn,html[data-social-theme="dark"] .label-template-option{background:#ffffff12;color:var(--text);border-color:#ffffff24}html[data-social-theme="dark"] .label-output-actions .primary{color:#c9ffef!important;background:#6dacaa31!important}@media(min-width:1600px){.label-products{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.label-workspace{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:15px}.label-section,.label-preview-panel{padding:19px}.label-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.label-workspace{grid-template-columns:1fr}.label-preview-column{position:static}.label-page-head{align-items:flex-start}.label-page-head .label-settings{padding:10px;font-size:0;min-width:42px}.label-page-head .label-settings .label-icon{width:20px}.label-page-head p{font-size:12px;max-width:380px}.label-products{grid-template-columns:repeat(3,minmax(0,1fr));max-height:260px}.label-preview-stage{min-height:250px}.label-preview-panel{max-width:600px}.label-preview-column{padding-bottom:20px}}@media(max-width:430px){.label-section,.label-preview-panel{padding:17px;border-radius:21px}.label-products{grid-template-columns:repeat(2,minmax(0,1fr))}.label-fields-grid{grid-template-columns:1fr;gap:16px}.label-storage-options{gap:6px}.label-storage-options .btn{font-size:9px}.label-template-grid{grid-template-columns:1fr 1fr;gap:8px}.label-template-option{padding:12px}.label-employee-grid{grid-template-columns:1fr}.label-page-head h1{font-size:33px}.label-mode-switch .btn{min-height:46px}}

/* Keep the shared glass input wrapper fluid, and allow complete product names. */
.kds-labels .label-search>.gc-input,.label-search>.gc-input{flex:1 1 0!important;min-width:0!important;width:100%!important;max-width:none!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.label-search>.gc-input>.sg-pane{display:none!important}
.kds-labels .label-search>.gc-input>input,.label-search>.gc-input>input{display:block;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;background:transparent!important;border:0!important;box-shadow:none!important;padding:13px 0!important}
.kds-labels .label-products .label-product{height:auto!important;white-space:normal!important;align-items:flex-start;min-width:0;font-size:12px!important;line-height:1.45!important}
.kds-labels .label-products .label-product>span{flex:1 1 auto;min-width:0;max-width:100%;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.45!important}
.kds-labels .label-products .label-product>.label-icon{margin-top:2px}
