@media (max-width: 599px){.phone-prepare{padding:24px 16px calc(160px + env(safe-area-inset-bottom,0px));gap:24px;background:var(--phone-bg, #f5f6f8);color:var(--phone-ink, #17212d);font:16px/1.5 var(--ui)}.phone-prepare h1,.phone-prepare h2,.phone-prepare h3{font-family:var(--ui);color:var(--phone-ink, #17212d)}.phone-prepare .pp-title,.phone-prepare .sbtitle h2{margin:0;font-size:22px;font-weight:650;line-height:1.3;letter-spacing:-.025em}.phone-prepare .sbtitle{display:block}.phone-prepare .sbjob{display:block;margin-top:8px;font-size:16px;line-height:1.5}.phone-prepare .pp-intro{margin:-8px 0 0;font-size:15px;line-height:1.5;color:var(--phone-muted, #596778)}.phone-prepare .sbident,.phone-prepare .pshead{display:flex;flex-direction:column;align-items:stretch;gap:16px}.phone-prepare .pstitle h2{display:flex;flex-direction:column;gap:4px;margin:0}.phone-prepare .psjobno{font-size:13px;color:var(--phone-muted, #596778)}.phone-prepare .psjobname{font-size:17px;font-weight:600}.phone-prepare .pshead .psctl{width:100%;align-items:stretch}.phone-prepare .psdate{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;width:100%;padding:8px 0;border-radius:12px;background:var(--phone-surface, #fff)}.phone-prepare .psdatestep{width:44px;min-height:48px}.phone-prepare .psdateline{display:block}.phone-prepare .psdateday{display:block;margin-top:4px;font-size:14px;color:var(--phone-muted, #596778)}.phone-prepare .psdate input{width:100%;min-height:44px;height:auto}[data-theme=dark] .phone-prepare input[type=date]{color-scheme:dark}.phone-prepare .pp-context{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.phone-prepare label,.phone-prepare .sbfield{display:block;min-width:0}.phone-prepare .sbfield>span{display:block;font-size:14px;margin-bottom:8px}.phone-prepare input:not([type=radio]):not([type=checkbox]),.phone-prepare select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;height:auto;border-radius:10px;border:1px solid var(--phone-line, #dce2e8);padding:10px 12px;background:var(--phone-surface, #fff);color:var(--phone-ink, #17212d);font:16px/1.5 var(--ui)}.phone-prepare .btn,.phone-prepare .sbbtn{min-height:48px;font:16px/1.35 var(--ui);border-radius:12px;white-space:normal}.phone-prepare .sbcard,.phone-prepare .pscard{border:1px solid var(--phone-line, #dce2e8);border-radius:12px;padding:16px;background:var(--phone-surface, #fff);box-shadow:none}.phone-prepare .sbcardhead,.phone-prepare .pscardhead{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 0 16px}.phone-prepare .sbcardhead h3,.phone-prepare .pscardhead h3{font-size:20px;margin:0}.phone-prepare .sbfacts{gap:8px}.phone-prepare .sbfact{max-width:100%;overflow-wrap:anywhere;white-space:normal}.phone-prepare .sbfact b,.phone-prepare .sbfact i{font-size:12px}.phone-prepare .sbwarn,.phone-prepare .pswarn,.phone-prepare .sbsetup{font-size:14px;line-height:1.5;padding:16px;border-radius:12px}.phone-prepare .pp-fold{margin:0;border:1px solid var(--phone-line, #dce2e8);border-radius:12px;background:var(--phone-surface, #fff);min-width:0}.phone-prepare .pp-fold>summary{min-height:48px;box-sizing:border-box;padding:14px 16px;font-size:15px;line-height:1.4;cursor:pointer;color:var(--phone-accent, #153E6F)}.phone-prepare .pp-fold-body{padding:8px 16px 16px;display:grid;gap:16px;min-width:0}.phone-prepare .pp-fold .sbhead,.phone-prepare .pp-fold .sbctl,.phone-prepare .pp-fold .pstools,.phone-prepare .pp-fold .pstplbar{display:flex;flex-direction:column;align-items:stretch;margin:0;gap:16px}.phone-prepare .pp-fold .sbmeta{grid-template-columns:minmax(0,1fr)}.phone-prepare .pp-fold .psbody{display:flex;flex-direction:column;gap:16px;min-width:0}.phone-prepare .pp-fold .psstack,.phone-prepare .pp-fold .psrail{min-width:0;width:100%;max-height:none}.phone-prepare .pp-fold .psstrip{width:100%}.phone-prepare .pp-workers{display:grid;gap:16px}.phone-prepare .pp-worker{border-top:1px solid var(--phone-line, #dce2e8);padding-top:16px;min-width:0}.phone-prepare .pp-worker-name{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.phone-prepare .pp-worker-name>[data-pick]{flex:1;min-width:0;width:auto;text-align:left;padding:8px 0;min-height:48px;background:transparent}.phone-prepare .pp-worker-name .sbnm,.phone-prepare .pp-worker-name .psnm{display:block;white-space:normal;font-size:17px;line-height:1.4;color:var(--phone-ink, #17212d)}.phone-prepare .pp-worker-name .sbemp,.phone-prepare .pp-worker-name .psemp{font-size:13px;line-height:1.5}.phone-prepare .pp-worker-name [data-drop]{position:static;min-width:44px;width:44px;min-height:44px;margin:0}.phone-prepare .pp-worker .psrmoves{position:static;display:flex;gap:8px;width:100%;transform:none}.phone-prepare .pp-worker .psrmove{position:static;width:auto;flex:1;min-height:44px;font-size:14px;padding:8px}.phone-prepare .pp-worker-rates{font-size:14px;color:var(--phone-muted, #596778);margin:8px 0 12px}.phone-prepare .pp-worker .pp-fold{background:var(--phone-bg, #f5f6f8);border:0}.phone-prepare .pp-worker-field{display:block;min-width:0}.phone-prepare .pp-label{display:block;font-size:13px;line-height:1.4;text-transform:none;color:var(--phone-muted, #596778);margin-bottom:8px}.phone-prepare .pp-worker-note{margin-top:12px;font-size:14px;line-height:1.5}.phone-prepare .pp-worker-note span{font-size:inherit;display:block}.phone-prepare .pp-empty{margin:0;color:var(--phone-muted, #596778);font-size:15px}.phone-prepare .sbrowactions,.phone-prepare .psrowacts{display:grid;gap:12px;margin-top:16px}.phone-prepare .sbsub,.phone-prepare .pshandnote{font-size:13px;line-height:1.5}.phone-prepare .sbcls,.phone-prepare .pscls{display:flex;flex-wrap:wrap;gap:4px}.phone-prepare .sbclsopt,.phone-prepare .psclsopt,.phone-prepare [data-classpick]{min-width:44px;min-height:44px;font-size:15px}.phone-prepare .pp-actions{position:fixed;bottom:0;left:0;right:0;z-index:var(--layer-sticky, 20);margin:0;border-radius:0;border-width:1px 0 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}.phone-prepare .pp-actions .sbbtns,.phone-prepare .pp-actions .psbtns{display:block;padding:0}.phone-prepare .pp-actions #sbPrint,.phone-prepare .pp-actions #psPrint{width:100%;margin:0;background:var(--phone-accent, #153E6F);color:var(--phone-surface, #fff);border:1px solid var(--phone-accent, #153E6F)}.phone-prepare .pp-actions .psstamp{font-size:12px;margin:0 0 8px}.phone-prepare .pp-actions .pswarn{padding:0;border:0;margin:0 0 8px;background:transparent;font-size:12px}.phone-prepare .pp-small{margin:8px 0 0;text-align:center;font-size:12px;line-height:1.4;color:var(--phone-muted, #596778)}.phone-prepare .psgate{padding:16px;border-radius:12px;font-size:15px}.phone-prepare .psgateopen{width:100%}.phone-prepare .psformframe{min-height:460px}.sbprint h3,.psprint h3{font:650 22px/1.3 var(--ui)}.sbfiles,.psfiles{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.sbfile,.psfile{min-height:64px;padding:16px;border-radius:12px}.sbfile b,.psfile b{font-size:17px}.sbfile span,.psfile span{font-size:13px;overflow-wrap:anywhere}.main-scroll:has(.psixhead){padding:24px 16px}.psixhead h2{font:650 22px/1.3 var(--ui)}.psixhead>.chip{display:none}.psixbar{margin:24px 0}.psixbar .ftextwrap{flex:1;width:100%}.psixbar input{width:100%;min-height:48px;border-radius:12px;padding:12px}.psphonejobs{display:grid;gap:12px}.psphonejob{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;width:100%;border:1px solid var(--phone-line, #dce2e8);border-radius:12px;background:var(--phone-surface, #fff);color:var(--phone-ink, #17212d);text-align:left;cursor:pointer}.psphonejob>span:first-child{flex:1;min-width:0}.psphonejob b{display:block;font:600 17px/1.4 var(--ui);margin:4px 0 8px;overflow-wrap:anywhere}.psphonejob small,.psphonejob em,.psphonejob span span{display:block;font:400 13px/1.5 var(--ui);color:var(--phone-muted, #596778)}.psphonejob em{margin-top:8px}.psphonejob>span:last-child{font-size:26px;color:var(--phone-muted, #596778)}.pssubhead{font:600 16px/1.4 var(--ui);margin:24px 0 12px}.psjobs thead{display:none}.psjobs,.psjobs tbody,.psjobs tr,.psjobs td{display:block;width:auto;min-width:0}.psjobs tr{padding:16px;margin:0 0 12px;border:1px solid var(--phone-line, #dce2e8);border-radius:12px;background:var(--phone-surface, #fff)}.psjobs td{padding:4px 0;border:0;font-size:15px}.psjobs .pssub{font-size:15px;white-space:normal}.psjobs .psopen{min-height:44px;font-size:16px;padding:8px 0}}
