@font-face{font-family:CopyFlow;src:local("Inter"),local("Segoe UI");font-display:swap}
:root{font-family:CopyFlow,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182337;background:#f5f6f8;font-synthesis:none;--blue:#244fe2;--ink:#182337;--muted:#697485;--line:#e4e7ed;--paper:#fff;--radius:18px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.2vw,42px);letter-spacing:-1.5px;line-height:1.12;margin-bottom:14px;font-weight:650}h2{font-size:21px;letter-spacing:-.5px;font-weight:650}h3{font-size:16px;font-weight:650}p{line-height:1.65}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:18px}.mono{font-variant-numeric:tabular-nums}.hidden,[hidden]{display:none!important}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:18px}.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:100}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #8ba8ff;outline-offset:3px}.offline{background:#fff0cd;padding:12px 24px;font-size:13px;text-align:center}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:23px;font-weight:720;letter-spacing:-.8px}.brand img{width:36px;height:36px}.brand:hover{text-decoration:none}.brand-sub{font-size:11px;letter-spacing:0;font-weight:450;color:var(--muted);margin-top:1px}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:white;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;gap:40px}.sidebar nav{display:grid;gap:7px}.nav-link{padding:13px 14px;border-radius:11px;display:flex;align-items:center;gap:11px;color:#566174;font-size:14px}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#f4f6fb;text-decoration:none}.nav-link.active{color:var(--blue);background:#eef2ff;font-weight:650}.sidebar-foot{margin-top:auto;display:grid;gap:14px}.help-card{border:1px solid var(--line);border-radius:12px;padding:15px;font-size:12px;color:var(--muted);line-height:1.65}.help-card strong{display:block;color:var(--ink);margin-bottom:5px}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:20px}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#edf0f7;color:#677591;font-size:14px;flex-shrink:0}.profile-info{flex:1;min-width:0}.profile-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace{min-width:0}.topbar{height:78px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fafbfc}.topbar .breadcrumb{font-size:13px;color:var(--muted)}.topbar-right{display:flex;gap:15px;align-items:center;font-size:12px;color:var(--muted)}.connection{display:flex;gap:7px;align-items:center}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#399d7a}.main{max-width:1400px;padding:40px 42px 60px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px}.intro p{color:var(--muted);font-size:14px;margin:0}.step-label{font-size:12px;color:var(--muted);margin-bottom:14px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:27px}.panel+.panel{margin-top:20px}.section-label{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:650;margin-bottom:20px}.section-label .number{font-size:11px;color:#7b87a1;border:1px solid var(--line);width:25px;height:25px;display:grid;place-items:center;border-radius:7px}.services{display:grid;grid-template-columns:1fr 1fr;gap:14px}.service-card{position:relative;text-align:left;background:white;border:1.5px solid var(--line);border-radius:13px;padding:22px;min-height:160px;color:var(--ink)}.service-card .service-icon{width:38px;height:38px;margin-bottom:16px;color:#5b6980}.service-card strong{display:block;font-size:15px;line-height:1.5;margin-bottom:5px}.service-card span{font-size:12px;color:var(--muted)}.service-card.active{border-color:var(--blue);background:#f6f8ff}.service-card.active .service-icon{color:var(--blue)}.service-card .radio{position:absolute;right:15px;top:15px;width:17px;height:17px;border:1.5px solid #ccd2df;border-radius:50%}.service-card.active .radio{border:5px solid var(--blue)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:grid;gap:8px;font-size:13px;color:#48566c;min-width:0}.field.full{grid-column:1/-1}.field input,.field select,.field textarea,.search{width:100%;padding:12px 13px;border:1px solid #dce1e9;border-radius:9px;background:white;color:var(--ink);min-height:44px;outline:none}.field textarea{resize:vertical;min-height:83px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:var(--blue);box-shadow:0 0 0 3px #244fe211}.field .hint{font-size:11px;line-height:1.6;color:#8390a2}.row{display:flex;align-items:center;gap:10px}.field .row>*{min-width:0}.form-divider{height:1px;background:var(--line);margin:24px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 18px;min-height:44px;border:1px solid transparent;border-radius:9px;font-weight:600;font-size:13px;text-decoration:none!important;line-height:1.4;white-space:normal}.button svg{width:17px;height:17px}.primary{background:var(--blue);color:white}.primary:hover{background:#1b41c4}.secondary{background:white;border-color:#dce1e9;color:#34425a}.secondary:hover{background:#f6f8fc}.quiet{background:transparent;color:#697485;border-color:transparent}.danger{background:#fff4f3;color:#aa403a;border-color:#f0d4d1}.wide{width:100%}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.form-footer small{color:var(--muted);line-height:1.6;max-width:320px}.aside-card{padding:25px;border:1px solid var(--line);border-radius:var(--radius);background:#edf1fa}.aside-card h3{font-size:16px;line-height:1.4}.aside-card p{font-size:12px;color:#6c7890}.aside-card .big-number{font-size:42px;font-weight:500;letter-spacing:-2px;color:#31466b;margin:25px 0 5px}.aside-card .big-number span{font-size:17px;letter-spacing:0}.aside-note{font-size:12px;color:var(--muted);line-height:1.75;padding:22px 10px}.aside-note strong{color:#506078;font-weight:600}.check-list{list-style:none;padding:0;margin:25px 0 0}.check-list li{display:flex;gap:10px;font-size:12px;line-height:1.5;margin:15px 0;color:#60718b}.check-list li:before{content:"✓";color:#466496}.thin-rule{height:1px;background:#d7e0ed;margin:23px 0}.orders-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-bottom:22px}.tabs{display:flex;gap:4px;padding:4px;background:#e9ecf2;border-radius:10px}.tab{border:0;background:transparent;color:#718096;padding:9px 15px;border-radius:7px;font-size:12px;white-space:nowrap}.tab.active{background:white;box-shadow:0 1px 3px #152c5612;color:var(--ink);font-weight:650}.search{max-width:240px;font-size:12px}.filter-select{border:1px solid var(--line);background:white;border-radius:9px;padding:10px;font-size:12px;color:#627087}.orders-list{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.order-row{padding:22px 25px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,.8fr) minmax(120px,.8fr) 170px 20px;gap:20px;align-items:center;border-bottom:1px solid var(--line);color:var(--ink)}.order-row:last-child{border:0}.order-row:hover{background:#f9faff;text-decoration:none}.order-row strong{display:block;font-size:15px;margin-bottom:6px}.order-row small{font-size:12px;color:var(--muted)}.order-head{background:#fafbfc;font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#8891a2;padding-top:16px;padding-bottom:16px}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:7px;background:#f0f2f6;color:#6c778a;font-size:11px;font-weight:550;line-height:1.4;width:fit-content}.pill.blue{background:#edf1ff;color:#3457c7}.pill.green{background:#e7f5ee;color:#327556}.pill.amber{background:#fff3da;color:#977039}.pill.red{background:#fff0ed;color:#ab5a4d}.unread{font-size:10px;background:var(--blue);color:white;min-width:18px;height:18px;border-radius:9px;display:inline-grid;place-items:center;margin-left:7px}.empty{text-align:center;padding:65px 25px;color:var(--muted)}.empty svg{width:42px;height:42px;color:#a5b1c5;margin-bottom:20px}.empty h2{color:var(--ink);font-size:20px}.empty p{font-size:13px;max-width:330px;margin:0 auto 22px}.page-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.back{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:25px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.order-title{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-bottom:12px}.order-title h1{margin:0}.timeline{display:flex;margin:28px 0 30px;padding:0;list-style:none;gap:0}.timeline li{position:relative;flex:1;font-size:10px;color:#95a0b2;line-height:1.5;padding-top:26px}.timeline li:before{content:"";position:absolute;top:3px;left:0;width:10px;height:10px;border-radius:50%;background:#dfe4ed;z-index:1}.timeline li:not(:last-child):after{content:"";position:absolute;top:7px;left:10px;width:calc(100% - 10px);height:1px;background:#dfe4ed}.timeline li.done{color:#4c63a0}.timeline li.done:before,.timeline li.done:after{background:#4469e7}.timeline li.current:before{outline:4px solid #e8edff}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.spec-grid dt{font-size:11px;color:var(--muted);margin-bottom:6px}.spec-grid dd{font-size:13px;margin:0;line-height:1.55;overflow-wrap:anywhere}.panel-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.panel-title h2{font-size:17px;margin:0}.panel-title .button{padding:6px 10px;min-height:32px;font-size:11px}.drop-zone{border:1.5px dashed #c9d3e5;border-radius:12px;background:#fbfcff;text-align:center;padding:32px 20px;transition:background .15s,border-color .15s;cursor:pointer}.drop-zone.dragging{background:#edf1ff;border-color:var(--blue)}.drop-zone svg{width:30px;height:30px;color:#6480ce;margin-bottom:12px}.drop-zone strong{display:block;font-size:14px;margin-bottom:7px}.drop-zone p{font-size:11px;color:var(--muted);margin:0}.drop-zone strong span{color:var(--blue)}.file-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;padding:19px 0;border-bottom:1px solid #edf0f5;align-items:start}.file-row:last-child{border-bottom:0}.file-icon{height:42px;border:1px solid #e2e7ef;border-radius:8px;font-size:9px;font-weight:650;display:grid;place-items:center;color:#78869d;background:#f8faff}.file-name{font-size:12px;overflow-wrap:anywhere;line-height:1.5;font-weight:550}.file-meta{font-size:10px;color:#8c96a7;margin-top:5px;line-height:1.6}.file-actions{display:flex;gap:1px;max-width:145px;flex-wrap:wrap;justify-content:flex-end}.file-actions button,.file-actions a{border:0;background:none;color:#62759c;font-size:11px;padding:5px;line-height:1.5}.file-progress{height:4px;background:#edf0f7;border-radius:3px;margin:9px 0 6px;overflow:hidden}.file-progress progress{width:100%;height:4px;border:0;display:block;appearance:none}.file-progress progress::-webkit-progress-bar{background:#edf0f7}.file-progress progress::-webkit-progress-value{background:var(--blue)}.file-progress progress::-moz-progress-bar{background:var(--blue)}.notice{font-size:12px;line-height:1.65;color:#697f9e;background:#f0f4fb;border-radius:10px;padding:14px 16px;margin:16px 0}.notice.amber{color:#8b6831;background:#fff6e4}.notice.red{color:#a2574c;background:#fff1ee}.chat-panel{position:sticky;top:22px;padding:0;overflow:hidden}.chat-header{padding:23px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.chat-header h2{font-size:15px;margin:0 0 5px}.chat-header small{font-size:11px;color:var(--muted)}.chat-header .avatar{background:#e9efff;color:#4163c5}.chat-messages{height:360px;overflow-y:auto;padding:20px 18px;display:flex;flex-direction:column;gap:15px;scrollbar-width:thin}.message{max-width:94%;align-self:flex-start;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;padding:11px 13px;background:#f1f3f8;border-radius:11px 11px 11px 3px}.message.mine{align-self:flex-end;background:#edf1ff;color:#304c91;border-radius:11px 11px 3px 11px}.message.system{align-self:center;text-align:center;background:transparent;font-size:10px;color:#8c97a8;padding:5px;max-width:95%}.message time{display:block;font-size:9px;opacity:.6;text-align:right;margin-top:5px}.chat-compose{padding:17px;border-top:1px solid var(--line)}.chat-compose textarea{resize:vertical;max-height:180px;min-height:80px;font-size:12px;padding:12px;border:1px solid #e0e5ee;border-radius:9px;width:100%;background:#fafbfe}.chat-compose .compose-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px}.compose-footer small{font-size:9px;color:#8996a9;line-height:1.5}.compose-footer .button{padding:9px 13px;min-height:35px;font-size:11px}.operator-controls{display:grid;gap:12px}.operator-controls .field{font-size:11px}.icon-button{border:0;background:transparent;color:#6d7a90;padding:5px;font-size:22px;line-height:1;width:32px;height:32px}.icon-button svg{width:18px;height:18px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.08fr 1fr}.auth-story{padding:45px 8vw 50px 6vw;background:#eaf0fb;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story .brand{margin-bottom:90px}.auth-story h1{font-size:clamp(40px,4.3vw,66px);line-height:1.05;letter-spacing:-2.5px;max-width:560px;z-index:1}.auth-story h1 span{color:var(--blue)}.auth-story>p{max-width:370px;font-size:14px;color:#728099;z-index:1}.auth-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;z-index:1}.auth-tags span{font-size:10px;letter-spacing:.3px;color:#617494;border:1px solid #ced9ec;border-radius:6px;padding:8px 11px}.paper-art{position:relative;height:230px;margin:45px 0 20px}.paper-art .sheet{position:absolute;left:30px;top:22px;width:250px;height:170px;border:1px solid #c3cee3;border-radius:4px;background:#ffffff80;transform:rotate(-9deg);box-shadow:0 15px 35px #748fbd13}.paper-art .sheet.front{left:66px;top:5px;transform:rotate(5deg);background:#fff;padding:22px}.drawing{height:100%;width:100%;color:#879abd}.auth-foot{margin-top:auto;font-size:11px;line-height:1.8;color:#8090a9}.auth-main{display:flex;flex-direction:column;justify-content:center;padding:50px max(40px,6vw);background:white}.auth-box{max-width:370px;margin:0 auto;width:100%}.auth-box h2{font-size:27px;letter-spacing:-.8px}.auth-box>p{font-size:13px;color:var(--muted);margin-bottom:28px}.auth-box form{display:grid;gap:18px}.auth-switch{display:flex;gap:15px;align-items:center;justify-content:center;font-size:12px;margin-top:25px}.auth-switch button{border:0;background:none;color:var(--blue);padding:7px;font-size:12px}.auth-legal{font-size:10px;color:#8d99aa;line-height:1.65;margin-top:20px}.form-error{font-size:12px;color:#ae4f43;line-height:1.6;margin:0}.footer-note{font-size:10px;color:#9ba4b2;margin-top:30px;text-align:center}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#24334d;color:white;box-shadow:0 8px 25px #162d5330;max-width:min(90vw,600px);padding:15px 22px;border-radius:12px;z-index:100;font-size:13px;line-height:1.6}dialog{border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 80px #13243c2a;width:min(92vw,620px);padding:32px;max-height:90vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#23334e70;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:15px;top:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}.check-field input{margin-top:4px}.status-bar{display:flex;gap:20px;padding:16px 22px;border:1px solid var(--line);border-radius:12px;background:white;font-size:12px;color:#718099;margin-bottom:22px;flex-wrap:wrap}.load-more{display:block;margin:25px auto 0}
@media(min-width:1500px){.main{padding-top:52px}.two-col{grid-template-columns:minmax(0,1fr) 330px}.detail-grid{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 15px}.brand{font-size:21px}.main{padding:30px 25px}.topbar{padding:0 25px}.two-col{grid-template-columns:1fr}.two-col>aside{display:none}.detail-grid{grid-template-columns:1fr 300px;gap:18px}.panel{padding:22px}.order-row{grid-template-columns:minmax(140px,1fr) 130px 130px 20px;gap:15px}.order-row .order-size{display:none}.chat-header{padding:20px}.file-actions{max-width:90px}}
@media(max-width:900px){.detail-grid{grid-template-columns:1fr}.chat-panel{position:static}.chat-messages{height:320px}.auth-shell{grid-template-columns:.9fr 1fr}.auth-story{padding:35px}.auth-story .brand{margin-bottom:60px}.auth-story h1{font-size:42px}.paper-art{transform:scale(.8);transform-origin:left top;height:190px}.auth-main{padding:35px}.topbar-right .connection{display:none}}
@media(max-width:650px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:17px 20px 10px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:21px}.brand img{width:32px;height:32px}.sidebar nav{display:flex;gap:8px}.nav-link{padding:10px 13px;font-size:12px}.sidebar-foot{position:absolute;right:18px;top:18px;display:block}.sidebar-foot .help-card,.sidebar-foot .install,.profile-info,.profile .avatar{display:none}.profile{border:0;padding:0}.sidebar .brand-sub{display:none}.topbar{height:48px;padding:0 20px}.topbar-right{font-size:10px}.main{padding:26px 18px 40px}.intro{align-items:flex-start;gap:15px;margin-bottom:24px}.intro h1{font-size:30px;letter-spacing:-1px}.intro p{font-size:12px}.intro .page-actions .button{padding:9px 12px;font-size:11px}.panel{padding:20px;border-radius:14px}.services{gap:10px}.service-card{padding:17px 13px;min-height:159px}.service-card strong{font-size:13px;line-height:1.45}.service-card span{font-size:10px}.service-card .service-icon{width:32px;height:32px}.fields{gap:17px 13px}.field{font-size:12px}.field input,.field select{font-size:13px;padding:11px 10px}.form-footer{flex-direction:column;align-items:stretch}.form-footer small{max-width:none}.button{font-size:12px}.order-row{padding:18px;grid-template-columns:1fr auto;gap:13px}.order-head{display:none}.order-row .order-deadline{grid-column:1}.order-row .order-arrow{display:none}.order-row .order-status{grid-column:2;grid-row:1/3}.order-row strong{font-size:14px}.order-row small{font-size:11px}.orders-toolbar{display:grid;grid-template-columns:1fr}.tabs{width:fit-content}.search{max-width:none}.order-title{gap:10px}.order-title h1{font-size:28px}.spec-grid{gap:18px}.spec-grid dd{font-size:12px}.drop-zone{padding:25px 12px}.drop-zone strong{font-size:12px}.file-row{grid-template-columns:30px minmax(0,1fr);gap:10px}.file-actions{grid-column:2;max-width:none;justify-content:flex-start}.file-icon{height:38px;font-size:8px}.chat-compose textarea{font-size:13px}.auth-shell{display:block}.auth-story{padding:25px 25px 30px;min-height:260px}.auth-story .brand{margin-bottom:35px}.auth-story h1{font-size:37px;max-width:400px;margin-bottom:15px}.auth-story>p{font-size:12px;max-width:300px;margin-bottom:0}.auth-tags,.paper-art,.auth-foot{display:none}.auth-main{padding:35px 25px 50px}.auth-box{max-width:400px}.auth-box h2{font-size:24px}.auth-box>p{font-size:12px}.eyebrow{font-size:10px;margin-bottom:13px}.notice{font-size:11px}.timeline li{font-size:9px}dialog{padding:26px 21px}.status-bar{font-size:11px;padding:15px}.offline{font-size:11px;padding:10px 15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Student workspace: one page, chat stays visible at any scroll position. */
.student-header{height:88px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 max(28px,calc((100vw - 1260px)/2))}.header-tools{display:flex;align-items:center;gap:16px}.student-name{font-size:13px;color:var(--muted)}.student-layout{max-width:1316px;margin:auto;padding:30px 28px 70px}.student-main{width:calc(100% - 390px);max-width:850px}.order-switch{display:flex;align-items:center;gap:13px;margin-bottom:30px;font-size:12px;color:var(--muted)}.order-switch select{padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;max-width:100%;color:var(--ink);min-width:260px}.student-main .intro{margin-bottom:0}.student-main .intro h1{font-size:36px}.simple-timeline{margin:25px 0 32px}.simple-timeline li{font-size:12px}.student-main .services{margin-bottom:25px}.student-main .service-card{min-height:132px;padding:18px}.student-main .service-card .service-icon{width:30px;height:30px;margin-bottom:10px}.student-main .service-card:disabled{opacity:1;cursor:default}.student-main #spec-fields{margin-top:22px}.student-main .field.full{grid-column:1/-1}.student-main .drop-zone{display:block}.file-advice{border:1px solid #d0dcff;background:#f2f5ff;border-radius:12px;padding:17px 19px;margin-bottom:18px;color:#294896}.file-advice strong{font-size:14px;line-height:1.5}.file-advice p{font-size:12px;margin:7px 0 0;color:#5c6e90;line-height:1.6}.student-main .operator-controls{margin-top:20px}.student-main .operator-controls p{margin:0;text-align:center}.ready-note{background:#e7f5ee;color:#287351}.floating-chat{position:fixed;top:118px;right:max(28px,calc((100vw - 1260px)/2));width:356px;max-height:calc(100dvh - 146px);padding:0;overflow:hidden;box-shadow:0 12px 40px #2c44780b;display:flex;flex-direction:column;z-index:30}.chat-toggle{width:100%;border:0;background:white;text-align:left;cursor:pointer;flex-shrink:0;padding:20px}.chat-toggle>span:nth-child(2){flex:1}.chat-toggle strong{display:block;font-size:14px;margin-bottom:4px}.chat-toggle small{display:block;font-size:10px}.chat-toggle svg{width:19px;height:19px}.chat-toggle #chat-chevron{font-size:20px;color:#8d9bb0}.floating-chat #chat-body{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 230px)}.floating-chat .chat-messages{height:330px;min-height:90px;flex:1 1 auto}.floating-chat .chat-compose{flex-shrink:0}.floating-chat .chat-compose textarea{resize:none;min-height:70px;max-height:110px}.chat-network{font-size:10px;color:#8391a7;padding:9px 18px;background:#fafbfe;text-align:center}.chat-welcome{margin:auto;text-align:center;font-size:13px;color:#6c7c98;padding:15px;line-height:1.7}.chat-welcome p{font-size:12px;max-width:235px;margin:8px auto}.message-order{display:block;font-size:10px;color:#7185b2;margin-bottom:4px}.floating-chat .message.system{background:#f2f7f4;color:#50725f;font-size:11px}.floating-chat.collapsed{height:auto}.floating-chat .chat-header{border-bottom:1px solid var(--line)}
@media(max-width:1000px){.student-layout{padding:25px 20px calc(65dvh + 24px)}.student-main{width:100%;max-width:760px;margin:auto}.floating-chat{top:auto;bottom:16px;right:20px;width:335px;max-height:65dvh;box-shadow:0 8px 35px #172a5140}.floating-chat #chat-body{max-height:calc(65dvh - 78px)}.floating-chat .chat-messages{height:220px}.student-header{height:76px;padding:0 24px}}
@media(max-width:650px){.student-header{padding:0 18px;height:72px}.student-header .brand-sub,.student-name{display:none}.header-tools{gap:5px}.header-tools .button{padding:8px;font-size:11px}.student-layout{padding:24px 16px calc(47dvh + 24px)}.student-main .intro h1{font-size:30px}.student-main .intro{align-items:flex-start;flex-wrap:wrap}.student-main .panel{padding:19px}.student-main .panel-title{align-items:flex-start;flex-wrap:wrap;gap:8px}.student-main .panel-title h2{font-size:18px}.student-main .panel-title .small{font-size:10px}.order-switch{margin-bottom:23px}.order-switch select{min-width:0;flex:1;font-size:12px}.simple-timeline li{font-size:11px}.floating-chat{bottom:0;left:0;right:0;width:100%;border-radius:17px 17px 0 0;max-height:47dvh;border-bottom:0}.floating-chat #chat-body{max-height:calc(47dvh - 61px)}.floating-chat .chat-header{padding:12px 17px}.floating-chat .chat-header .avatar{width:32px;height:32px}.floating-chat .chat-messages{height:110px;min-height:52px;padding:12px 16px;gap:9px}.floating-chat .chat-compose{padding:10px 14px calc(10px + env(safe-area-inset-bottom))}.floating-chat .chat-compose textarea{min-height:42px;height:44px;font-size:13px;padding:10px}.floating-chat .compose-footer{margin-top:5px}.floating-chat .compose-footer .button{min-height:30px;padding:6px 12px}.chat-network{padding:5px 15px;font-size:9px}.floating-chat .message{font-size:12px}.student-main .service-card strong{font-size:12px}.file-advice{padding:15px}.file-advice strong{font-size:13px}.file-advice p{font-size:11px}#toast{bottom:50dvh}.student-main .drop-zone{padding:23px 12px}}

/* A separate, prominent entry point for a new order above the page content. */
.order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:30px}
.order-actions .order-switch{flex:1 1 240px;min-width:0;margin:0}
.order-actions .order-switch select{flex:1;min-width:0;width:100%}
.new-order-button{min-height:48px;padding:13px 19px;font-size:14px;box-shadow:0 4px 12px #244fe221}
.new-order-button svg{width:20px;height:20px;flex-shrink:0}
@media(max-width:650px){.order-actions{gap:14px;margin-bottom:25px}.new-order-button{width:100%;min-height:50px;font-size:15px}.order-actions .order-switch{flex-basis:100%}}

/* Fixed laser catalogue and live preliminary cost. */
.laser-materials,.laser-date-field{border:0;padding:0;margin:0;min-width:0}.laser-materials legend,.laser-date-field legend{font-weight:600;margin-bottom:12px}.laser-material{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line,#e0e5ed);border-radius:12px;cursor:pointer}.laser-material+.laser-material{margin-top:8px}.laser-material:has(input:checked),.laser-date:has(input:checked){border-color:#315be8;background:#f0f4ff}.laser-material span{flex:1;min-width:0}.laser-material small,.laser-date small{display:block;color:#687489;margin-top:4px;font-size:12px}.laser-material b{white-space:nowrap}.laser-material input,.laser-date input{width:18px;height:18px;min-height:18px;padding:0;margin:0;flex-shrink:0;accent-color:#315be8}.laser-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.laser-date{display:flex;align-items:flex-start;gap:8px;padding:12px;border:1px solid #e0e5ed;border-radius:12px;cursor:pointer}.laser-estimate{grid-column:1/-1;background:#f3f6fc;border:1px solid #dfe7f6;border-radius:14px;padding:20px}.estimate-title{font-size:16px;font-weight:700;margin-bottom:16px}.estimate-lines{margin:0}.estimate-lines>div{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.estimate-lines dt{color:#56657c;font-size:13px}.estimate-lines dd{margin:0;white-space:nowrap;font-weight:600}.estimate-lines .estimate-total{border-top:1px solid #d9e2f1;padding-top:16px;margin-top:16px}.estimate-total dt{font-size:16px;color:#152c4d;font-weight:700}.estimate-total dd{font-size:26px;color:#254bd7}.laser-estimate .hint{margin:14px 0 0;line-height:1.5}.laser-material:focus-within,.laser-date:focus-within{outline:2px solid #315be8;outline-offset:2px}
@media(max-width:520px){.laser-dates{grid-template-columns:1fr}.laser-date span{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px}.laser-date small{margin:0}.laser-date small:last-child{flex-basis:100%}.laser-material{padding:12px 10px;gap:8px}.laser-material strong{font-size:13px}.laser-estimate{padding:16px}.estimate-lines dt{font-size:12px}}

.chat-route{font-size:12px;font-weight:650;color:#234ba9;background:#edf3ff;border:1px solid #d9e5ff;border-radius:8px;padding:9px 11px;margin-bottom:10px;line-height:1.4}
:root{--access-note:#eef3fc}
.access-page{max-width:520px;margin:8vh auto;padding:28px;background:#fff;border:1px solid #e5e9ef;border-radius:20px}
.access-page h1{font-size:28px;line-height:1.2;margin-top:30px}
.access-page p{line-height:1.6}
.access-page form,.access-details form{margin-top:20px}
.access-page .button{margin-top:12px}
.access-note{padding:12px 14px;background:var(--access-note);border-radius:10px;font-size:14px;line-height:1.55}
.access-details{margin:22px 0 10px}
.access-details summary{cursor:pointer;font-weight:600}
#personal-link{font-size:13px}
@media(max-width:540px){.access-page{margin:20px 12px;padding:22px}.header-tools{gap:6px;flex-wrap:wrap}#access-button{font-size:12px;padding:10px}}

/* 0.4 — a calm paper-and-sage workspace with clear form and chat boundaries. */
:root{--blue:#286858;--ink:#243c35;--muted:#56685f;--line:#d4ded5;--paper:#fffefa;--radius:20px;background:#f4f3ec;color:var(--ink)}
body{min-height:100vh;background:radial-gradient(ellipse at 10% 10%,#e8efe2 0,transparent 46%),radial-gradient(ellipse at 85% 70%,#f4e8d9 0,transparent 42%),#f4f3ec;background-attachment:fixed}
:focus-visible{outline:3px solid #4b8e78;outline-offset:3px}
.student-header{background:#fffefaee;border-color:#d4ded5;min-height:92px;height:auto;padding-top:17px;padding-bottom:17px}
.student-header .brand{font-size:22px;letter-spacing:-.7px}.student-header .brand-sub{color:#5d6d63;font-size:12px;margin-top:3px}
.header-tools{gap:10px;flex-wrap:wrap;justify-content:flex-end}.header-tools .button{white-space:nowrap}
.profile-button{border:0;border-bottom:1px dashed #789286;background:none;padding:7px 3px;color:#285845;font-size:13px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.student-layout{padding-top:34px}.student-main .intro h1{font-weight:650;letter-spacing:-1.2px}.intro p{color:#586b61}
.panel{background:#fffefa;box-shadow:0 5px 24px #3a4d3210;border:1px solid #d5dfd3}
.button.primary{background:#286858;border-color:#286858;color:#fff}.button.primary:hover{background:#205646}.button.secondary{background:#f2f6ee;border-color:#a4b6a7;color:#284a3c}.button.quiet{color:#335b48}
.install-button{border:1px solid #245849;background:#e2edd8;color:#1b493b;font-weight:750;box-shadow:0 3px 0 #cadcc0;padding:11px 15px;min-height:46px}.install-button svg{width:17px;height:17px}.install-button:hover{background:#d3e5c8}
.new-order-button{box-shadow:0 4px 12px #285e4923}.order-switch{color:#425e4d;font-size:13px;font-weight:600}.order-switch select{background:#fffefa;border-color:#b9cab9;color:#294938;min-height:44px}
.student-main .service-card{background:#fffefa;border-color:#cbd6ca}.student-main .service-card.active{border-color:#32694f;background:#eef4e8;box-shadow:inset 0 0 0 1px #32694f}.service-card .service-icon{color:#547361}.service-card.active .service-icon{color:#2d674f}.service-card.active .radio{border-color:#2d674f}.service-card.active .radio:after{background:#2d674f}
.field{font-size:15px;color:#254634;font-weight:650;line-height:1.5}.field input,.field select,.field textarea{color:#233f30;background:#fff;border:1.5px solid #a8baa9;font-weight:450;font-size:15px;min-height:46px}.field input::placeholder,.field textarea::placeholder{color:#637569;opacity:1}.field input:focus,.field select:focus,.field textarea:focus{border-color:#32694f;box-shadow:0 0 0 3px #dfeede}.field .hint,.hint{color:#586b5d;font-size:12px;font-weight:400;line-height:1.6}
.required-label{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.5px;color:#49633f;background:#e9efd9;border-radius:5px;padding:3px 6px;vertical-align:middle;width:fit-content}.field>.required-label{margin-top:-4px}
.manual-size-note{grid-column:1/-1;background:#edf3e7;border-left:3px solid #749760;padding:14px 16px;border-radius:0 10px 10px 0}.manual-size-note strong,.manual-size-note span{display:block}.manual-size-note strong{font-size:14px;margin-bottom:4px}.manual-size-note span{font-size:13px;line-height:1.6;color:#4a644c}
.file-advice{background:#f5f0df;border-color:#dccc9d;color:#564720}.file-advice p{color:#655637;font-size:13px}.drop-zone{background:#f7f9f1;border:1.5px dashed #8eaa83;color:#315839}.drop-zone:hover,.drop-zone.dragging{background:#e8f1df;border-color:#426c37}.drop-zone svg{color:#527446}.drop-zone p{color:#5a7153;font-size:12px}
.file-row{padding:22px 0;grid-template-columns:38px minmax(0,1fr) auto;border-color:#dce3d7}.file-name{font-size:14px;font-weight:650;color:#29472f}.file-meta{font-size:12px;color:#5f705a}.file-icon{background:#edf2e7;border-color:#cbdac2;color:#506547}.file-actions{gap:6px;max-width:140px}.file-actions a{color:#345f47;font-size:12px}.file-actions button{color:#315d45;font-size:12px}.file-actions .remove-file{border:1px solid #caa598;background:#fff3ed;color:#873f2d;border-radius:8px;padding:8px 10px;font-weight:650;white-space:nowrap}.file-actions .remove-file:hover{background:#f8e1d6}
.file-dimensions{border:0;background:#f1f5eb;padding:12px 14px 14px;margin:15px 0 0;border-radius:12px;min-width:0}.file-dimensions legend{float:left;width:100%;font-size:13px;font-weight:700;color:#345137;margin-bottom:9px}.dimension-inputs{clear:both;display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:8px;align-items:end}.dimension-inputs>.field{min-width:0;font-size:12px;margin:0;gap:5px}.dimension-inputs>span{padding-bottom:13px;text-align:center;color:#627859}.dimension-inputs input{width:100%;font-size:16px;padding:10px;min-width:0}.file-dimensions>small{display:block;font-size:11px;font-weight:400;color:#5a6e51;line-height:1.5;margin-top:9px}.printed-size{font-size:14px;color:#385635;margin-top:9px}
.submission-hint{font-size:13px;color:#46613e;line-height:1.6;padding:4px 12px}.cancel-order{background:#fff7f0;border:1px solid #bf9988;color:#7f422e;justify-self:center}.cancel-order:disabled{background:#f2f0e8;color:#626e5e;border-color:#bfc8b7;opacity:.8}
.spec-grid dt{font-size:12px;color:#4b6646;font-weight:650}.spec-grid dd{font-size:15px;color:#263d25}.notice{background:#edf2e5;color:#45603b}.ready-note{background:#e3efd9;color:#2d642f;font-weight:650}.pill{background:#e8eddf;color:#49603f;font-size:12px}.pill.blue{background:#e6eee0;color:#395e3c}.pill.green{background:#dcedd0;color:#2a5b2d}.simple-timeline li{color:#5b7351}.timeline li.done{color:#38613c}.timeline li.done:before,.timeline li.done:after{background:#537c49}.timeline li.current:before{outline-color:#dce8d2}
.floating-chat{top:124px;border:2px solid #507965;background:#eef4ec;box-shadow:0 15px 45px #294b3530;max-height:calc(100dvh - 150px)}
.floating-chat .chat-header,.chat-toggle{background:#2d5a48;color:#fff;border-bottom:0}.chat-toggle strong{font-size:19px;font-weight:700;letter-spacing:.1px}.chat-toggle small{font-size:12px;color:#e1eddb}.chat-toggle .avatar{background:#e5edd9;color:#315944;width:40px;height:40px}.chat-toggle #chat-chevron{color:#e9f1e2}.chat-toggle:hover{background:#294f3f}
.floating-chat #chat-body{background:#eff4eb;max-height:calc(100dvh - 246px)}.notification-tools{display:flex;gap:8px;padding:10px 12px 6px;background:#e4ecdb;flex-wrap:wrap}.notification-button{border:1px solid #9bb290;border-radius:7px;background:#f8fbf3;color:#385a2d;font-size:11px;padding:7px 8px;flex:1}.notification-button[aria-pressed=true]{background:#d6e7c9;border-color:#6d8e5d}.notification-status{font-size:10px;line-height:1.45;padding:0 12px 7px;background:#e4ecdb;color:#48613f}.notification-status:empty{display:none}.chat-network{background:#f4f7ef;color:#546e49;font-size:10px;border-bottom:1px solid #d4e0ca}
.floating-chat .chat-messages{background:#eff4eb;gap:14px;padding:18px 15px;height:300px}.floating-chat .message{max-width:94%;font-size:13px;line-height:1.6;padding:13px 14px;border:1px solid #b2c7a6;background:#fffefa;color:#294428;border-radius:14px 14px 14px 4px;box-shadow:0 2px 5px #34532908;overflow-wrap:anywhere;white-space:pre-wrap}.floating-chat .message.mine{background:#dce7f4;border-color:#a5b6cb;color:#243e60;border-radius:14px 14px 4px 14px;align-self:flex-end}.floating-chat .message.system{align-self:center;max-width:100%;width:100%;background:#e4edcf;color:#36502a;border-color:#b6c796;font-size:13px;border-radius:12px}.message-author{display:block;font-size:13px;margin-bottom:3px;color:#244b2a}.message.mine .message-author{color:#284a79}.message-order{color:#526d4a;font-size:10px;margin-bottom:7px}.message.mine .message-order{color:#4b6688}.floating-chat .message time{color:#627554;font-size:10px;margin-top:7px}.floating-chat .message.mine time{color:#5d708a}.chat-welcome{color:#365b36}.chat-welcome strong{display:block;font-size:16px}.chat-welcome p{color:#566e50;font-size:13px}.welcome-spark{font-size:33px;color:#648844;display:block;margin-bottom:12px}
.floating-chat .chat-compose{background:#f9fbf3;border-top:1px solid #bfd0b5;padding:14px}.chat-route{background:#edf3e5;border-color:#cbdcbd;color:#3d5f33;font-size:11px}.floating-chat .chat-compose textarea{background:#fff;border:1.5px solid #94ad85;color:#264226;font-size:14px;border-radius:10px;min-height:70px}.chat-compose textarea::placeholder{color:#667c5b;opacity:1}.compose-footer small{color:#526a47;font-size:10px}.compose-footer .button{font-size:12px;min-height:38px}.floating-chat .unread{background:#f8e4a4;color:#314f2b;font-weight:800}
.laser-material:has(input:checked),.laser-date:has(input:checked){border-color:#527e43;background:#ecf3e3}.laser-material input,.laser-date input{accent-color:#326344}.laser-material:focus-within,.laser-date:focus-within{outline-color:#487738}.laser-material small,.laser-date small{color:#53674c}.laser-estimate{background:#f0f4e8;border-color:#c8d8bc}.estimate-lines dt{color:#506646}.estimate-total dt,.estimate-total dd{color:#31562d}.estimate-lines .estimate-total{border-color:#c4d2b8}
dialog{background:#fffefa;border-color:#c5d4bd;border-radius:24px}dialog::backdrop{background:#203b2a70;backdrop-filter:blur(5px)}#profile-form{display:grid;gap:18px;margin-top:25px}#profile-form input{margin-top:7px}.install-steps{list-style:none;counter-reset:install;padding:0;display:grid;gap:15px;margin:24px 0}.install-steps li{counter-increment:install;position:relative;padding-left:43px;font-size:14px;line-height:1.7;color:#314e33}.install-steps li:before{content:counter(install);position:absolute;left:0;top:0;width:29px;height:29px;border-radius:50%;background:#e4edd7;color:#365a2b;display:grid;place-items:center;font-weight:700}.footer-note{color:#62745a;font-size:11px}.access-note{background:#eaf0e1;color:#3e5934}.form-error{color:#943f2d}#toast{background:#2d523b;color:#fff;border:1px solid #759666;font-size:14px}
@media(max-width:1150px){.student-header .brand{font-size:19px}.header-tools .button{font-size:12px;padding:10px}.file-actions{max-width:130px}}
@media(max-width:1000px){.floating-chat{top:auto;max-height:65dvh}.floating-chat #chat-body{max-height:calc(65dvh - 84px)}.floating-chat .chat-messages{height:200px}.student-header{padding-left:20px;padding-right:20px}}
@media(max-width:650px){.student-header{align-items:flex-start;gap:12px;flex-wrap:wrap;padding:15px 16px;min-height:100px}.student-header .brand{font-size:19px;flex:1}.student-header .brand-sub{display:block;font-size:10px}.student-header .brand img{width:31px;height:31px}.header-tools{width:100%;justify-content:flex-start;gap:9px}.header-tools .install-button{font-size:12px;min-height:42px;padding:10px 12px;flex:1;white-space:normal}.header-tools #access-button{min-height:40px;font-size:11px;padding:9px}.profile-button{font-size:12px;max-width:120px;margin-left:auto}.student-layout{padding:22px 14px calc(52dvh + 22px)}.student-main .panel{padding:19px 16px}.field{font-size:15px}.field input,.field select,.field textarea{font-size:16px}.student-main .service-card strong{font-size:13px}.student-main .service-card span{font-size:11px}.student-main .service-card{padding:14px 12px}.file-row{grid-template-columns:28px minmax(0,1fr);gap:10px}.file-actions{grid-column:2;max-width:none;justify-content:flex-start}.file-actions .remove-file{font-size:12px;min-height:38px}.file-name{font-size:13px}.file-dimensions{padding:11px}.file-dimensions legend{font-size:12px}.dimension-inputs input{font-size:16px}.required-label{font-size:9px}.floating-chat{max-height:52dvh;border:2px solid #507965;border-bottom:0}.floating-chat #chat-body{max-height:calc(52dvh - 66px)}.floating-chat .chat-header{padding:12px 15px}.chat-toggle strong{font-size:17px}.chat-toggle small{font-size:11px}.floating-chat .chat-messages{height:120px;padding:11px;gap:9px}.floating-chat .message{font-size:12px;padding:10px 12px}.floating-chat .chat-compose{padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.floating-chat .chat-compose textarea{font-size:16px;min-height:43px;height:43px}.chat-route{font-size:10px;padding:6px 8px;margin-bottom:7px}.notification-tools{padding:7px 10px 4px;gap:6px}.notification-button{font-size:10px;padding:6px}.notification-status{font-size:9px;padding:0 10px 5px}.chat-network{font-size:9px;padding:4px 10px}.compose-footer small{font-size:9px}.floating-chat .compose-footer .button{min-height:34px;padding:7px 12px}#toast{bottom:54dvh}.file-advice strong{font-size:14px}.file-advice p{font-size:12px}.spec-grid dd{font-size:14px}.install-steps li{font-size:13px}}
@media(max-height:650px) and (min-width:1001px){.floating-chat{top:105px;max-height:calc(100dvh - 117px)}.floating-chat #chat-body{max-height:calc(100dvh - 190px)}.floating-chat .chat-header{padding:12px}.floating-chat .chat-messages{height:140px;min-height:55px}.floating-chat .chat-compose textarea{min-height:43px;height:43px}.chat-network{display:none}}
@media(max-height:550px) and (max-width:1000px){.floating-chat{max-height:78dvh}.floating-chat #chat-body{max-height:calc(78dvh - 54px)}.floating-chat .chat-header{padding:8px 12px}.floating-chat .chat-messages{height:80px;min-height:38px}.floating-chat .chat-compose textarea{min-height:36px;height:36px}.floating-chat .chat-network,.floating-chat .notification-status,.floating-chat .chat-route{display:none}.floating-chat .chat-compose{padding:7px 10px}.notification-tools{padding-top:4px}.notification-button{padding:4px}.student-layout{padding-bottom:calc(78dvh + 20px)}}

/* Quiet sender labels leave the conversation itself in the foreground. */
.floating-chat .message{flex-shrink:0;white-space:normal}
.floating-chat .message .message-author{font-size:11px;font-weight:400;color:#62725f;margin:0 0 3px;line-height:1.4}
.floating-chat .message.mine .message-author{color:#627188}
.floating-chat .message-order{font-size:10px;font-weight:400;line-height:1.45;margin-bottom:8px;color:#667562}
.floating-chat .message.mine .message-order{color:#627188}
.floating-chat .message-body{font-size:16px;font-weight:500;line-height:1.6;white-space:pre-wrap;color:#243e29;overflow-wrap:anywhere}
.floating-chat .message.mine .message-body{color:#203951}
.floating-chat .message time{opacity:1;font-weight:400;font-size:10px}
.floating-chat .message.order-receipt{background:#fbf6e8;border:1px solid #c5aa70;border-left:4px solid #947239;border-radius:14px;padding:18px 16px;text-align:left;color:#473c22;box-shadow:0 3px 9px #6a572311}
.receipt-service{display:block;font-size:11px;font-weight:400;color:#756747;line-height:1.5;margin-bottom:10px}
.receipt-title{display:block;font-size:18px;font-weight:650;line-height:1.35;color:#473a20;letter-spacing:-.15px}
.receipt-number{display:block;font-size:36px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:1px;line-height:1.25;margin-top:5px}
.receipt-hint{display:block;font-size:12px;font-weight:400;line-height:1.5;margin-top:10px;color:#6a5b3e}
.floating-chat .order-receipt time{color:#7a6a4c;margin-top:12px}
.chat-new-messages{flex-shrink:0;margin:0;border:0;border-top:1px solid #c8a463;border-bottom:1px solid #c8a463;background:#f9e9bc;color:#594214;font-size:13px;font-weight:700;min-height:40px;padding:9px 14px;line-height:1.4;text-align:center}
.chat-new-messages:hover{background:#f4dea0}
.floating-chat.has-unread .chat-header{box-shadow:inset 4px 0 #f6d77d}
.floating-chat .unread{min-width:24px;height:24px;padding:0 6px;font-size:12px;flex-shrink:0}
.deadline-picker{grid-column:1/-1;min-width:0;margin:0;padding:16px;border:1px solid #c3cfba;border-radius:14px;background:#f4f7ec}
.deadline-picker legend{font-size:15px;line-height:1.5;color:#254634;font-weight:650;padding:0 5px}
.deadline-month-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 15px}
.deadline-month{font-size:18px;font-weight:650;color:#314d34;line-height:1.4;text-align:center}
.deadline-month-arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid #c4d0bb;background:#fffefa;border-radius:10px;color:#345333;font-size:27px;line-height:1;padding:0}
.deadline-month-arrow:hover:not(:disabled){background:#e8efde;border-color:#92a983}
.deadline-month-arrow:disabled{opacity:.28}
.deadline-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}
.deadline-inputs .field{font-size:13px;gap:6px}
.deadline-inputs input,.deadline-inputs select{font-size:17px;min-width:0;min-height:48px}
.deadline-picker>.hint{margin:12px 0 0;font-size:12px;line-height:1.5;color:#5c6e54;font-weight:400}
@media(max-width:650px){.floating-chat .message-body{font-size:16px;line-height:1.55}.floating-chat .message .message-author{font-size:11px}.floating-chat .message.order-receipt{padding:14px}.receipt-number{font-size:32px}.receipt-title{font-size:17px}.deadline-picker{padding:12px}.deadline-inputs{gap:10px}.deadline-month{font-size:17px}.deadline-inputs input,.deadline-inputs select{font-size:16px}.chat-new-messages{font-size:12px;min-height:36px;padding:7px 12px}}

/* Materials stay on the order page: one row per material, one DWG for all sheets. */
.laser-materials{min-width:0;border:1px solid #c5d4bd;border-radius:14px;padding:15px;margin:0;background:#f4f7ec}
.laser-materials legend{padding:0 5px;font-size:16px;font-weight:700;color:#284a34}.material-help{margin:0 0 15px;font-size:13px!important;max-width:560px}
.laser-material-row{display:grid;grid-template-columns:minmax(0,1fr) 78px 34px;gap:12px;align-items:start;padding:16px 0;border-top:1px solid #d5dfcc;min-width:0}
.laser-material-row:first-child{padding-top:0;border-top:0}.laser-material-row .field{font-size:13px;min-width:0;margin:0;gap:7px}.laser-material-row select{width:100%;min-width:0;text-overflow:ellipsis;padding-right:28px}.laser-material-row input{width:100%;min-width:0;padding:10px}.material-detail{display:block;font-size:12px!important;min-height:18px;line-height:1.5}.remove-material{width:34px;height:42px;margin-top:26px;background:#fbf2e9;border:1px solid #c7af9d;border-radius:9px;font-size:24px;color:#7d4d39}.add-material{font-size:13px;min-height:44px;margin-top:4px}.add-material svg{width:17px;height:17px}
.laser-file-advice{background:#f3ecd8;border:2px solid #bba15c;padding:20px;color:#4a3a15}.file-advice .laser-file-heading{display:block;font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.3px;color:#473713}.file-advice .laser-file-instruction{font-size:17px;line-height:1.5;font-weight:650;margin:10px 0 16px;color:#55411b}.laser-layer-rules{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;font-weight:700}.laser-layer-rules>span{display:flex;align-items:center;gap:8px;border-radius:8px;padding:9px 11px;background:#fffaf0}.laser-layer-rules i{width:10px;height:10px;border-radius:50%;background:currentColor}.laser-red{color:#9c342c}.laser-blue{color:#245b9c}.estimate-lines dt{overflow-wrap:anywhere}.estimate-lines dd{white-space:nowrap}
.chat-action-label{display:none}
/* On a phone, the collapsed launcher leaves room for ordering. Opening it uses
   the entire visual viewport, including the area above the on-screen keyboard. */
@media(max-width:650px), (max-width:1000px) and (pointer:coarse){
  .student-layout{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
  .floating-chat.collapsed{top:auto;bottom:12px;left:12px;right:12px;width:auto;height:auto;max-height:none;border:2px solid #507965;border-radius:17px;box-shadow:0 8px 24px #294b3530}
  .floating-chat.collapsed .chat-header{padding:13px 15px}
  .floating-chat:not(.collapsed){position:fixed;top:var(--chat-top,0px);left:var(--chat-left,0px);right:auto;bottom:auto;width:var(--chat-width,100vw);height:var(--chat-height,100dvh);max-height:none;margin:0;border:0;border-radius:0;z-index:80;overscroll-behavior:none}
  .floating-chat:not(.collapsed) .chat-header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px;min-height:70px;flex-shrink:0}
  .floating-chat:not(.collapsed) #chat-body{height:0;max-height:none;flex:1 1 auto;min-height:0;overflow:hidden}
  .floating-chat:not(.collapsed) .chat-messages{height:auto;min-height:0;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:18px 15px;gap:14px}
  .floating-chat:not(.collapsed) .chat-compose{padding:12px 14px calc(12px + env(safe-area-inset-bottom));flex-shrink:0}
  .floating-chat .chat-compose textarea{font-size:16px;min-height:48px;height:48px;max-height:90px}
  .floating-chat .compose-footer .button{min-height:42px;padding:10px 16px;font-size:14px}
  .floating-chat .message-body{font-size:16px;line-height:1.55}
  .floating-chat .chat-action-label{display:block;font-size:12px;font-weight:600;color:#edf4e8;flex-shrink:0}
  .floating-chat #chat-chevron{font-size:26px;line-height:1}
  .floating-chat .chat-toggle>span:nth-child(2){min-width:0}.floating-chat .chat-toggle small{font-size:10px}
  .floating-chat .notification-tools,.floating-chat .notification-status,.floating-chat .chat-network,.floating-chat #older-messages{flex-shrink:0}
  .floating-chat.keyboard-open .notification-tools,.floating-chat.keyboard-open .notification-status,.floating-chat.keyboard-open .chat-network,.floating-chat.keyboard-open .chat-route{display:none}
  .floating-chat.keyboard-open .chat-header{padding-top:8px;padding-bottom:8px;min-height:58px}
  .floating-chat.keyboard-open .chat-compose{padding:8px 12px max(8px,env(safe-area-inset-bottom))}
  .floating-chat.keyboard-open .compose-footer small{display:none}
  #toast{bottom:calc(104px + env(safe-area-inset-bottom));z-index:100;max-width:calc(100vw - 28px)}
  .mobile-chat-open #toast{top:calc(78px + env(safe-area-inset-top));bottom:auto}
}
@media(max-width:480px){
  .laser-materials{padding:12px}.laser-material-row{grid-template-columns:minmax(0,1fr) 64px 30px;gap:8px}.laser-material-row .material-choice{grid-column:1/-1}.laser-material-row .material-sheets{grid-column:1/3;display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:10px}.laser-material-row .remove-material{margin-top:0;width:30px;height:46px}.laser-material-row .material-detail{min-height:0}
  .file-advice .laser-file-heading{font-size:21px}.file-advice .laser-file-instruction{font-size:16px}.laser-layer-rules{font-size:12px;gap:7px}.laser-layer-rules>span{padding:8px 10px}
}

.brand img{border-radius:10px}.boot img{border-radius:14px}

/* Updates wait for unfinished work; this notice never captures taps. */
.app-update{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(560px,calc(100vw - 24px));padding:10px 16px;border:1px solid #b8cabe;border-radius:14px;background:#edf4ec;color:#244c3d;box-shadow:0 4px 18px #203e3020;font-size:13px;line-height:1.45;z-index:180;pointer-events:none}

/* Clear per-device notification state; sample never changes the saved toggle. */
.notification-button{cursor:pointer;min-height:36px;font-weight:600;transition:background .15s,border-color .15s}
.notification-button[aria-pressed="true"]{background:#245f49;color:#fff;border-color:#245f49;box-shadow:0 1px 3px #183e2520}
.notification-button[data-state="blocked"]{background:#fff2e1;color:#795019;border-color:#c99d66}
.notification-button:disabled{cursor:wait;opacity:.75}
.notification-button:focus-visible,.notification-preview:focus-visible{outline:3px solid #b98345;outline-offset:2px}
.notification-preview{align-self:flex-start;margin:0 12px 7px;border:0;border-bottom:1px dotted currentColor;padding:2px 0;background:transparent;color:#345941;font:inherit;font-size:11px;cursor:pointer;flex-shrink:0}
.notification-status{font-size:11px}
.floating-chat.keyboard-open .notification-preview{display:none}
