/* These rules apply only to the phone association-style maintenance sheets. */
@media (max-width:768px), (hover:none) and (pointer:coarse) and (max-width:1024px){
 body:has(.ma-app) #content,body:has(.ma-project-list) #content{padding:0!important;max-width:none!important;width:100%!important}
 body:has(.ma-app) #mainView,body:has(.ma-project-list) #mainView{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
 .mw-workspace:has(.ma-app),.mw-workspace:has(.ma-project-list){background:#f2f3f5!important;color:#333;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:14px;padding:0!important;min-height:100dvh}
 .mw-workspace .ma-header{display:flex;align-items:center;gap:8px;min-height:48px;background:#c81724;color:#fff;padding:0 10px;margin:0 -0px;position:sticky;top:0;z-index:21;border:0;border-radius:0}
 .mw-workspace .ma-header h2{flex:1;margin:0!important;padding:0;text-align:center;color:#fff!important;font-size:18px!important;font-weight:600;line-height:48px}
 .mw-workspace .ma-header button{min-width:36px;min-height:36px;margin:0;padding:0 4px;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;color:#fff!important;font-size:24px!important;font-weight:400}
 .mw-workspace .ma-header button:last-child{font-size:20px!important}
 .mw-workspace .ma-app{padding:10px 10px 84px;background:#f2f3f5;min-height:calc(100dvh - 48px)}
 .mw-workspace .ma-message{margin:0;padding:10px 12px;background:#ecf5ed;color:#276c31;font-size:12px;line-height:1.5;position:relative;z-index:1}
 .mw-workspace .ma-message.is-error{background:#fff0ee;color:#b32128}
 .mw-workspace .ma-message[hidden]{display:none}
 .mw-workspace .ma-project-list{padding:10px}
 .mw-workspace .ma-project-card{display:block;width:100%;text-align:left;padding:18px 14px;margin-bottom:10px;border:1px solid #e8e8e8;background:#fff;color:#333;border-radius:3px;box-shadow:none;font-size:15px}
 .mw-workspace .ma-project-card strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
 .mw-workspace .ma-project-card span{display:block;color:#777;font-size:12px;padding-top:10px}.mw-workspace .ma-project-card b{float:right;font-size:23px;color:#aaa}
 .mw-workspace .ma-project-info,.mw-workspace .ma-signin,.mw-workspace .ma-month-section{background:#fff;border:1px solid #e8e8e8;border-radius:2px;margin:0 0 10px;padding:12px}
 .mw-workspace .ma-app h3{font-size:15px!important;color:#333!important;line-height:1.5;margin:0 0 10px!important;font-weight:600}
 .mw-workspace .ma-project-info h3{border-bottom:1px solid #eee;padding-bottom:10px}
 .mw-workspace .ma-project-info dl{display:grid;grid-template-columns:68px 1fr;gap:9px 6px;margin:0;font-size:13px;line-height:1.5}
 .mw-workspace .ma-project-info dt{color:#888}.mw-workspace .ma-project-info dd{margin:0;overflow-wrap:anywhere}.mw-workspace .ma-project-info dd span{color:#b52c35;font-size:11px;display:inline-block;margin-left:5px}
 .mw-workspace .ma-signin p{margin:4px 0 10px;color:#777;font-size:12px;line-height:1.5}.mw-workspace .ma-signin .ma-signed{color:#42a627}
 .mw-workspace .ma-signin textarea{width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:0;padding:9px;min-height:50px;font-size:13px;margin:0 0 10px;background:#fff;color:#444}
 .mw-workspace .ma-signin small{color:#888;font-size:12px}.mw-workspace .ma-signin .ma-sign-button{background:#c81724;color:#fff;border:0;border-radius:3px;min-height:36px;padding:7px 22px;margin-top:8px;font-size:13px}
 .mw-workspace .ma-signin-identity{display:flex;align-items:center;gap:8px;margin-bottom:10px}.mw-workspace .ma-signin-identity strong{font-size:15px}.mw-workspace .ma-signin-identity span,.mw-workspace .ma-arrival-record>div>span{color:#777;font-size:11px}
 .mw-workspace .ma-arrival-form{border-top:1px solid #eee;padding-top:12px}.mw-workspace .ma-portrait-row{display:flex;gap:12px;align-items:center;margin-bottom:12px}.mw-workspace .ma-portrait-row>div:last-child{min-width:0;flex:1}.mw-workspace .ma-portrait-row small{display:block;margin-top:6px;line-height:1.5}
 .mw-workspace .ma-portrait-capture{display:inline-flex;position:relative;align-items:center;justify-content:center;min-height:38px;padding:6px 14px;background:#c81724;color:#fff;border-radius:3px;overflow:hidden;box-sizing:border-box;font-size:13px}.mw-workspace .ma-portrait-capture input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
 .mw-workspace .ma-portrait-preview,.mw-workspace .ma-portrait-preview>img{width:82px;height:100px;flex:none;object-fit:cover;border-radius:2px}.mw-workspace .ma-portrait-preview .ma-photos{margin:0}.mw-workspace .ma-portrait-preview .ma-photo{width:82px;height:100px;box-sizing:border-box}.mw-workspace .ma-portrait-preview .ma-photo img{object-fit:cover}
 .mw-workspace .ma-signin .ma-portrait-pending,.mw-workspace .ma-signin .ma-arrival-missing{color:#b76a24}.mw-workspace .ma-signin .ma-portrait-ready{color:#3d8c35}
 .mw-workspace .ma-signin .ma-arrival-secondary{border:1px solid #ddd;color:#666;background:#fff;font-size:12px;min-height:32px;padding:5px 10px;border-radius:3px;box-shadow:none;margin:3px 6px 3px 0}
 .mw-workspace .ma-arrival-location{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.mw-workspace .ma-arrival-location>span{color:#777;font-size:11px;line-height:1.5}.mw-workspace .ma-arrival-location .ma-arrival-secondary{flex:none;margin-right:0}
 .mw-workspace .ma-arrival-note{display:block;font-size:12px;color:#666}.mw-workspace .ma-arrival-note>span{display:block;margin-bottom:5px}.mw-workspace .ma-signin .ma-arrival-note textarea{margin-bottom:0;border-radius:2px}.mw-workspace .ma-signin .ma-sign-button{min-height:38px;margin-right:8px}
 .mw-workspace .ma-arrival-record{display:flex;align-items:flex-start;gap:10px;padding:8px 0 12px}.mw-workspace .ma-arrival-record>div:first-child{flex:1;min-width:0}.mw-workspace .ma-arrival-record strong{font-size:13px;margin-right:8px}.mw-workspace .ma-arrival-record small{display:block;font-size:11px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.mw-workspace .ma-arrival-record .ma-photos{flex:none;margin:0}.mw-workspace .ma-signin .ma-arrival-record p{margin:5px 0;color:#555;overflow-wrap:anywhere}
 .mw-workspace .ma-arrival-history,.mw-workspace .ma-arrival-team,.mw-workspace .ma-arrival-support{border:0!important;border-top:1px solid #eee!important;background:#fff!important;padding:10px 0 0!important;margin:10px 0 0!important}.mw-workspace .ma-arrival-history>summary,.mw-workspace .ma-arrival-team>summary,.mw-workspace .ma-arrival-support>summary{font-size:12px;color:#666;margin:0;padding:0}.mw-workspace .ma-arrival-history .ma-arrival-record,.mw-workspace .ma-arrival-team .ma-arrival-record{border-bottom:1px solid #eee;margin-top:6px}
 .mw-workspace .ma-year{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.mw-workspace .ma-year button{background:none;color:#777;border:0;box-shadow:none;min-height:30px;padding:0 10px;font-size:22px}.mw-workspace .ma-year strong{font-size:14px;font-weight:500}
 .mw-workspace .ma-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .mw-workspace .ma-month-grid button{display:block;min-height:62px;background:#fff;color:#d22430;border:1px solid #e6c7c9;border-radius:3px;padding:8px 2px;box-shadow:none;text-align:center}
 .mw-workspace .ma-month-grid button strong{display:block;font-size:15px;font-weight:500}.mw-workspace .ma-month-grid button small{display:block;font-size:10px;color:#888;margin-top:6px}
 .mw-workspace .ma-month-grid button.is-current{border-color:#c81724;background:#fff3f4}.mw-workspace .ma-month-grid button:disabled{opacity:1;color:#b3b3b3;border-color:#eee;background:#f9f9f9}.mw-workspace .ma-month-grid button:disabled small{color:#aaa}
 .mw-workspace .ma-month-choices{border-top:1px solid #eee;padding-top:10px;margin-top:12px}.mw-workspace .ma-month-choices>strong{font-size:12px;color:#777}.mw-workspace .ma-month-choices>button{display:block;width:100%;border:0;border-bottom:1px solid #eee;border-radius:0;background:#fff;color:#555;text-align:left;font-size:12px;padding:12px 0;box-shadow:none}.mw-workspace .ma-month-choices small{display:block;margin-top:5px;color:#a6676b}
 .mw-workspace .ma-enter{display:block;width:100%;margin-top:12px;background:#c81724;color:#fff;border:0;min-height:40px;border-radius:3px;font-size:14px}
 .mw-workspace .ma-sheet-view{padding:0 0 76px;min-width:0;width:100%;box-sizing:border-box}
 .mw-workspace .ma-month-strip{background:#55585d;color:#fff;text-align:center;padding:9px 12px;font-size:14px;line-height:1.5}
 .mw-workspace .ma-sheet-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;background:#fff;padding:11px 12px;border-bottom:1px solid #eee;line-height:1.5}
 .mw-workspace .ma-sheet-heading strong{font-size:14px;font-weight:500;white-space:nowrap}.mw-workspace .ma-sheet-heading span{font-size:11px;color:#888;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mw-workspace .ma-pages{display:flex;gap:0;background:#fff;position:sticky;top:48px;z-index:19;padding:7px 6px;border-bottom:1px solid #ddd}
 .mw-workspace .ma-pages button{flex:1;border:0;border-right:1px solid #eee;border-radius:0;background:white;color:#777;min-height:34px;padding:4px;font-size:14px;box-shadow:none}.mw-workspace .ma-pages button:last-child{border-right:0}.mw-workspace .ma-pages button.active{background:#c81724;color:#fff}
 .mw-workspace .ma-system{background:#fff;border:0;border-bottom:1px solid #e7e7e7;margin:0 0 10px;overflow:hidden;min-width:0}
 .mw-workspace .ma-system-title{display:flex;align-items:center;gap:6px;justify-content:space-between;background:#ededed;padding:10px 10px;min-height:42px;box-sizing:border-box}.mw-workspace .ma-system-title h3{font-size:14px!important;flex:1;margin:0!important}.mw-workspace .ma-system-title>div{display:flex;gap:5px;flex:none}
 .mw-workspace .ma-system-title button{background:#fff;border:1px solid #c4c4c4;color:#777;border-radius:2px;min-height:30px;font-size:11px;line-height:1.3;padding:4px 6px;box-shadow:none}.mw-workspace .ma-system-title button[data-mw=assoc-system-pass]{border-color:#a8c69b;color:#469f25}
 .mw-workspace .ma-system-verdict{display:inline-block;font-size:11px;font-weight:400;margin-left:6px}.mw-workspace .ma-system-verdict.is-pass{color:#4b912f}.mw-workspace .ma-system-verdict.is-fail{color:#bb3640}
 .mw-workspace .ma-check-row{padding:0 10px;background:#fff;border-bottom:1px solid #ededed;min-width:0}.mw-workspace .ma-check-row:last-child{border-bottom:0}
 .mw-workspace .ma-row-main{display:grid;grid-template-columns:22px minmax(0,1fr) 108px;gap:6px;padding:12px 0;align-items:start;min-height:80px;box-sizing:border-box}
 .mw-workspace .ma-cycle{color:#4799b2;font-size:10px;line-height:1.5;white-space:nowrap;padding-top:2px}
 .mw-workspace .ma-row-text{min-width:0}.mw-workspace .ma-row-text strong{font-size:13px;line-height:1.5;font-weight:600;color:#444;display:block;overflow-wrap:anywhere}
 .mw-workspace .ma-standard{border:0!important;padding:0!important;margin:4px 0 0!important;background:none!important}.mw-workspace .ma-standard>summary{margin:0;padding:0;font-size:11px;color:#8b8b8b;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;list-style:none;cursor:pointer}.mw-workspace .ma-standard>summary::-webkit-details-marker{display:none}.mw-workspace .ma-standard[open]>summary{display:block}.mw-workspace .ma-standard p{font-size:11px;line-height:1.5;color:#888;margin:5px 0 0}
 .mw-workspace .ma-three-states{display:flex;width:108px;border:1px solid #dedede;min-height:40px;background:#fff;box-sizing:border-box}
 .mw-workspace .ma-three-states button{padding:3px 1px;flex:1;min-width:0;min-height:40px;margin:0;background:#fff;color:#929292;border:0;border-left:1px solid #e4e4e4;border-radius:0;font-size:11px;line-height:1.3;font-weight:500;box-shadow:none;white-space:normal}
 .mw-workspace .ma-three-states button:first-child{border-left:0;color:#4aa72b}.mw-workspace .ma-three-states button:nth-child(2){color:#bb3640}.mw-workspace .ma-three-states button.is-pass{background:#67d011!important;color:white!important}.mw-workspace .ma-three-states button.is-fail{background:#d7353f!important;color:white!important}.mw-workspace .ma-three-states button.is-na{background:#f7e321!important;color:#514c13!important}.mw-workspace .ma-three-states button:disabled{opacity:.7}
 .mw-workspace input.ma-row-note{display:block;width:108px;box-sizing:border-box;border:1px solid #ededed!important;border-radius:0!important;font-size:11px!important;height:30px!important;min-height:30px!important;margin:4px 0 0;padding:4px!important;background:#fafafa;color:#555;box-shadow:none!important}
 .mw-workspace .ma-inline-measures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:0 0 12px;padding-left:28px}.mw-workspace .ma-inline-measures label{display:flex;align-items:center;gap:6px;min-width:0;margin:0;font-size:11px;color:#777}.mw-workspace .ma-inline-measures label>span{flex:1;line-height:1.5}.mw-workspace .ma-inline-measures input{width:68px!important;min-width:0;min-height:32px!important;height:32px;box-sizing:border-box;border:1px solid #ddd!important;border-radius:0!important;padding:4px!important;font-size:12px!important;background:#fff}
 .mw-workspace .ma-supplement{padding:0!important;border:0!important;margin:0 0 8px!important;background:none!important;color:#777;font-size:11px}.mw-workspace .ma-supplement summary{font-size:10px;color:#999;padding:0;line-height:1.5}.mw-workspace .ma-supplement p{margin:6px 0;line-height:1.5;overflow-wrap:anywhere}.mw-workspace .ma-supplement p>span{display:inline-block;color:#999;margin-right:8px}.mw-workspace .ma-supplement p button{background:none;border:0;padding:2px 4px;color:#527886;font-size:11px;box-shadow:none;min-height:24px}
 .mw-workspace .ma-system-end{padding:12px 10px;display:grid;gap:10px;background:#fff}.mw-workspace .ma-system-end>label{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:start;margin:0}.mw-workspace .ma-system-end>label>span{font-size:12px;color:#888;padding-top:8px}.mw-workspace .ma-system-end textarea{width:100%;min-height:46px;box-sizing:border-box;border:1px solid #e5e5e5!important;border-radius:0!important;padding:6px!important;background:#fafafa;color:#555;font-size:12px!important;resize:vertical}.mw-workspace .ma-system-photo-title{font-size:12px;color:#999}
 .mw-workspace .ma-end-row>label{display:block;margin:0;font-size:12px}.mw-workspace .ma-end-row>label>span{display:block;color:#777;font-size:11px;margin-bottom:5px}.mw-workspace .ma-end-section textarea,.mw-workspace .ma-end-section select,.mw-workspace input.ma-correction-note{width:100%;box-sizing:border-box;min-height:32px;border:1px solid #ddd!important;border-radius:0!important;background:#fff;color:#444;padding:6px 7px!important;font-size:12px!important;margin:0;box-shadow:none!important}
 .mw-workspace .ma-photos{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0}.mw-workspace .ma-photo{width:66px;height:66px;position:relative;border:1px solid #ddd;background:#f6f6f6}.mw-workspace .ma-photo>button:first-child{display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.mw-workspace .ma-photo img{display:block;width:100%;height:100%;object-fit:cover;font-size:9px;color:#999;overflow:hidden}.mw-workspace .ma-photo>button:last-child:not(:first-child){position:absolute;right:-5px;top:-5px;min-width:18px;min-height:18px;height:18px;padding:0;border-radius:50%;border:0;color:#fff;background:#d6303b;font-size:15px;line-height:18px;box-shadow:none}
 .mw-workspace .ma-photo-add{position:relative;display:flex;align-items:center;justify-content:center;width:66px;height:66px;box-sizing:border-box;border:1px dashed #ccc;background:white;color:#999;overflow:hidden}.mw-workspace .ma-photo-add span{font-size:25px;font-weight:400}.mw-workspace .ma-photo-add input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
 .mw-workspace .ma-bottom{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:0 0 env(safe-area-inset-bottom);background:#ddd;border-top:1px solid #ddd;box-shadow:0 -2px 8px #00000008}.mw-workspace .ma-bottom button{height:48px;border:0;border-radius:0;padding:5px;background:#fff;color:#333;font-size:14px;font-weight:500;box-shadow:none}.mw-workspace .ma-bottom button:last-child{background:#c81724;color:#fff}.mw-workspace .ma-bottom button:disabled{opacity:.5}.mw-workspace .ma-bottom.single{grid-template-columns:1fr}
 .mw-workspace .ma-end-section{background:#fff;border:1px solid #e6e6e6;margin:0 0 10px;padding:12px 10px}.mw-workspace .ma-end-section h3{background:#f2f2f2;margin:-12px -10px 12px!important;padding:10px;font-size:14px!important}.mw-workspace .ma-end-section>button{width:100%;background:#fff;color:#b8232d;border:1px dashed #d8bfc1;border-radius:2px;font-size:12px;min-height:32px;padding:5px;box-shadow:none}.mw-workspace .ma-end-row{display:grid;gap:8px;border-bottom:1px solid #eee;padding:0 0 12px;margin:0 0 12px}.mw-workspace .ma-end-row-title{display:flex;justify-content:space-between;color:#888;font-size:12px}.mw-workspace .ma-end-row-title button{border:0;background:transparent;color:#b75860;padding:0;min-height:24px;box-shadow:none;font-size:11px}
 .mw-workspace .ma-empty,.mw-workspace .ma-absent,.mw-workspace .ma-other-service{color:#999;font-size:12px;margin:12px;line-height:1.5}.mw-workspace .ma-original-failure{font-size:10px;color:#b76466;margin:4px 0}.mw-workspace .ma-original-failure button,.mw-workspace .ma-read-record{background:none;border:0;color:#99727a;min-height:24px;padding:2px 0;font-size:10px;box-shadow:none}.mw-workspace .ma-row-error{color:#b32128;background:#fff3f1;margin:4px 0;padding:6px;font-size:11px}
 .mw-workspace .ma-other-tasks{padding:10px;margin:10px 0;border:1px solid #ddd;background:#fff}.mw-workspace .ma-other-tasks summary{font-size:12px;color:#888;margin-bottom:8px}
 .mw-workspace .ma-row-conflict{padding:8px;margin:5px 0;background:#fff8e8;border:1px solid #f1dfb7;color:#97641d;font-size:11px;line-height:1.5}.mw-workspace .ma-row-conflict p{margin:0 0 6px}.mw-workspace .ma-row-conflict button{background:#fff;border:1px solid #d2b57b;color:#8d5e1b;font-size:11px;padding:5px 8px;border-radius:2px;box-shadow:none;min-height:30px}
 .mw-workspace .ma-retest-summary{margin:4px 0 9px;color:#777;font-size:11px;line-height:1.5}
 .mw-workspace .ma-retest-form{padding:10px;margin:7px 0 12px;background:#fafafa;border:1px solid #e4e4e4;display:grid;gap:9px}
 .mw-workspace .ma-retest-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#666}.mw-workspace .ma-retest-head button{border:0;background:none;color:#999;font-size:11px;padding:2px;min-height:24px;box-shadow:none}
 .mw-workspace .ma-retest-states{display:flex;gap:8px}.mw-workspace .ma-retest-states button{flex:1;min-height:34px;padding:5px;border:1px solid #ddd;background:#fff;color:#888;border-radius:2px;font-size:12px}.mw-workspace .ma-retest-states .is-pass{background:#67d011;border-color:#67d011;color:#fff}.mw-workspace .ma-retest-states .is-fail{background:#d7353f;border-color:#d7353f;color:#fff}
 .mw-workspace .ma-retest-form textarea{width:100%;min-height:50px;box-sizing:border-box;border:1px solid #ddd;padding:7px;border-radius:0;font-size:12px;line-height:1.5;color:#444;background:#fff}.mw-workspace .ma-retest-form .ma-inline-measures{padding:0;margin:0}.mw-workspace .ma-retest-form .ma-retest-save{justify-self:end;min-height:34px;padding:6px 15px;border-radius:2px;background:#c81724;border-color:#c81724;font-size:12px}
}
