@import url("/dashboard.css");
@import url("/payroll.css");
@import url("/inspection.css");
/* Daily workbench */
:root{--gold:#b18a4b;--soft-blue:#eaf0f6;--soft-gold:#f3ecdf}.ui-icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b18a4b;outline-offset:3px}button{min-height:40px;display:inline-flex;gap:7px;justify-content:center;align-items:center;transition:background .18s,transform .18s,box-shadow .18s}button:active{transform:translateY(1px)}.workspace{max-width:1650px;width:100%;margin:auto;padding-bottom:50px}header{align-items:center;min-height:105px;gap:20px}header .actions{justify-content:flex-end}header p{line-height:1.8}.sidebar{padding:25px 14px}.brand{gap:12px}.brand img{width:48px;height:48px}.brand b{font-size:18px}.side-nav button{display:flex;justify-content:flex-start;gap:11px;min-height:45px;line-height:1.5;position:relative}.side-nav button.active{background:#ddc9a51c;color:#f4e5c8}.side-nav button.active:before{content:'';position:absolute;right:0;width:3px;height:24px;border-radius:4px;background:var(--beige)}.side-nav .ui-icon{width:19px;height:19px;opacity:.8}.secondary-nav{margin-top:20px;border-top:1px solid #ffffff1c;padding-top:14px}.secondary-nav summary{cursor:pointer;color:#c4cedc;padding:10px;font-size:12px;list-style:none;display:flex;align-items:center;gap:9px}.secondary-nav button{font-size:12px}.secondary-nav .repeat-primary{display:none}.bottom-nav{display:none}.integrated-totals{margin-top:18px;border-right:3px solid var(--beige)}.card{box-shadow:0 4px 20px #14233e03}.card h3{line-height:1.7}.helper-text{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);line-height:1.9;margin:12px 0}.helper-text .ui-icon{width:16px}.empty-card{padding:35px 18px;text-align:center;grid-column:1/-1;color:var(--muted);border:1px dashed #ccd4dc;border-radius:12px;background:#fafbf9}.empty-card>.ui-icon{width:32px;height:32px;margin-bottom:10px}.empty-card h3{color:var(--ink);font-size:15px}.empty-card p{margin-top:8px;line-height:1.9}.form-intro{display:flex;align-items:center;gap:12px;background:var(--soft-blue);border-radius:10px;padding:13px;margin-bottom:12px}.form-intro p{font-size:12px;line-height:1.9}.form-intro .ui-icon{width:28px;height:28px;color:#365978}.inline-settings{border:1px solid var(--line);border-radius:10px;margin:15px 0;padding:12px}.inline-settings summary{cursor:pointer;color:#596779;font-size:12px;padding:4px}.inline-settings[open] summary{margin-bottom:12px}.inline-settings form{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.inline-settings form label{flex:1}.inline-settings form button{margin-bottom:9px}.success-note{padding:12px;border:1px solid #afcdbd;background:#edf6ef;color:#307159;border-radius:10px;font-size:12px}.work-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:16px}.work-tabs button{background:transparent;font-size:12px;min-height:38px}.work-tabs .active{background:var(--navy);color:white}.task-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.job-card{padding:13px;transition:box-shadow .2s,transform .2s}.job-card:hover{box-shadow:0 8px 24px #14233e0d;transform:translateY(-2px)}.job-card>.model-preview{margin-bottom:13px}.job-card .head{margin-bottom:6px;gap:5px}.job-card .head small{font-size:10px}.job-card .job-code{font-size:10px;overflow-wrap:anywhere;text-align:right}.job-card .actions button{font-size:11px}.kanban{grid-template-columns:repeat(3,minmax(230px,1fr))}.kanban-column{background:#edf0ed70}.kanban-column .card{padding:11px}.kanban-column .model-preview{height:130px}.kanban-column .job-card:hover{transform:none}.kanban-column>.stack{gap:12px}.onboarding{border-right:4px solid var(--gold)}
/* Role home and vectors */
.desk-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 30px;background:linear-gradient(115deg,#152640,#274866);border-radius:18px;color:white;overflow:hidden}.desk-hero h2{font-size:25px;margin:7px 0}.desk-hero p{color:#d5deea;font-size:13px;line-height:2;max-width:560px}.desk-hero .eyebrow{font-size:11px;color:#dfcda9}.desk-hero .actions{margin-top:15px}.desk-hero .primary{background:#ffffff12;color:#fff;border:1px solid #ffffff30}.hero-jewel{width:230px;max-width:30%;flex-shrink:0}.jewel-art{width:100%;height:100%;display:block}.jewel-shine{animation:jewel-shine 5s ease-in-out infinite}@keyframes jewel-shine{0%,100%{opacity:.3}50%{opacity:.85}}.quick-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.quick-links button{background:#fff;border:1px solid var(--line);font-size:12px}.desk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 22px}.desk-stat{display:flex;justify-content:flex-start;gap:12px;text-align:right;background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px}.desk-stat:hover{box-shadow:0 5px 17px #14233e0a}.desk-stat small{display:block;font-size:10px}.desk-stat b{font-size:27px;font-weight:700;display:block;line-height:1.6}.stat-icon{display:flex;align-items:center;justify-content:center;background:var(--soft-gold);color:#987239;width:42px;height:42px;border-radius:12px}.desk-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px}.next-task{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0}.next-task>.model-preview{width:78px;height:80px;flex-shrink:0}.next-task>.model-preview .preview-caption{display:none}.next-task>div:nth-child(2){flex:1;min-width:0}.next-task h3{font-size:12px;margin-top:5px}.next-task small{font-size:9px}.next-task .chip{font-size:9px}.next-task>button{font-size:11px}.station-bars{display:grid;gap:7px}.station-bars button{background:transparent;width:100%;justify-content:space-between;gap:8px;font-size:11px;padding:8px 0;min-height:36px}.station-bars button:hover{background:#f4f6f6}.station-bars button span{width:105px;text-align:right;flex-shrink:0}.station-bars i{background:#edf0f1;height:6px;flex:1;border-radius:6px;position:relative;overflow:hidden}.station-bars i:before{content:'';position:absolute;right:0;top:0;height:100%;width:var(--fill);background:var(--beige);border-radius:6px}.station-bars b{font-size:12px;width:20px}.station-bars button:nth-child(2n) i:before{background:#6f8eab}
/* Models and upload */
.image-placeholder{display:grid;place-items:center;height:100%;color:#8ca0b1}.image-placeholder .ui-icon{width:42px;height:42px}
.model-preview{height:170px;background:linear-gradient(140deg,#f8f5ee,#edf2f5);border:1px solid #e9e9e2;border-radius:11px;overflow:hidden;position:relative}.model-preview img{width:100%;height:100%;object-fit:contain;background:white}.model-preview .jewel-art{height:100%;max-width:260px;margin:auto}.preview-caption{position:absolute;left:7px;bottom:5px;font-size:9px;color:#778394;background:#ffffffb3;border-radius:4px;padding:2px 4px}.attachment-gallery{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.attachment-gallery figure{margin:0;max-width:200px}.attachment-gallery img{width:160px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}.attachment-gallery .attachment{display:flex;gap:5px;align-items:center;margin:5px 0;overflow-wrap:anywhere;font-size:10px}.attachment-gallery .ui-icon{width:15px;height:15px}.upload-field{background:#f8fafb;border:1px dashed #aebecf;border-radius:11px;padding:13px;color:#3b5876}.upload-field>small{display:block;font-size:10px;line-height:1.9;margin-top:7px}.upload-field input{background:white}.upload-previews{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.upload-previews figure{margin:0;max-width:120px;flex:1;min-width:80px}.upload-previews img{height:85px;width:100%;object-fit:contain;border:1px solid var(--line);border-radius:7px;background:white}.upload-previews figcaption{font-size:9px;overflow-wrap:anywhere;text-align:center;margin-top:3px}
/* Persian calendar */
.date-field>span{display:flex;gap:5px;align-items:center}.date-field>span input{min-width:0;margin:5px 0 0;flex:1}.date-field>span button{margin-top:5px;width:42px;background:var(--soft-gold)}.calendar-popover{position:fixed;z-index:110;width:304px;padding:12px;border:1px solid #d2b78a;background:white;border-radius:13px;box-shadow:0 10px 45px #14233e26}.calendar-head{display:flex;gap:4px;align-items:center;margin-bottom:10px}.calendar-head select{min-width:0;padding:7px 4px;font-size:11px;flex:1}.calendar-head button{min-width:28px;padding:4px;min-height:32px;font-size:21px}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.calendar-days small{font-size:10px;padding:3px;color:var(--muted)}.calendar-days button{min-height:32px;padding:4px;font-size:12px;background:white}.calendar-days button:hover{background:var(--navy);color:white}.calendar-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.calendar-foot button{font-size:10px;min-height:29px;padding:5px}
/* Pallets */
.pallet-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.pallet-card h3{font-size:18px}.pallet-card .head{margin-bottom:9px}.pallet-card .actions{justify-content:space-between}.mini-pallet{display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:4px;direction:ltr;margin:17px 0}.mini-pallet i{height:14px;border:1px solid #e2e5e7;border-radius:3px;background:#f5f5f2}.mini-pallet .occupied{background:#c5d4df;border-color:#9db3c5}.mini-pallet .removed{background:#e7c9bd;border-color:#c49a87}.pallet-dialog{width:min(1200px,97vw)}.pallet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:15px}.pallet-toolbar p{font-size:12px;color:var(--muted)}.pallet-toolbar button{font-size:11px}.pallet-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(145px,1fr));gap:10px;direction:ltr;overflow:auto;margin-top:16px;padding-bottom:8px}.pallet-tile{direction:rtl;border:1px solid #dce3e8;background:white;border-radius:10px;padding:9px;position:relative;min-width:0;break-inside:avoid}.pallet-tile:has(input:checked){outline:2px solid var(--gold);background:#fcf7ee}.pallet-tile .tile-address{position:absolute;left:9px;top:7px;color:var(--navy);font-size:12px;font-weight:700;z-index:1;padding:2px 6px;border-radius:4px;background:#ffffffd9}.pallet-tile .model-preview{height:112px}.pallet-tile h3{font-size:11px;margin:6px 0;line-height:1.7}.pallet-tile .tile-code{font-size:8px;display:block;overflow-wrap:anywhere;color:#7b8794}.pallet-tile .tile-actions{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:9px;flex-wrap:wrap}.pallet-tile .tile-actions button{font-size:10px;min-height:31px;padding:5px 9px}.tile-select{display:flex;gap:4px;align-items:center;margin:0;font-size:9px;color:#80602a}.tile-select input{margin:0;min-width:17px;min-height:17px}.empty-tile{display:flex;align-items:center;justify-content:center;min-height:160px;background:#f9f9f6;border-style:dashed}.empty-label{font-size:11px;color:#a2a9ae}.pallet-tile.removed{border-color:#cb9a85;background:#fff6f2}.pallet-tile.removed .model-preview{opacity:.55}.returned-label{display:block;padding:5px;border-radius:5px;background:#f8e8e1;color:#9f5a3b;font-size:9px;margin-top:7px}.reject-summary{position:sticky;bottom:0;background:#fffaf1;border:1px solid #e4d4b3;border-radius:10px;padding:15px;margin-top:17px;box-shadow:0 -4px 18px #14233e08}.reject-summary label{font-size:11px}.reject-summary textarea{max-height:70px}.review-form{background:#f4f7f8;padding:15px;border-radius:11px;margin-top:16px}.pack-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pack-option{border:1px solid var(--line);padding:10px;border-radius:10px;cursor:pointer;position:relative}.pack-option:has(input:checked){outline:2px solid var(--gold);background:#fcf6e8}.pack-option>input{position:absolute;top:15px;right:15px;z-index:1;width:21px;height:21px}.pack-option .model-preview{height:115px}.pack-option b{display:block;font-size:11px;line-height:1.8;margin:7px 0}.pack-option small{font-size:8px;overflow-wrap:anywhere}
/* Print preview: the page geometry also defines actual paper output. */
#print-area{background:#e8e9e7;min-height:100vh;padding-bottom:30px}.print-controls{background:white;position:sticky;top:0;z-index:5;padding:15px 22px;box-shadow:0 3px 10px #14233e16;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}.print-controls h1{font-size:18px}.print-controls p{font-size:11px;color:var(--muted);margin-top:6px}.print-controls details{width:100%;font-size:12px}.print-controls summary{cursor:pointer;padding:7px}.print-controls form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.print-controls label{width:130px;margin:6px 0}.print-controls button{font-size:12px}.print-sheets{padding:20px;overflow:auto;direction:ltr}.print-page{direction:rtl;background:#fff;width:210mm;height:297mm;padding:var(--sheet-top) var(--sheet-left);margin:0 auto 20px;box-shadow:0 2px 15px #0002;overflow:hidden;box-sizing:border-box}.paper-heading{height:12mm;min-height:0;margin:0 0 3mm;padding:0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #c3bba7;gap:5mm}.paper-heading b{display:block;font-size:11px}.paper-heading small{display:block;font-size:8px;color:#4f5861;line-height:1.7}.paper-grid{display:grid;grid-template-columns:repeat(var(--print-cols),minmax(0,1fr));gap:2mm;direction:ltr}.print-page .pallet-tile{border-radius:0;height:50mm;min-height:0;padding:1mm;border:1px dashed #b8b7af;display:flex;flex-direction:column;gap:.4mm;overflow:hidden}.print-page .pallet-tile .tile-address{top:1mm;left:1mm;font-size:2.6mm;padding:.5mm 1mm}.print-page .model-preview{height:18mm;min-height:18mm;border:0;border-radius:0;background:white;margin:0}.print-page .preview-caption{font-size:1.5mm;bottom:0}.print-page .pallet-tile h3{font-size:2mm;line-height:1.3;margin:0;max-height:5.2mm;overflow:hidden}.print-page .tile-code{font-size:1.65mm;line-height:1.2;min-height:2.4mm;white-space:nowrap;text-align:center}.print-tag{display:flex;direction:ltr;gap:1mm;align-items:center;margin-top:auto;min-height:20mm}.print-tag .qr{width:20mm;height:20mm;min-width:20mm;background:#fff}.print-tag .qr svg{width:100%;height:100%;display:block}.print-tag>div:last-child{min-width:0;text-align:center;flex:1;direction:rtl}.print-tag b{font-size:2.2mm;line-height:1.4;display:block}.print-tag small{font-size:1.7mm;line-height:1.3;display:block;max-height:7mm;overflow:hidden}.print-page .empty-label{font-size:2mm}.print-page .returned-label{position:absolute;top:14mm;right:1mm;left:1mm;background:#fff1e5f0;font-size:1.8mm;padding:.5mm;margin:0;max-height:8mm;overflow:hidden}.labels .paper-grid{grid-template-columns:repeat(var(--print-cols),var(--label-width));gap:var(--label-gap)}.labels .pallet-tile{height:var(--label-height);border:1px dashed #ddd}.labels .empty-tile{border-color:transparent}.labels .empty-label{display:none}
@media(max-width:1100px){.desk-stats{gap:8px}.desk-stat{padding:12px;gap:8px}.stat-icon{width:33px;height:33px}.desk-stat b{font-size:23px}.task-cards,.pallet-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-columns{grid-template-columns:1fr}.hero-jewel{width:190px}}
@media(max-width:740px){.sidebar{padding:11px 14px;position:static;height:auto}.brand{padding:0 0 10px;justify-content:flex-start}.brand img{width:37px;height:37px}.brand b{font-size:16px}.brand small{font-size:9px}.core-switch{margin:10px 0 0}.side-nav{display:block;overflow:visible}.side-nav .primary-links{display:none}.secondary-nav{margin:7px 0 0;padding:0;border:0}.secondary-nav summary{font-size:11px;padding:8px 3px}.secondary-nav[open]{padding-bottom:8px}.secondary-nav button{display:flex;width:100%;margin:0;white-space:normal}.secondary-nav .repeat-primary{display:flex}.session{display:none}.workspace{padding:0 13px 95px}header{min-height:0;display:block;padding:15px 0 17px;margin-bottom:17px}header h1{font-size:20px}header .actions{justify-content:flex-start;margin-top:10px;gap:5px}header .actions button,header .actions a{font-size:11px;min-height:35px;padding:7px 9px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffefb;border-top:1px solid #e4ddcf;padding:6px 10px max(7px,env(safe-area-inset-bottom));box-shadow:0 -5px 22px #14233e0b;overflow:visible}.bottom-nav button{display:flex;flex-direction:column;justify-content:center;gap:3px;width:auto;color:#7e8794;background:transparent;margin:0;padding:5px 3px;min-height:53px;font-size:9px;line-height:1.5;border-radius:9px}.bottom-nav button span{max-width:100%;text-align:center}.bottom-nav button.active{background:#f2eadb;color:var(--navy)}.bottom-nav .ui-icon{width:21px;height:21px}.desk-hero{padding:20px;gap:4px;border-radius:14px}.desk-hero h2{font-size:21px}.desk-hero p{font-size:12px}.desk-hero .actions{gap:7px}.desk-hero .actions button{font-size:11px;padding:8px 10px;min-height:38px}.hero-jewel{max-width:25%;width:160px;align-self:flex-start}.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.desk-stat{padding:12px}.desk-stat small{font-size:10px}.desk-stat b{font-size:25px}.quick-links{gap:6px}.quick-links button{font-size:11px;padding:7px 10px}.next-task{gap:8px}.next-task>.model-preview{width:58px;height:65px}.next-task h3{font-size:11px}.next-task>button{padding:7px 9px;font-size:10px}.task-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.job-card .model-preview{height:128px}.job-card h3{font-size:12px}.job-card .actions{gap:4px}.job-card .actions button{padding:7px;min-height:34px;font-size:10px}.pallet-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pallet-card{padding:13px}.pallet-card h3{font-size:15px}.pallet-card .actions button{font-size:10px;padding:7px}.pallet-card .head{gap:4px}.pallet-card .chip{font-size:9px}.pallet-grid{grid-template-columns:repeat(var(--cols),150px);gap:8px}.pallet-dialog .dialog-body{padding:13px}.pack-options{grid-template-columns:repeat(2,minmax(0,1fr))}.reject-summary{position:static}.print-controls{padding:12px}.print-controls h1{font-size:16px}.training-banner{font-size:12px;padding:10px 13px}.training-banner p{font-size:10px}.login{margin:25px 12px;padding:22px}.calendar-popover{width:304px}.integrated-totals{font-size:11px}.work-tabs button{font-size:11px;padding:7px 9px}.upload-previews figure{max-width:100px}#toast{bottom:83px;left:12px;max-width:90vw;font-size:12px}}
@media(max-width:400px){.pallet-cards,.task-cards{grid-template-columns:1fr}.hero-jewel{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@page{size:A4 portrait;margin:0}
.person-avatar{width:42px;height:42px;min-width:42px;border-radius:50%;display:inline-grid;place-items:center;background:linear-gradient(135deg,#ead8b7,#d4e1ec);color:#233a55;font-size:13px;font-weight:700;border:2px solid #fff;overflow:hidden;vertical-align:middle}.person-avatar img{width:100%;height:100%;object-fit:cover}.profile-button{padding:3px 8px 3px 3px;border:1px solid #e2dbc9;background:#fffdf8;font-size:11px}.profile-button .person-avatar{width:34px;height:34px;min-width:34px}.profile-preview{display:flex;gap:15px;align-items:center;margin-bottom:16px;padding:16px;background:#f6f1e6;border-radius:12px}.profile-preview .person-avatar{width:76px;height:76px;min-width:76px;font-size:22px}.profile-preview p{margin-top:6px;font-size:12px}.session .person-avatar{display:block;margin:0 0 10px}.chat-fab{position:fixed;left:20px;bottom:20px;z-index:45;background:var(--navy);color:#fff;box-shadow:0 6px 22px #14233e35;border:1px solid #ddc9a5;padding:12px 17px;border-radius:30px;min-height:46px}.section-social{margin:24px 0;padding:16px;border:1px dashed #d7c9ad;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fffdf7}.section-social p{font-size:12px;color:#7e735d}.section-social button{background:#efe3ca;font-size:12px}.reward-policy{margin-bottom:20px}.reward-policy form{max-width:720px}.reward-policy textarea{min-height:70px}.voice-composer{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f4f0e8;border:1px solid #e4d9c7;border-radius:10px;padding:10px;margin:12px 0}.voice-start{background:#e9ddc6;color:var(--navy);font-size:12px}.voice-status{font-size:11px;color:#7c735f;flex:1;min-width:120px}.voice-preview{display:flex;align-items:center;gap:8px;max-width:100%;width:100%}.voice-preview:empty{display:none}.voice-preview audio{max-width:100%;height:36px}.voice-preview button{font-size:10px;min-height:32px}.attachment-gallery audio{max-width:100%;width:290px;height:40px}.chat-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:16px;align-items:start}.chat-connections{padding:15px;position:sticky;top:15px}.chat-connections details form{display:block}.chat-connections details label{width:100%}.chat-connections .helper-text{font-size:11px}.chat-connections>small{font-size:10px;line-height:1.8;display:block;color:#8a7e65}.chat-card{padding:18px;min-width:0}.chat-log{height:48vh;min-height:280px;overflow:auto;overscroll-behavior:contain;padding:13px;background:linear-gradient(145deg,#f5f3ed,#edf2f4);border-radius:12px;scrollbar-width:thin}.chat-message{display:flex;gap:9px;align-items:flex-start;margin-bottom:16px;direction:rtl}.chat-message.mine{direction:ltr}.chat-message .person-avatar{width:33px;height:33px;min-width:33px;font-size:10px}.chat-bubble{background:white;border:1px solid #e6e5de;border-radius:14px 3px 14px 14px;max-width:85%;padding:11px 13px;direction:rtl;overflow-wrap:anywhere;box-shadow:0 2px 8px #15263d04}.chat-message.mine .chat-bubble{background:#efe5d1;border-color:#e5d4b3;border-radius:3px 14px 14px 14px}.chat-bubble>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-bubble b{font-size:11px}.chat-bubble small{font-size:9px;color:#89909a}.chat-bubble p{font-size:13px;white-space:pre-wrap;line-height:1.9;margin-top:5px;color:#253951}.chat-bubble audio{display:block;height:38px;max-width:100%;width:260px;margin-top:8px}.chat-photo{max-width:220px;max-height:220px;object-fit:contain;display:block;margin-top:8px;border-radius:8px}.chat-empty{text-align:center;padding:55px 18px;color:#7a8793}.chat-empty .ui-icon{width:45px;height:45px;color:#ad956e;margin-bottom:12px}.chat-empty h3{font-size:14px}.chat-empty p{font-size:12px;line-height:1.9;margin-top:8px}.chat-form{margin-top:12px}.chat-form textarea{background:white;min-height:66px}.chat-file-label{font-size:11px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.chat-file-label input{font-size:10px;border:0;background:transparent}.chat-send{min-width:130px;min-height:43px}.chat-error{font-size:12px;color:var(--red);line-height:1.8}.chat-error:empty{display:none}.chat-older{font-size:10px;display:block;margin:5px auto 9px}.chat-older[hidden]{display:none}
@media(max-width:740px){.chat-layout{grid-template-columns:1fr;gap:10px}.chat-connections{position:static;padding:11px}.chat-connections .inline-settings{margin:9px 0}.chat-connections .helper-text{margin:6px 0}.chat-card{padding:11px}.chat-log{height:45vh;min-height:250px;padding:10px}.chat-bubble{max-width:85%;padding:10px}.chat-bubble p{font-size:12px}.chat-message .person-avatar{width:29px;height:29px;min-width:29px}.chat-bubble audio{width:205px}.chat-photo{max-width:175px}.chat-fab{bottom:82px;left:12px;padding:9px 12px;font-size:10px;min-height:40px}.chat-fab .ui-icon{width:17px;height:17px}.section-social{display:block;padding:12px}.section-social button{margin-top:10px;min-height:42px}.voice-composer{padding:9px}.voice-composer button{min-height:42px;font-size:11px}.voice-preview{flex-wrap:wrap}.voice-preview audio{width:100%}.chat-send{width:100%;min-height:44px}.profile-button{font-size:0!important;padding:2px!important;min-height:36px!important}.profile-button .person-avatar{width:30px;height:30px;min-width:30px}.profile-button span:not(.person-avatar){font-size:10px}.profile-button>span:last-child{display:none}.reward-policy .head{align-items:flex-start}.reward-policy p{font-size:11px}}
@media print{.chat-fab,.section-social{display:none!important}}
.section-guide{background:linear-gradient(110deg,#f4eddf,#fffdf7);border:1px solid #e7d9bc;border-radius:13px;padding:15px 18px;margin-bottom:20px}.section-guide .head{margin:0 0 8px}.section-guide h3{font-size:13px;display:flex;align-items:center;gap:8px}.section-guide button{min-height:32px;font-size:11px;background:#e8ddca}.section-guide ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;list-style:none;counter-reset:guide}.section-guide li{counter-increment:guide;font-size:12px;line-height:1.9;padding-right:28px;position:relative}.section-guide li:before{content:counter(guide);position:absolute;right:0;top:0;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#14233e;color:white;font-size:10px}.section-guide>small{font-size:10px;color:#8b806c}.stage-guide{background:#edf2f7;border:1px solid #d9e3ed;border-radius:10px;padding:12px 14px;margin-bottom:16px}.stage-guide b{font-size:12px}.stage-guide p{font-size:12px;line-height:1.9;margin-top:6px;display:flex;gap:8px}.stage-guide span{min-width:20px;height:20px;border-radius:50%;background:#fff;text-align:center;color:#657a8c}.ready-group{margin:18px 0 28px}.ready-group>h3{margin-bottom:12px}.mold-label-page{padding:8mm}.mold-sticker{width:60mm;height:45mm;border:1px dashed #aaa;padding:2mm;display:flex;align-items:center;flex-direction:column;gap:.7mm;overflow:hidden}.mold-sticker-head{text-align:center;max-width:100%}.mold-sticker-head>b{font-size:2.8mm;display:block}.mold-sticker small{font-size:2.1mm;line-height:1.3;display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mold-sticker>b{font-size:2.9mm}.mold-sticker-body{display:flex;gap:3mm;direction:ltr;align-items:center}.mold-sticker .qr{width:21mm;height:21mm;flex:none}.mold-sticker .qr svg{display:block;width:100%;height:100%}.mold-sticker .model-preview{width:24mm;height:21mm;min-height:0}.mold-sticker .preview-caption{font-size:1.5mm}
@media(max-width:740px){.section-guide{padding:12px;margin-bottom:15px}.section-guide ol{grid-template-columns:1fr;gap:7px;margin:8px 0}.section-guide li{font-size:11px}.section-guide .head{gap:6px}.section-guide h3{font-size:12px}.stage-guide{padding:11px}.stage-guide p{font-size:11px}.dialog-foot{position:sticky;bottom:0;background:#fff;z-index:2}.dialog-foot .primary{flex:1;min-height:44px}.ready-group>h3{font-size:14px}}
@media print{html,body{margin:0!important;padding:0!important;background:#fff!important;width:210mm}body>*:not(#print-area){display:none!important}#print-area{margin:0!important;padding:0!important;background:white}.screen-only,#toast,.print-controls{display:none!important}.print-sheets{padding:0;overflow:visible}.print-page{margin:0;box-shadow:none;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-page:last-child{break-after:auto;page-break-after:auto}.pallet-tile{break-inside:avoid;page-break-inside:avoid}.jewel-shine{animation:none!important}}

.desk-back-row{margin-block:0 .75rem}
.desk-back{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.dialog-head .desk-back{flex:none}
.password-field{position:relative}
.password-field label{display:block}
.password-field input{display:block;width:100%;padding-right:3.25rem}
.password-field button{position:absolute;right:.2rem;bottom:.15rem;display:grid;place-items:center;min-width:44px;min-height:44px;padding:.35rem;background:transparent;border-color:transparent;color:inherit}
.password-field button:not([aria-pressed="true"]) .eye-slash{display:none}
