#follow-ui{position:fixed;bottom:14px;right:235px;z-index:85}#follow-ui[hidden],#follow-ui [hidden]{display:none!important}#follow-toggle{background:#0e344b;color:white;border:1px solid #c0d4df;box-shadow:0 4px 18px #09293a25}#follow-pop{position:absolute;bottom:56px;right:0;width:390px;max-width:calc(100vw - 28px);max-height:min(65vh,550px);background:white;border:1px solid #c8d7e2;border-radius:14px;box-shadow:0 10px 40px #102b4040;padding:16px;overflow:auto}#follow-items button{display:block;width:100%;text-align:right;margin:6px 0}#follow-items small{display:block;font-size:11px}.drag-handle{cursor:grab;touch-action:none;user-select:none}.drag-handle:active{cursor:grabbing}.drag-handle small{display:block;font-size:10px;color:#7e8f9a}#hq-lines .line-editor{padding-bottom:12px}.search-list-menu{box-sizing:border-box}.search-list-results{max-height:230px;overflow:auto!important}.search-list-menu input{width:100%;box-sizing:border-box}@media(max-width:600px){#follow-ui{right:190px;bottom:10px}#follow-toggle,#notice-toggle{font-size:11px;padding:8px}.notice-circle{min-width:22px;height:22px}#follow-pop{right:auto;left:-160px;width:calc(100vw - 28px)}}
@media(max-width:600px){#project-reset-button{bottom:68px!important;left:10px!important;max-width:170px;font-size:9px!important;padding:8px!important}}

.follow-task-badge{display:inline-flex;background:#e99b23;color:#092f43;border-radius:50%;min-width:23px;height:23px;align-items:center;justify-content:center;margin:0 8px;font-weight:bold}#follow-preview{position:fixed;z-index:10050;background:white;border:1px solid #d5e3ea;box-shadow:0 10px 30px #1234;border-radius:12px;padding:12px;pointer-events:none;max-height:calc(100vh - 24px);overflow:auto}#follow-preview .wf-chart{display:flex;gap:5px;overflow:hidden;margin:8px 0}#follow-preview .wf-node{min-width:0;flex:1;padding:7px;font-size:9px}#follow-preview h4{font-size:10px;margin:5px 0}#follow-preview .wf-person,#follow-preview .wf-time,#follow-preview .wf-note{font-size:8px}#follow-preview .wf-legend{font-size:9px}#follow-preview .wf-number{width:18px;height:18px}#follow-preview .wf-caption{font-size:10px}

#project-reset-button{opacity:0;transition:opacity .18s ease}#project-reset-button:hover,#project-reset-button:focus-visible{opacity:1}
@media(hover:none){#project-reset-button{opacity:.15}#project-reset-button:active{opacity:1}}
#follow-preview{background:transparent;border:0;box-shadow:none;padding:0}#follow-preview>b,#follow-preview .wf-caption,#follow-preview .wf-legend{display:none}#follow-preview .wf-node{opacity:1}#follow-preview .wf-chart{background:transparent}
#follow-search,#internal-search,#message-search{width:100%;box-sizing:border-box;margin:8px 0;padding:9px;border:1px solid #cadbe5;border-radius:8px}#notice-items [hidden],#chat-messages [hidden]{display:none!important}.search-empty{color:#73899a;font-size:12px}

.equipment-name{display:flex;align-items:center;gap:12px}.equipment-gauge{--elapsed:0deg;display:inline-block;width:38px;height:38px;min-width:38px;border-radius:50%;background:conic-gradient(from -90deg,#249bd3 0deg var(--elapsed),#e4edf2 var(--elapsed) 360deg);border:2px solid #fff;outline:1px solid #a5becd;box-shadow:0 2px 6px #1232}.equipment-gauge.equipment-late{background:conic-gradient(from -90deg,#d65a48 0deg var(--elapsed),#e4edf2 var(--elapsed) 360deg)}

#iphone-internal-page[hidden]{display:none!important}#iphone-internal-page{position:fixed;inset:0;z-index:5000;background:#f3f7fa;overflow:auto;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}#iphone-internal-page>header{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;background:#f3f7fa;z-index:1}#iphone-internal-page h2{font-size:18px;color:#12384e}.iphone-mode>#comms-ui{display:none!important}#iphone-internal-page #comms-ui{position:static;display:block;width:100%;bottom:auto;right:auto;left:auto;top:auto}#iphone-internal-page #notice-toggle{display:none!important}#iphone-internal-page #notice-pop{position:static!important;width:100%!important;max-width:none!important;max-height:none!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;box-sizing:border-box;box-shadow:none}#iphone-internal-page #notice-pop>h3{display:none}#iphone-internal-page #notice-items{max-height:none}#iphone-internal-page #chat-messages{height:38dvh}.iphone-mode #follow-ui{right:12px}.iphone-mode #follow-items button{-webkit-touch-callout:none;user-select:none;touch-action:pan-y}.iphone-mode #follow-preview{z-index:10050}

/* iOS zooms focused controls with small text. Keep inputs readable at native scale. */
body.iphone-mode input,body.iphone-mode textarea,body.iphone-mode select,body.iphone-mode [contenteditable="true"]{font-size:16px!important;box-sizing:border-box;min-width:0;max-width:100%;line-height:1.5}
body.iphone-mode .search-list-menu input,body.iphone-mode #chat-text,body.iphone-mode #follow-search,body.iphone-mode #internal-search,body.iphone-mode #message-search{font-size:16px!important;width:100%;min-width:0}
body.iphone-mode #iphone-internal-page,body.iphone-mode #iphone-internal-body,body.iphone-mode #chat-form,body.iphone-mode #chat-pop,body.iphone-mode .formgrid>label{min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
body.iphone-mode{-webkit-text-size-adjust:100%;text-size-adjust:100%}

#screen-back{margin:6px 0;border-color:#b7cdd8;color:#0b5866}#iphone-screen-back{font-size:12px;padding:7px}#iphone-internal-page>header{flex-wrap:wrap}

.iphone-mode #follow-preview.iphone-tap-preview{pointer-events:auto;max-height:calc(100dvh - 110px);height:auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 2px 14px;color:#12384e}.iphone-mode #follow-preview.iphone-tap-preview h3{display:block;font-size:18px;font-weight:700;background:#eaf2f7;padding:8px;border-radius:8px;margin:0 0 8px}.iphone-flow-list{list-style:none;padding:0;margin:0}.iphone-flow-list .wf-node{min-width:0;margin:0 0 22px;position:relative;padding:14px;border-width:2px;border-radius:10px;opacity:1}.iphone-flow-list .wf-node>b{display:block;font-size:17px!important;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.iphone-flow-list .wf-node>small{display:block;font-size:14px!important;font-weight:600}.iphone-flow-list .wf-node:not(:last-child)::after{content:'↓';position:absolute;bottom:-25px;right:50%;font-size:20px;font-weight:bold;color:#506f80}
.iphone-flow-list .wf-node{background:#f5f8fa;border:2px solid #cfdee6;color:#153d50}.iphone-flow-list .wf-done{background:#edf8f2;border-color:#298460}.iphone-flow-list .wf-active{background:#fff8eb;border-color:#e5a132}.iphone-flow-list .wf-overdue{background:#fff0ee;border-color:#d75648}.iphone-flow-list .wf-node:not(:last-child)::after{top:auto;left:auto;bottom:-25px;right:50%}

.iphone-mode #follow-preview.iphone-tap-preview .workflow-route.wf-chart{display:flex;flex-direction:column;gap:30px;padding:12px 4px 24px;overflow:visible;margin:0}
.iphone-mode #follow-preview.iphone-tap-preview .wf-node{flex:auto;min-width:0;min-height:130px;width:100%;padding:16px;border-radius:14px;font-size:inherit;opacity:1}
.iphone-mode #follow-preview.iphone-tap-preview .wf-node h4{font-size:14px;margin:14px 0 9px}
.iphone-mode #follow-preview.iphone-tap-preview .wf-person{font-size:11px;line-height:1.9;color:#45687c}
.iphone-mode #follow-preview.iphone-tap-preview .wf-number{width:30px;height:30px}
.iphone-mode #follow-preview.iphone-tap-preview .wf-time{font-size:11px}
.iphone-mode #follow-preview.iphone-tap-preview .wf-node:not(:last-child)::after{content:'↓';left:50%;top:auto;bottom:-32px}
.iphone-mode #follow-preview.iphone-tap-preview .wf-status{font-size:11px}
.iphone-mode #follow-preview.iphone-tap-preview>h3{background:transparent;padding:0;font-size:16px}

.equipment-gauge.equipment-available{background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#143c50;font-size:9px;font-weight:700}
