:root{--bg:#f4f5f2;--paper:#fff;--ink:#243431;--muted:#7c8881;--line:#e3e8e1;--green:#245d47;--lime:#d6f28b;--sidebar:#182b2b;--radius:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid var(--ui-line-accent-95bd56,#95bd56);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--ui-line-accent-8cb98a,#8cb98a);outline-offset:1px}a{color:var(--accent-text);text-decoration:none}a:hover{text-decoration:underline}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:620;letter-spacing:-1.1px}h2{font-size:18px;letter-spacing:-.4px;font-weight:620}h3{font-size:15px;font-weight:620}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.9px;text-transform:uppercase;color:var(--muted)}.mono{font-family:Consolas,monospace}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:flex;flex-direction:column;gap:20px}.hidden{display:none!important}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:10px 17px;border-radius:9px;background:var(--ui-surface-ffffff,#fff);color:var(--ink);font-weight:600;border:1px solid var(--line);white-space:nowrap;transition:background .15s}.btn:hover{background:var(--ui-surface-accent-edf2ea,#edf2ea)}.btn.primary{background:var(--green);border-color:var(--green);color:var(--ui-text-ffffff,#fff)}.btn.primary:hover{background:var(--ui-surface-accent-1c4938,#1c4938)}.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--ui-text-accent-223c29,#223c29)}.btn.small{min-height:33px;padding:6px 11px;font-size:12px}.btn.ghost{background:transparent;border-color:transparent}.icon-btn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border-radius:9px;color:var(--muted)}.icon-btn:hover{background:var(--ui-surface-accent-ebefe9,#ebefe9);color:var(--ink)}.brand-icon{width:38px;height:38px}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);color:var(--ui-text-fixed-accent-dbe3dd,#dbe3dd);position:fixed;inset:0 auto 0 0;width:218px;display:flex;flex-direction:column;padding:29px 16px 17px;z-index:5}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 33px}.brand strong{font-size:20px;font-weight:650;letter-spacing:2px}.brand small{font-size:8px;color:var(--ui-text-accent-8caaa1,#8caaa1);letter-spacing:1.7px;display:block;margin-top:4px}.workspace-label{margin:1px 13px 16px;font-size:9px;letter-spacing:1.8px;color:var(--ui-text-79918a,#79918a);font-weight:600}.nav{display:flex;flex-direction:column;gap:7px}.nav-btn{display:flex;align-items:center;gap:12px;position:relative;width:100%;min-height:48px;padding:13px;border-radius:10px;background:transparent;color:var(--ui-text-accent-a8bbb3,#a8bbb3);text-align:left;font-size:13px;font-weight:500}.nav-btn:hover{background:var(--ui-surface-accent-223a37,#223a37);color:var(--on-accent)}.nav-btn.active{background:var(--lime);color:var(--ui-text-accent-203b2e,#203b2e)}.nav-count{margin-left:auto;font-size:10px;border-radius:5px;background:var(--ui-surface-accent-345146,#345146);padding:2px 5px;color:var(--ui-text-ffffff,white)}.nav-btn.active .nav-count{background:var(--ui-surface-accent-c0de75,#c0de75);color:var(--ui-text-accent-24432d,#24432d)}.sidebar-bottom{margin-top:auto}.plant-note{margin:25px 8px;padding:17px 12px;border:1px solid var(--ui-line-fixed-accent-334a43,#334a43);border-radius:10px;background:linear-gradient(145deg,var(--ui-surface-fixed-accent-223b34,#223b34),var(--ui-surface-fixed-accent-1b302d,#1b302d))}.plant-note span{display:block;font-size:11px;color:var(--ui-text-fixed-accent-90a99c,#90a99c);line-height:1.6;margin-top:9px}.sidebar-account{border-top:1px solid var(--ui-line-fixed-accent-30463e,#30463e);padding:18px 3px 0;display:flex;align-items:center;gap:9px}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:36px;height:36px;background:var(--ui-surface-accent-e8eedf,#e8eedf);color:var(--ui-text-accent-44613e,#44613e);font-size:12px;font-weight:650;flex-shrink:0}.sidebar-account .avatar{background:var(--ui-surface-fixed-accent-354b41,#354b41);color:var(--ui-text-fixed-accent-e4ebdf,#e4ebdf)}.account-name{font-size:11px;max-width:111px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-role{font-size:10px;color:var(--ui-text-accent-92a89b,#92a89b);margin-top:3px}.sidebar-account .icon-btn{width:26px;color:var(--ui-text-fixed-accent-9eb1a4,#9eb1a4)}.workspace{grid-column:2;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 35px;background:var(--ui-surface-accent-fbfcfa,#fbfcfa)}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:13px}.breadcrumb strong{font-weight:500;color:var(--ui-text-accent-46594e,#46594e)}.top-meta{display:flex;gap:20px;align-items:center;font-size:11px;color:var(--muted)}.tiny-dot{display:inline-block;width:6px;height:6px;background:var(--ui-surface-accent-64a574,#64a574);border-radius:50%}.sync-label{display:flex;gap:7px;align-items:center}.sync-label.offline{color:var(--ui-text-b75b45,#b75b45)}.sync-label.offline .tiny-dot{background:var(--ui-surface-c96040,#c96040)}.content{padding:31px 35px 36px;max-width:1650px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}.page-head p{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.6}.date-label{background:var(--ui-surface-accent-e8ece5,#e8ece5);padding:8px 11px;border-radius:6px;font-size:11px;color:var(--ui-text-778071,#778071)}
.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:29px}.stat{border:1px solid var(--line);background:var(--ui-surface-ffffff,white);border-radius:12px;padding:17px 18px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-top svg{width:17px;height:17px;color:var(--ui-text-819180,#819180)}.stat-number{font-size:29px;font-weight:550;letter-spacing:-1px;line-height:1;margin-top:17px}.stat-foot{font-size:10px;color:var(--ui-text-8b9388,#8b9388);margin-top:9px}.stat:nth-child(2){background:var(--ui-surface-accent-edf3e6,#edf3e6);border-color:var(--ui-line-accent-dce8d3,#dce8d3)}.stat:nth-child(2) .stat-number{color:var(--ui-text-accent-46623e,#46623e)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading .muted{font-size:11px}.tabs{display:flex;gap:5px;align-items:center}.tab{background:transparent;color:var(--ui-text-879086,#879086);font-size:11px;font-weight:550;border-radius:7px;padding:8px 11px;white-space:nowrap}.tab.active{background:var(--ui-surface-accent-e5eade,#e5eade);color:var(--ui-text-accent-42573c,#42573c)}.production-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:23px;align-items:start}.machine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:15px}.machine-card{background:var(--ui-surface-ffffff,white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,border-color .2s;position:relative}.machine-card:hover{border-color:var(--ui-line-accent-9dad97,#9dad97);box-shadow:0 8px 22px var(--ui-shadow-accent-2b403109,#2b403109)}.machine-top{display:flex;align-items:center;justify-content:space-between;padding:19px 21px 0}.equipment-label{font-size:11px;color:var(--ui-text-798477,#798477);letter-spacing:.5px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:550;white-space:nowrap;background:var(--ui-surface-edf0e9,#edf0e9);color:var(--ui-text-73826b,#73826b)}.badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.badge.printing,.badge.in_progress{background:var(--ui-surface-e7efd9,#e7efd9);color:var(--ui-text-557239,#557239)}.badge.idle,.badge.completed,.badge.received{background:var(--ui-surface-edf1e8,#edf1e8);color:var(--ui-text-67825b,#67825b)}.badge.prep,.badge.planned,.badge.new{background:var(--ui-surface-edf1f5,#edf1f5);color:var(--ui-text-668293,#668293)}.badge.maintenance,.badge.cooling,.badge.ordered,.badge.approved{background:var(--ui-surface-fff0de,#fff0de);color:var(--ui-text-b18041,#b18041)}.badge.issue,.badge.failed,.badge.urgent,.badge.cancelled{background:var(--ui-surface-faeae4,#faeae4);color:var(--ui-text-bd6951,#bd6951)}.badge.unpacking,.badge.high{background:var(--ui-surface-f2ebde,#f2ebde);color:var(--ui-text-a2814b,#a2814b)}.machine-art{height:177px;position:relative;background:radial-gradient(ellipse at 50% 65%,var(--ui-surface-accent-e7eae2,#e7eae2) 0,transparent 62%);display:flex;justify-content:center;align-items:center;margin-top:2px}.machine-art::after{content:'';position:absolute;bottom:20px;left:20%;right:20%;height:1px;background:var(--ui-surface-accent-d8ded3,#d8ded3)}.machine-art svg{height:159px;width:256px;position:relative;z-index:1}.machine-info{padding:1px 21px 18px}.machine-info h3{font-size:20px;font-weight:600;letter-spacing:-.5px;margin-bottom:6px}.machine-desc{font-size:11px;color:var(--ui-text-8a9185,#8a9185)}.machine-data{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--ui-line-accent-edf0e9,#edf0e9);margin-top:16px;padding-top:14px}.machine-data small{font-size:10px;color:var(--ui-text-8c9588,#8c9588);display:block;margin-bottom:5px}.machine-data strong{font-size:12px;font-weight:500}.machine-footer{display:flex;justify-content:space-between;align-items:center;background:var(--ui-surface-accent-fafbf8,#fafbf8);border-top:1px solid var(--line);padding:13px 20px;gap:12px}.machine-footer .muted{font-size:10px}.machine-footer .btn{font-size:11px;min-height:32px;padding:7px 12px}.progress-line{height:4px;background:var(--ui-surface-accent-edf0e9,#edf0e9);border-radius:10px;margin-top:15px;overflow:hidden}.progress-line span{display:block;height:100%;background:var(--ui-surface-accent-9fb76c,#9fb76c);border-radius:10px}.machine-progress-label{display:flex;justify-content:space-between;font-size:10px;color:var(--ui-text-accent-859177,#859177);margin-top:8px}
.panel{background:var(--ui-surface-ffffff,#fff);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-pad{padding:21px}.panel .section-heading{margin-bottom:20px}.panel h2{font-size:15px}.handover-panel{background:var(--ui-surface-accent-eef1e8,#eef1e8);border:1px solid var(--ui-line-accent-dde4d4,#dde4d4)}.handover-panel .panel-pad{padding:22px}.note-icon{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px;background:var(--ui-surface-accent-e0e7d5,#e0e7d5);color:var(--ui-text-accent-627a50,#627a50);margin-bottom:18px}.handover-panel h3{font-size:15px;margin-bottom:10px}.handover-panel p{font-size:12px;line-height:1.75;color:var(--ui-text-74816b,#74816b);white-space:pre-wrap;overflow-wrap:anywhere}.note-bottom{padding-top:17px;margin-top:18px;border-top:1px solid var(--ui-line-accent-dbe1d3,#dbe1d3);display:flex;align-items:center;gap:8px;font-size:10px;color:var(--ui-text-879079,#879079)}.activity{padding-top:24px}.timeline{margin-top:19px}.timeline-item{display:flex;gap:12px;padding:0 0 22px;position:relative}.timeline-item:not(:last-child)::before{position:absolute;content:'';left:14px;top:32px;bottom:2px;width:1px;background:var(--line)}.timeline-icon{width:29px;height:29px;border-radius:9px;background:var(--ui-surface-accent-edf1e9,#edf1e9);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ui-text-accent-77946a,#77946a)}.timeline-icon svg{width:14px;height:14px}.timeline-item strong{display:block;font-size:11px;font-weight:550;line-height:1.4}.timeline-item p{font-size:10px;color:var(--ui-text-909889,#909889);line-height:1.5;margin-top:4px}.timeline-item time{font-size:10px;color:var(--ui-text-9ba391,#9ba391);margin-left:auto;white-space:nowrap;padding-top:2px}.job-section{margin-top:27px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{background:var(--ui-surface-accent-fafbf8,#fafbf8);text-align:left;font-size:9px;letter-spacing:.6px;text-transform:uppercase;font-weight:550;color:var(--ui-text-89927e,#89927e);padding:13px 17px;border-bottom:1px solid var(--line)}td{padding:16px 17px;border-bottom:1px solid var(--ui-line-accent-edf0e8,#edf0e8)}tr:last-child td{border-bottom:0}td .sub{display:block;font-size:10px;color:var(--ui-text-97a08e,#97a08e);margin-top:5px}td .link-btn{font-size:11px}.link-btn{padding:0;background:none;color:var(--accent-text);font-weight:550;text-align:left}.link-btn:hover{text-decoration:underline}.table-empty{padding:28px;text-align:center;color:var(--muted)}.footnote{font-size:10px;color:var(--ui-text-949d8c,#949d8c);display:flex;align-items:center;justify-content:space-between;margin-top:26px;gap:15px}.footnote span:first-child{display:flex;gap:7px;align-items:center}.footnote svg{width:13px;height:13px}.empty{padding:50px 24px;text-align:center}.empty svg{width:38px;height:38px;color:var(--ui-text-accent-a0af93,#a0af93);margin-bottom:15px}.empty h3{font-size:17px;margin-bottom:10px}.empty p{font-size:12px;line-height:1.7;color:var(--muted);max-width:360px;margin:0 auto 19px}.empty.compact{padding:26px 15px}.empty.compact h3{font-size:13px}.empty.compact p{font-size:11px;margin-bottom:0}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--ui-surface-ffffff,white);padding:0 12px;border-radius:9px;max-width:300px}.search-box svg{width:15px;height:15px;color:var(--muted)}.search-box input{border:none;padding:10px 0;background:transparent;width:100%;font-size:12px;outline:none}.section-toolbar{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.purchase-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.purchase-card{padding:20px}.purchase-card h3{margin:18px 0 9px;font-size:16px}.purchase-card p{font-size:12px;line-height:1.65;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.purchase-meta{margin:18px 0;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:22px;font-size:11px}.purchase-meta small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.maintenance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.maintenance-folder{padding:25px;background:var(--ui-surface-ffffff,white);border:1px solid var(--line);border-radius:15px;text-align:left;min-height:170px;color:var(--ink)}.maintenance-folder.active{border-color:var(--ui-line-accent-91ab7b,#91ab7b);background:var(--ui-surface-accent-f6f9f0,#f6f9f0)}.folder-icon{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:12px;background:var(--ui-surface-accent-eef1e7,#eef1e7);color:var(--ui-text-accent-779061,#779061);margin-bottom:22px}.folder-icon svg{width:25px;height:25px}.maintenance-folder h3{margin-bottom:8px}.maintenance-folder p{font-size:11px;color:var(--muted)}.callout{padding:16px 18px;border-radius:11px;background:var(--ui-surface-accent-edf2e7,#edf2e7);border:1px solid var(--ui-line-accent-dfe8d6,#dfe8d6);font-size:12px;line-height:1.7;color:var(--ui-text-accent-647658,#647658)}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:23px}.chat-panel{height:calc(100vh - 220px);min-height:440px;display:flex;flex-direction:column}.chat-header{padding:17px 22px;border-bottom:1px solid var(--line)}.chat-header p{font-size:10px;color:var(--muted);margin-top:5px}.messages{flex:1;min-height:0;overflow-y:auto;padding:23px;background-color:var(--ui-surface-accent-f8f9f5,#f8f9f5);background-image:radial-gradient(var(--ui-surface-accent-dce3d7,#dce3d7) .7px,transparent .7px);background-size:19px 19px}.message{display:flex;gap:9px;align-items:flex-end;margin-bottom:17px;max-width:85%}.message.mine{margin-left:auto;flex-direction:row-reverse}.message .avatar{width:29px;height:29px;font-size:10px}.bubble{background:var(--ui-surface-ffffff,white);border:1px solid var(--ui-line-accent-e4e9dd,#e4e9dd);border-radius:12px 12px 12px 3px;padding:11px 14px;max-width:100%;min-width:140px}.mine .bubble{background:var(--ui-surface-accent-e9f0dd,#e9f0dd);border-color:var(--ui-line-accent-dde7cd,#dde7cd);border-radius:12px 12px 3px 12px}.bubble strong{font-size:10px;color:var(--ui-text-accent-688157,#688157);display:block;margin-bottom:6px}.bubble p{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.bubble time{display:block;font-size:9px;color:var(--ui-text-accent-9ba58e,#9ba58e);text-align:right;margin-top:5px}.chat-compose{border-top:1px solid var(--line);padding:14px 18px;background:var(--ui-surface-ffffff,white)}.chat-compose textarea{border:0;background:transparent;resize:none;min-height:38px;max-height:130px;padding:9px;width:100%;outline:none}.chat-compose .row{align-items:flex-end}.chat-help{font-size:9px;color:var(--ui-text-a5ad9c,#a5ad9c);padding:4px 7px 0}.member-list{margin-top:18px}.member{display:flex;align-items:center;gap:10px;margin-top:16px}.member .avatar{width:30px;height:30px;font-size:10px}.member strong{font-size:11px;font-weight:550;display:block}.member small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.attachments{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.attachment{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;background:var(--ui-surface-accent-eef1e9,#eef1e9);max-width:100%;font-size:10px;overflow-wrap:anywhere}.attachment svg{width:13px;height:13px}.photo-thumb{display:block;width:90px;height:75px;object-fit:cover;border-radius:7px}.file-label{cursor:pointer}.file-label input[type=file]{position:absolute;opacity:0;width:1px;height:1px}.file-list{font-size:11px;color:var(--muted);margin-top:8px;display:flex;gap:7px;flex-wrap:wrap}.file-chip{background:var(--ui-surface-accent-edf1e9,#edf1e9);border-radius:5px;padding:5px 8px;display:flex;gap:8px;align-items:center}.file-chip button{background:none;color:var(--ui-text-9a6150,#9a6150);padding:0 2px}.boot{display:flex;align-items:center;justify-content:center;gap:15px;min-height:100vh;color:var(--muted)}
.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-visual{background:var(--sidebar);color:var(--ui-text-fixed-accent-e3eadf,#e3eadf);display:flex;flex-direction:column;padding:50px 60px;position:relative;overflow:hidden}.login-visual .brand{padding:0}.login-visual h1{font-size:51px;line-height:1.16;letter-spacing:-1.8px;font-weight:450;margin:65px 0 18px;max-width:500px}.login-visual h1 em{font-style:normal;color:var(--lime)}.login-visual p{color:var(--ui-text-fixed-accent-9bb0a4,#9bb0a4);line-height:1.8;max-width:380px;font-size:14px}.login-visual .machine-art{height:270px;margin:18px 0;background:radial-gradient(ellipse,var(--ui-surface-fixed-accent-355044,#355044) 0,transparent 65%)}.login-visual .machine-art svg{height:250px;width:360px}.login-visual .machine-art::after{background:var(--ui-surface-fixed-accent-4a6655,#4a6655)}.login-caption{margin-top:auto;font-size:11px;color:var(--ui-text-accent-76927f,#76927f);letter-spacing:.8px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px}.login-form{width:100%;max-width:355px}.login-form .eyebrow{margin-bottom:17px}.login-form h2{font-size:30px;font-weight:550;letter-spacing:-1px}.login-form p{font-size:13px;color:var(--muted);line-height:1.8;margin:12px 0 29px}.login-form .btn{width:100%;margin-top:14px}.login-note{font-size:11px!important;margin-top:23px!important}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field>label{font-size:11px;color:var(--ui-text-65715f,#65715f);font-weight:550}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid var(--ui-line-accent-dce3d7,#dce3d7);border-radius:8px;background:var(--ui-surface-accent-fbfcf9,#fbfcf9);color:var(--ink);min-height:40px;font-size:12px}.field textarea{resize:vertical;min-height:84px;line-height:1.6}.field small{font-size:10px;color:var(--muted);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.span-2{grid-column:1/-1}.form-section{margin-top:25px}.form-section h3{margin-bottom:15px}.form-section>p{font-size:11px;color:var(--muted);margin:-4px 0 17px;line-height:1.6}.error{font-size:12px;color:var(--ui-text-b75843,#b75843);background:var(--ui-surface-fcefe9,#fcefe9);border-radius:8px;padding:12px;line-height:1.6;margin-top:13px}.error:empty{display:none}dialog{padding:0;width:min(860px,calc(100% - 28px));max-height:calc(100dvh - 36px);border:1px solid var(--ui-line-accent-d6ded0,#d6ded0);border-radius:18px;color:var(--ink);box-shadow:0 25px 100px var(--ui-shadow-accent-10251a33,#10251a33);background:var(--ui-surface-ffffff,#fff)}dialog::backdrop{background:var(--ui-surface-accent-15271d70,#15271d70);backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line);background:var(--ui-surface-accent-fafbf8,#fafbf8);position:sticky;top:0;z-index:3}.dialog-header h2{font-size:20px}.dialog-header p{font-size:11px;color:var(--muted);margin-top:5px}.dialog-body{padding:24px 26px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 26px;border-top:1px solid var(--line);background:var(--ui-surface-accent-fafbf8,#fafbf8);position:sticky;bottom:0;z-index:2}.dialog-footer small{font-size:10px;color:var(--muted)}.dialog-tabs{display:flex;gap:8px;padding:15px 26px;border-bottom:1px solid var(--line);overflow-x:auto;position:sticky;top:86px;background:var(--ui-surface-ffffff,white);z-index:2}.dialog-tabs .tab{font-size:12px}.job-brief{background:var(--ui-surface-accent-f3f6ee,#f3f6ee);padding:16px 18px;border:1px solid var(--ui-line-accent-e1e7d9,#e1e7d9);border-radius:11px;margin-bottom:20px;font-size:12px;line-height:1.7}.brief-specs{display:flex;gap:10px 25px;flex-wrap:wrap;margin-top:8px;font-size:11px;color:var(--ui-text-accent-7e8c71,#7e8c71)}.brief-specs b{font-weight:550;color:var(--ui-text-accent-48613d,#48613d)}.check-row{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:17px;align-items:center;border-bottom:1px solid var(--line);padding:13px 0}.check-row:last-child{border-bottom:0}.check-row p{font-size:12px;line-height:1.5}.check-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px;line-height:1.5}.check-row select{padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--ui-surface-accent-fafbf8,#fafbf8);font-size:11px;max-width:100%}.confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:12px;background:var(--ui-surface-accent-f3f6ee,#f3f6ee);border:1px solid var(--ui-line-accent-e0e8d6,#e0e8d6);padding:15px;border-radius:10px;margin-top:22px}.confirm input{margin-top:3px;accent-color:var(--green);width:16px;height:16px}.report-item{padding:20px;border-bottom:1px solid var(--line)}.report-item:last-child{border:0}.report-item p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px 20px;margin-top:17px}.report-grid small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.report-grid strong{font-size:12px;font-weight:500}.signature{margin-top:18px;display:flex;gap:7px;align-items:center;color:var(--ui-text-accent-829476,#829476);font-size:10px}.signature svg{width:14px;height:14px}.detail-text{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.view-footer{margin-top:25px}.saved-draft{font-size:10px;color:var(--ui-text-accent-839276,#839276)}.priority-label{color:var(--ui-text-b26941,#b26941);font-size:10px}.list-bottom{padding:13px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%) translateY(15px);background:var(--ui-surface-fixed-accent-223c2d,#223c2d);color:var(--ui-text-ffffff,white);border-radius:11px;padding:13px 22px;font-size:12px;z-index:30;box-shadow:0 6px 25px var(--ui-shadow-fixed-accent-13251e25,#13251e25);opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.user-management{border-top:1px solid var(--line);margin-top:24px;padding-top:19px}
@media(min-width:1450px){.content{padding:39px 47px}.topbar{padding:0 47px}.production-grid{grid-template-columns:minmax(0,1.9fr) minmax(320px,1fr)}.machine-art{height:208px}.machine-art svg{height:190px;width:310px}.machine-info{padding-bottom:23px}.machine-card h3{font-size:23px}.summary{margin-bottom:33px}.stat{padding:20px 23px}.stat-number{font-size:33px}.stat-foot{margin-top:12px}.machine-card:only-child .machine-art{height:200px}.machine-card:only-child .machine-art svg{height:183px}.machine-data{margin-top:20px}.machine-footer{padding:15px 21px}}
@media(max-width:1150px){.shell{grid-template-columns:82px minmax(0,1fr)}.sidebar{width:82px;padding:25px 10px 17px}.brand{padding:0 12px 32px}.brand>div,.workspace-label,.nav-btn>span,.sidebar .plant-note,.account-details,.sidebar-account .icon-btn{display:none}.nav-btn{justify-content:center;padding:15px 0}.nav-btn .nav-count{display:block;position:absolute;right:2px;top:3px;font-size:8px}.sidebar-account{justify-content:center}.content{padding:27px 26px}.topbar{padding:0 26px}.production-grid{gap:20px}.summary{gap:12px}.stat{padding:16px}.chat-layout{grid-template-columns:minmax(0,1fr) 215px}#toast{left:calc(50% + 40px)}}
@media(max-width:900px){.production-grid{grid-template-columns:1fr}.aside-work{display:grid;grid-template-columns:1fr 1fr;gap:20px}.activity{padding:0}.chat-layout{grid-template-columns:1fr}.chat-side{display:none}.top-meta .date-label{display:none}.maintenance-grid{gap:12px}.maintenance-folder{padding:20px}.machine-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.machine-card:only-child{display:grid;grid-template-columns:1fr 1fr}.machine-card:only-child .machine-top{grid-column:1/-1}.machine-card:only-child .machine-art{height:210px}.machine-card:only-child .machine-info{padding-top:32px;align-self:center}.machine-card:only-child .machine-footer{grid-column:1/-1}.summary{margin-bottom:25px}.stat-top{font-size:10px}.stat-top svg{display:none}.page-head h1{font-size:29px}.footnote{flex-wrap:wrap}.chat-panel{height:calc(100dvh - 215px)}}
@media(max-width:600px){.shell{display:block;padding-bottom:73px}.sidebar{inset:auto 0 0;width:100%;height:70px;padding:5px 9px 7px;border-radius:16px 16px 0 0;border-top:1px solid var(--ui-line-fixed-accent-355148,#355148)}.sidebar .brand,.sidebar-bottom{display:none}.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.nav-btn{flex-direction:column;gap:5px;min-height:56px;padding:7px 1px;font-size:8px;border-radius:9px}.nav-btn>span{display:block}.nav-btn svg{width:19px;height:19px}.nav-btn .nav-count{right:8px}.workspace{min-width:0}.topbar{height:60px;padding:0 17px}.breadcrumb{font-size:10px;gap:8px}.breadcrumb .icon{display:none}.top-meta{gap:8px;font-size:9px}.sync-label{font-size:9px}.content{padding:23px 17px}.page-head{align-items:flex-start;margin-bottom:21px}.page-head h1{font-size:27px}.page-head p{font-size:11px;max-width:220px}.page-head .btn{font-size:0;padding:9px;min-width:39px}.page-head .btn svg{font-size:initial}.summary{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:23px}.stat{padding:13px 15px}.stat-number{font-size:28px;margin-top:12px}.stat-foot{font-size:9px;margin-top:7px}.section-heading{gap:8px}.section-heading h2{font-size:16px}.section-heading .tabs{gap:0}.tab{font-size:10px;padding:7px 8px}.machine-card:only-child{display:block}.machine-card:only-child .machine-art{height:170px}.machine-card:only-child .machine-info{padding-top:0}.machine-info h3{font-size:20px}.machine-grid{grid-template-columns:1fr}.aside-work{grid-template-columns:1fr}.activity{padding-top:3px}.handover-panel .panel-pad{padding:20px}.job-section{margin-top:23px}th,td{padding:13px}.footnote{font-size:9px;line-height:1.5;margin-top:23px}.footnote span:last-child{display:none}.chat-panel{height:calc(100dvh - 254px);min-height:350px}.chat-header{padding:15px}.messages{padding:17px 12px}.chat-compose{padding:11px}.message{max-width:95%}.bubble{padding:10px 12px}.maintenance-grid{grid-template-columns:1fr}.maintenance-folder{min-height:90px;padding:18px;display:grid;grid-template-columns:44px 1fr;gap:5px 15px;align-items:center}.folder-icon{margin:0;grid-row:span 2}.maintenance-folder h3{margin:0}.maintenance-folder p{font-size:10px}.section-toolbar .tabs{width:100%;overflow-x:auto}.section-toolbar .search-box{max-width:100%;width:100%}.login-shell{display:block}.login-visual{padding:30px}.login-visual .brand>div{display:block}.login-visual h1{font-size:33px;margin:33px 0 12px}.login-visual p{font-size:12px}.login-visual .machine-art,.login-caption{display:none}.login-form-wrap{padding:34px 26px}.login-form h2{font-size:26px}.form-grid,.form-grid.three{grid-template-columns:1fr 1fr;gap:15px 12px}.dialog-header{padding:17px 18px}.dialog-header h2{font-size:17px}.dialog-body{padding:20px 18px}.dialog-tabs{padding:12px 14px;top:77px;gap:1px}.dialog-tabs .tab{font-size:11px}.dialog-footer{padding:13px 17px}.dialog-footer .btn{font-size:11px;padding:10px 12px}.dialog-footer small{max-width:105px}.check-row{grid-template-columns:minmax(0,1fr) 112px;gap:9px}.check-row p{font-size:11px}.check-row select{font-size:10px;padding:8px 5px}.check-row small{font-size:9px}.report-grid{grid-template-columns:1fr 1fr}.purchase-grid{grid-template-columns:1fr}.report-item{padding:17px}.job-brief{font-size:11px;padding:14px}.brief-specs{gap:7px 14px;font-size:10px}#toast{left:50%;bottom:85px;min-width:240px}.btn{font-size:12px}}
.production-grid > *, .machine-grid, .chat-layout > * {min-width:0}.table-wrap{max-width:100%}
@media(max-width:600px){body .section-heading{flex-wrap:wrap}body .breadcrumb>span{display:none}body .section-heading .tabs{max-width:100%;overflow-x:auto}body .topbar{gap:8px}body .top-meta{gap:3px}body .chat-panel{min-width:0}}
.file-chip{max-width:100%}.file-chip>span{min-width:0;overflow-wrap:anywhere}.file-chip .photo-thumb{flex-shrink:0}
.permissions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.permission-item{display:flex;gap:12px;padding:14px;border:1px solid var(--ui-line-accent-dfe5dc,#dfe5dc);border-radius:12px;align-items:flex-start;background:var(--ui-surface-accent-f8faf6,#f8faf6)}.permission-item input{margin-top:3px;accent-color:var(--ui-control-accent-315e49,#315e49);width:18px;height:18px;flex-shrink:0}.permission-item strong,.permission-item small{display:block}.permission-item small{font-size:11px;line-height:1.5;color:var(--ui-text-6e7c72,#6e7c72);margin-top:4px}.birthday-banner{display:flex;align-items:center;gap:20px;padding:16px 20px;margin-bottom:24px;border-radius:14px;background:var(--ui-surface-accent-edf3df,#edf3df);border:1px solid var(--ui-line-accent-dce6c8,#dce6c8)}.birthday-banner>div{flex:1;display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.birthday-banner>strong{font-size:13px}.birthday-banner span{white-space:normal}@media(max-width:600px){.permissions-grid{grid-template-columns:1fr}.birthday-banner{align-items:flex-start;flex-direction:column;gap:10px}}

.push-device{margin-top:22px;padding:18px;border:1px solid var(--line,var(--ui-line-dce2dd,#dce2dd));border-radius:14px;background:var(--ui-surface-accent-f6f8f5,#f6f8f5)}.push-help{font-size:12px;line-height:1.6;margin-top:16px}.push-device [hidden]{display:none!important}#notification-settings h3{margin-bottom:8px}

/* Password visibility controls shared by login and account forms. */
.password-input{position:relative;width:100%}.field .password-input input{min-height:46px;padding-right:54px}.password-input .password-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:7px}.password-toggle[aria-pressed="true"]{color:var(--accent-text)}.password-input input::-ms-reveal{display:none}
