/* Purpose-built touch workspace. Desktop retains its existing layouts. */
.mobile-bottom-nav,.mobile-menu-head,.mobile-nav-backdrop{display:none}
@media(max-width:1023px){
 :root{--mobile-nav-height:calc(64px + env(safe-area-inset-bottom));--mobile-surface:#fff;--mobile-ink:#203d34;--mobile-muted:#60756e;--mobile-line:#e2eae6;--mobile-bg:#f3f6f4}
 html{scroll-padding-top:68px;scroll-padding-bottom:90px}
 body{background:var(--mobile-bg);font-size:14px;-webkit-text-size-adjust:100%;color:var(--mobile-ink)}
 *,*:before,*:after{box-sizing:border-box}
 [hidden]{display:none!important}
 button,a,input,textarea,select,summary{touch-action:manipulation}
 a,button{-webkit-tap-highlight-color:transparent}
 button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #24634e;outline-offset:3px}
 .shell{display:block;min-height:100dvh}.main{width:100%;margin:0;min-width:0;padding-bottom:var(--mobile-nav-height)}
 .sidebar{display:none!important}.shell .sidebar.mobile-open{display:flex!important;position:fixed;inset:0 0 0 auto;width:min(340px,90vw);height:100dvh;z-index:72;padding-top:env(safe-area-inset-top);border-radius:24px 0 0 24px;box-shadow:-12px 0 50px #173c3526;overflow:auto;background:#fff;transform:none!important}
 .sidebar.mobile-open .brand,.sidebar.mobile-open .workspace-label{display:none}.sidebar .nav{padding:8px 16px;overflow:visible;flex:1}.sidebar .nav a,.sidebar .nav-group-toggle{min-height:48px;border-radius:12px;font-size:15px}.sidebar-bottom{padding:16px 18px calc(20px + env(safe-area-inset-bottom))}.profile-name{font-size:15px}
 .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 14px}.mobile-menu-head strong{display:block;font-size:21px}.mobile-menu-head small{display:block;margin-top:6px;color:var(--mobile-muted);font-size:13px}
 .mobile-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#152c2466;z-index:71}.mobile-sheet-open{overflow:hidden}
 .topbar{height:56px;min-height:56px;position:sticky;top:0;z-index:30;padding:0 16px;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--mobile-line)}
 .breadcrumb{gap:4px;min-width:0;flex:1}.breadcrumb>span,.breadcrumb>.icon,.today,.topbar .role-pill,.topbar [data-act="password"],.topbar .message-alert-entry,.mobile-menu{display:none!important}.breadcrumb>b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--mobile-ink)}
 .top-actions{gap:0;flex:none}.top-actions>.icon-btn{min-width:44px;min-height:44px}.workspace-tabs{display:none!important}.content{padding:20px 16px 24px;min-width:0;overflow:visible}
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;min-height:var(--mobile-nav-height);padding:5px 8px calc(5px + env(safe-area-inset-bottom));z-index:40;background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid var(--mobile-line);box-shadow:0 -4px 20px #173c3505}
 .mobile-bottom-nav>a,.mobile-bottom-nav>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:54px;border:0;background:transparent;color:#708078;font:inherit;font-size:11px;position:relative;text-decoration:none;border-radius:12px}
 .mobile-bottom-nav .icon{width:22px;height:22px}.mobile-bottom-nav [aria-current="page"]{color:#24634e;font-weight:700;background:#edf5ef}.mobile-bottom-nav i{position:absolute;right:calc(50% - 16px);top:7px;width:7px;height:7px;background:#c54640;border:1px solid #fff;border-radius:50%}
 .mobile-keyboard-open .mobile-bottom-nav{display:none}.mobile-keyboard-open .main{padding-bottom:0}
 .btn,.icon-btn{min-height:44px;font-size:14px;padding:10px 14px;line-height:1.4;border-radius:10px;justify-content:center}.icon-btn{min-width:44px;padding:10px}.btn.small,.btn.ghost.small{min-height:40px;font-size:13px}.btn .icon{width:17px;height:17px}.actions{gap:8px;flex-wrap:wrap}
 .page-head{display:block;margin-bottom:20px}.page-head .eyebrow{display:none}.page-head h1{font-size:25px;line-height:1.35;letter-spacing:0;color:var(--mobile-ink)}.page-head p{font-size:13px;line-height:1.7;margin-top:8px;color:var(--mobile-muted)}.page-head>.actions{margin-top:14px;display:flex;gap:8px}.page-head>.actions>.btn{flex:1}.page-head>.actions>.ghost{flex:0 1 auto}
 .card,.form-section{border:1px solid var(--mobile-line);border-radius:16px;box-shadow:none;background:#fff;overflow:visible}.card-head{padding:16px;flex-wrap:wrap;gap:10px}.card-head h2,.card-pad h2{font-size:17px;line-height:1.4}.card-head p,.card-footer,.stats-note{font-size:12px;line-height:1.7;color:var(--mobile-muted)}.card-pad{padding:18px}.card-footer{padding:14px 16px}.stack{gap:16px}.detail-grid,.dashboard-grid{display:flex;flex-direction:column;gap:16px}.detail-grid>.stack,.detail-grid>aside{width:100%;min-width:0}.notice{font-size:13px;line-height:1.7;padding:12px 14px;overflow-wrap:anywhere}.empty{padding:30px 16px;font-size:14px;line-height:1.7}.badge,.tag{font-size:12px;line-height:1.5}.badge{padding:4px 8px}
 .mobile-record-list{display:grid;gap:12px;min-width:0;padding:12px}.mobile-order-card{padding:16px;border:1px solid var(--mobile-line);border-radius:14px;background:white;min-width:0;overflow-wrap:anywhere}.mobile-order-card.is-urgent{border-color:#e8c0b9}.mobile-order-card.is-undownloaded{border-color:#b9d6c4;background:#fcfefc}
 .mobile-record-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mobile-record-top>.mobile-code{margin-right:auto}.mobile-code{color:var(--mobile-muted);font-size:11px;font-variant-numeric:tabular-nums}.mobile-record-top .order-status-cell{display:flex;flex-wrap:wrap;gap:4px}.mobile-record-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.6}.mobile-record-identity>strong{font-size:16px;color:var(--mobile-ink)}.mobile-record-identity>span:not(.badge):not(.avatar){font-size:12px;color:var(--mobile-muted)}
 .mobile-order-card h3{font-size:16px;line-height:1.6;margin:10px 0 12px;font-weight:600;color:var(--mobile-ink)}.mobile-order-card h3>a{display:flex;align-items:flex-start;gap:6px;color:inherit;white-space:normal}.mobile-order-card h3 .icon{flex:none;width:16px;height:20px;margin-left:auto}.mobile-record-meta{display:grid;gap:8px;margin:0;padding:0}.mobile-record-meta>div{display:flex;align-items:baseline;gap:12px;line-height:1.6}.mobile-record-meta dt{width:64px;flex:none;color:var(--mobile-muted);font-size:12px}.mobile-record-meta dd{margin:0;font-size:13px;flex:1;min-width:0;color:#354f43}
 .mobile-projects{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.mobile-projects>span{display:inline-flex;align-items:center;gap:6px;background:#f1f5f2;border-radius:6px;padding:6px 8px;font-size:12px;color:#345f47}.mobile-projects small{font-size:10px;color:#677c6c}.mobile-record-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--mobile-line);padding-top:12px;margin-top:14px}.mobile-record-actions>.btn{flex:1}.mobile-record-actions>.delivery-downloads{flex:1;min-width:0}.mobile-record-actions>.delivery-downloads .btn{width:100%}
 .mobile-record-extra{margin-top:12px;color:var(--mobile-muted)}.mobile-record-extra>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:12px;min-height:40px}.mobile-record-extra>summary::-webkit-details-marker{display:none}.mobile-record-extra>summary .icon{width:15px}.mobile-record-extra[open]>summary{margin-bottom:8px}.mobile-record-extra .order-list-tags{min-width:0}.mobile-record-extra .writer-note-editor,.mobile-record-extra .order-note-preview{max-width:100%;white-space:normal}.mobile-attention{display:flex;align-items:start;gap:6px;color:#a14231;background:#fff4ef;font-size:12px;line-height:1.7;padding:9px;border-radius:8px;margin:10px 0}.mobile-attention>.icon{flex:none;width:16px;margin-top:3px}.mobile-wait{padding:10px 0;font-size:13px}
 .mobile-ticket-order{font-size:12px;line-height:1.65;color:var(--mobile-muted);margin:8px 0}.mobile-requirement{font-size:14px;line-height:1.75;margin:12px 0;padding:12px;background:#f5f8f5;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere}.mobile-ticket-card .mobile-requirement{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mobile-delivery-project{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 14px}.mobile-delivery-state{font-size:12px;margin-top:12px}.mobile-file-count{color:var(--mobile-muted);font-size:13px;margin-top:14px}.delivery-file-list,.delivery-file-list>div{max-width:100%;font-size:13px}.delivery-file-list a{font-size:13px;min-height:40px}.delivered-history{margin-top:12px}.delivered-history summary{min-height:44px;display:flex;align-items:center;font-size:13px}.delivered-history ol{padding-left:18px}.delivered-history .delivery-history-heading{flex-wrap:wrap}
 .mobile-select{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px;flex:1}.mobile-select input{width:20px;height:20px;accent-color:#24634e}.writer-select-bar{padding:14px 16px;background:#f4f8f4;position:sticky;top:56px;z-index:12}.pending-order-list>.stats-note{padding:0 16px}.batch-assignment-bar{position:sticky;top:56px;z-index:12;flex-wrap:wrap;font-size:13px;background:#fff;padding:12px}
 .table-pagination{padding:14px 12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid var(--mobile-line)}.page-summary{font-size:12px}.page-actions{flex-wrap:wrap;gap:8px}.page-size-controls select{font-size:13px;height:40px;width:106px}.page-number,.page-arrow{min-width:40px;height:40px;font-size:13px}.page-navigation{gap:2px;flex-wrap:wrap}.page-size-controls{gap:6px}
 .mobile-home-greeting{padding:5px 0 20px}.mobile-home-greeting>p{font-size:12px;color:var(--mobile-muted);margin-bottom:9px}.mobile-home-greeting h1{font-size:27px;line-height:1.4;margin:0 0 8px}.mobile-home-greeting>span{font-size:13px;color:var(--mobile-muted);line-height:1.6}.mobile-home-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-home-stat{border:1px solid var(--mobile-line);border-radius:14px;min-height:110px;padding:15px;background:#fff;text-align:left;display:grid;grid-template-columns:1fr auto;gap:5px;color:var(--mobile-ink);position:relative}.mobile-home-stat>.icon:first-child{grid-column:2;grid-row:1/3;width:23px;height:23px;color:#7a9786}.mobile-home-stat>strong{grid-column:1;grid-row:1;font-size:29px;line-height:1.2;font-weight:650}.mobile-home-stat>span{grid-column:1;grid-row:2;font-size:13px;color:var(--mobile-muted)}.mobile-home-stat>.icon:last-child{width:14px;height:14px;position:absolute;right:15px;bottom:16px;color:#a3b4a8}
.mobile-review-alert{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;margin-top:12px;padding:14px 15px;border:1px solid #efd8d2;border-radius:14px;background:#fcf5f3;color:#8f4e48;text-align:left}.mobile-review-alert>div{display:grid;gap:4px}.mobile-review-alert strong{font-size:13px}.mobile-review-alert small{font-size:11px;color:#98756f}.mobile-review-alert>.icon{width:20px;height:20px}
 .mobile-quick-actions{display:flex;gap:8px;margin:16px 0 24px}.mobile-quick-actions>.btn{flex:1;min-width:0;flex-direction:column;padding:12px 4px;font-size:12px;gap:6px;min-height:70px;background:white}.mobile-quick-actions>.primary{background:#24634e}.mobile-quick-actions .icon{width:21px;height:21px}.mobile-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}.mobile-section-head h2{font-size:19px}.mobile-section-head a{display:flex;gap:3px;align-items:center;min-height:44px;font-size:12px;color:#567763}.mobile-section-head .icon{width:14px}.mobile-home-section{margin-top:20px}.mobile-home-section .mobile-record-list{padding:0}.mobile-home-ticket{display:flex;align-items:center;gap:10px;padding:16px;background:#fff;border:1px solid var(--mobile-line);border-radius:12px;margin:8px 0}.mobile-home-ticket>span{background:#edf5ef;padding:9px;border-radius:9px;color:#567f65}.mobile-home-ticket>div{flex:1;min-width:0}.mobile-home-ticket strong{display:block;font-size:14px;line-height:1.6;color:var(--mobile-ink)}.mobile-home-ticket small{font-size:12px;color:var(--mobile-muted);line-height:1.6}.mobile-home-ticket>.icon{width:14px;flex:none}.mobile-home-history{display:flex;align-items:center;gap:10px;padding:20px 8px;font-size:14px;color:#4f6f5d}.mobile-home-history>.icon:last-child{margin-left:auto}
 .order-list-card,.delivered-project-card{background:transparent;border:0;border-radius:0}.order-list-card>#order-table>.mobile-record-list,.delivered-project-card .mobile-record-list{padding:12px 0}.order-list-card>#order-table .table-pagination{background:#fff;border-radius:12px}.order-status-panel{padding:0 0 14px;border:0;background:transparent}.order-status-heading{display:none}.order-status-groups{display:flex;flex-direction:column;gap:8px}.order-status-grid{display:flex!important;gap:7px;overflow-x:auto;padding:2px 0 5px;scrollbar-width:none;grid-template-columns:none!important}.order-status-grid::-webkit-scrollbar{display:none}.order-status-button{flex:none;min-width:100px;min-height:46px;padding:10px 12px;display:flex;align-items:center;gap:8px;border:1px solid var(--mobile-line);border-radius:10px;background:#fff}.order-status-label{font-size:12px;white-space:nowrap}.order-status-button strong{font-size:14px;margin:0}.order-status-dot{display:none}.order-status-button.is-active{background:#24634e;color:#fff;border-color:#24634e}.order-status-button.is-active .order-status-label,.order-status-button.is-active .order-status-count{color:#fff}
 .mobile-order-search{display:flex;gap:8px;align-items:center;margin:4px 0 12px;min-width:0}.mobile-order-search>.icon{display:none}.mobile-order-search>#order-search{width:100%;flex:1;min-width:0;background:#fff;border:1px solid var(--mobile-line);border-radius:12px;height:46px;padding:12px;font-size:16px}.mobile-filter-sheet{flex:none;min-width:0}.mobile-filter-sheet>summary{display:flex;align-items:center;justify-content:center;gap:5px;list-style:none;border:1px solid var(--mobile-line);border-radius:10px;background:#fff;padding:10px;min-height:46px;font-size:12px;color:#446751;cursor:pointer}.mobile-filter-sheet>summary::-webkit-details-marker{display:none}.mobile-filter-sheet>summary>.icon{width:15px}.mobile-filter-sheet>summary>.icon:last-child{display:none}.mobile-filter-count:empty{display:none}.mobile-filter-count{background:#24634e;color:#fff;border-radius:20px;min-width:18px;text-align:center;font-size:10px;padding:2px}.mobile-filter-sheet:not([open])>section,.mobile-filter-sheet:not([open])>.mobile-filter-backdrop{display:none}.mobile-filter-backdrop{position:fixed;inset:0;background:#152c2459;z-index:61}.mobile-filter-panel{display:flex;flex-direction:column;position:fixed;inset:auto 0 0;max-height:calc(var(--mobile-viewport-height,100dvh) - 60px);z-index:62;background:#fff;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -12px 40px #163c3520}.mobile-filter-panel>header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--mobile-line)}.mobile-filter-panel>header h2{font-size:19px}.mobile-filter-fields{padding:20px;overflow:auto;min-height:0;flex:1}.mobile-filter-fields .order-advanced-filters,.mobile-filter-fields .delivered-filter-bar,.mobile-filter-fields .revision-delivery-filter-bar{display:grid;grid-template-columns:1fr;gap:16px;padding:0;border:0;background:transparent}.mobile-filter-field{display:grid;gap:7px;font-size:13px;color:var(--mobile-muted);min-width:0}.mobile-filter-field select,.mobile-filter-field input{width:100%;min-width:0;font-size:16px;min-height:48px;background:#fff;border:1px solid var(--mobile-line);border-radius:10px;padding:10px 12px}.mobile-filter-panel>footer{padding:14px 20px;border-top:1px solid var(--mobile-line)}.mobile-filter-panel>footer>.btn{width:100%}.order-date-control{width:100%}.order-date-trigger{width:100%;min-height:46px}.order-column-picker{display:none!important}.order-date-popover,.delivered-date-popover,.ticket-date-popover{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:100%!important;box-shadow:none!important}.order-date-day,.delivered-date-day{min-width:0}
 .toolbar{padding:14px 0;gap:10px;flex-wrap:wrap}.toolbar .search{flex:1;min-width:180px;max-width:none}.toolbar .search input,.list-search-toolbar input{font-size:16px;height:46px}.toolbar select{font-size:14px;min-height:44px;min-width:0}.filters{gap:8px;flex-wrap:wrap}.delivered-view-bar{padding:0;gap:8px}.delivered-view-bar>.btn{flex:1}.delivered-date-presets,.delivered-time-buttons,.worklist-time-presets{flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:none}.delivered-date-presets>.btn,.delivered-time-buttons>.btn,.worklist-time-presets>.btn{flex:none}.delivered-results-head{padding:16px 0 8px}.delivered-results-head>.tag{font-size:11px;line-height:1.7}.delivered-filter-feedback{padding:10px 0;font-size:12px}.delivered-project-card>.mobile-filter-sheet{margin:8px 0}.ticket-list-views{display:flex;gap:8px}.ticket-list-views>.btn{flex:1}.tickets-overview,.ticket-metrics,.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:16px;min-width:0}.metric-top{font-size:12px}.metric-value{font-size:28px}.metric small{font-size:11px;line-height:1.6}.tabs{overflow-x:auto;flex-wrap:nowrap;gap:8px;border-bottom:1px solid var(--mobile-line);margin-bottom:16px;scrollbar-width:none}.tab{min-height:46px;padding:10px 13px;font-size:13px;white-space:nowrap;flex:none}
 .detail-head>.btn{font-size:12px;min-height:40px;margin-bottom:12px}.detail-head .page-head{margin-bottom:16px}.detail-head .page-head h1{font-size:20px;line-height:1.6}.mobile-detail-person{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:4px 0 10px}.mobile-detail-person>strong{font-size:17px}.mobile-detail-person>span{font-size:12px;color:var(--mobile-muted)}.detail-meta{font-size:12px;line-height:1.7;gap:8px}.detail-title-tags{margin:10px 0}.detail-head .page-head>.actions{align-items:start}.mobile-detail-more{position:relative;flex:none}.mobile-detail-more>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid var(--mobile-line);border-radius:10px;font-size:13px;list-style:none;background:#fff}.mobile-detail-more>summary::-webkit-details-marker{display:none}.mobile-detail-more>div{position:absolute;top:50px;right:0;width:220px;padding:10px;background:#fff;border:1px solid var(--mobile-line);border-radius:12px;box-shadow:0 8px 24px #173c3520;z-index:25;display:grid;gap:7px}.mobile-detail-more:not([open])>div{display:none}.mobile-detail-more .btn{width:100%;font-size:13px}.mobile-detail-more>summary .icon{width:13px}
 .task-card{padding:16px}.task-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:0;align-items:center}.task-title{flex:1;flex-wrap:wrap;min-width:0;gap:7px}.task-title h3{font-size:16px;white-space:normal}.task-number{display:none}.task-summary>.actions{width:auto}.task-summary .btn{font-size:12px;min-height:44px;padding:10px}.mobile-task-due{width:100%;font-size:12px;color:var(--mobile-muted);margin-left:22px}.task-content{padding-top:18px}.fields{grid-template-columns:1fr;gap:16px}.field-view label{font-size:12px;color:var(--mobile-muted)}.field-view .value{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.task-footer{display:grid;gap:8px;font-size:12px;line-height:1.8}.ticket-body{padding:0 16px 20px;font-size:15px;line-height:1.9}.status-flow{padding:14px 16px;font-size:13px}
 .form-grid{grid-template-columns:1fr;gap:18px}.form-section{padding:18px;margin-bottom:16px}.form-section-head{margin-bottom:20px;gap:10px}.form-section-head h2{font-size:17px}.form-section-head p{font-size:12px;line-height:1.6}.field label{font-size:14px;line-height:1.5;margin-bottom:8px}.field .hint{font-size:12px;color:var(--mobile-muted);line-height:1.6}form .field input:not([type=checkbox]),form .field textarea,form .field select,.message-form textarea{font-size:16px!important;line-height:1.6;padding:12px;border-radius:10px;min-height:48px}.field textarea{min-height:120px}.delivery-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delivery-choice{min-width:0;min-height:54px;padding:12px;gap:8px;font-size:14px}.delivery-choice input{width:20px;height:20px}.service-form{padding:16px;margin-top:16px;min-width:0}.service-form-header strong{font-size:16px}.service-form-header .actions{flex-wrap:wrap}.custom-service-hint{font-size:12px;line-height:1.7}.delivery-time{flex-wrap:wrap}.delivery-time-input{width:100%}.attachment-drop{padding:18px 12px;min-height:115px;border-radius:12px;background:#f7faf7;text-align:center}.attachment-drop>strong{font-size:15px}.attachment-drop>span{font-size:12px;line-height:1.7}.attachment-drop input[type=file]{font-size:13px;max-width:100%}.attachment-item{gap:8px;flex-wrap:wrap;padding:10px}.attachment-item .attachment-name{flex:1;min-width:120px;font-size:13px;overflow-wrap:anywhere}.attachment-image-button{width:100%;min-height:44px}.form-error{font-size:14px;line-height:1.7}.submit-strip{position:sticky;bottom:var(--mobile-nav-height);padding:12px 0;background:#f3f6f4f5;flex-wrap:wrap;gap:8px;z-index:15}.submit-strip>.btn,.submit-strip>button{flex:1;min-width:120px}.order-launch-copy{width:100%;flex-basis:100%;padding:8px 0}.order-launch-copy small{font-size:12px}
 .mobile-form-steps{position:sticky;top:56px;z-index:14;display:flex;gap:5px;margin:0 -16px 18px;padding:10px 16px;background:#f3f6f4f5;border-bottom:1px solid var(--mobile-line);backdrop-filter:blur(10px)}.mobile-form-steps>button{flex:1;min-width:0;min-height:44px;padding:9px 3px;border:1px solid var(--mobile-line);border-radius:9px;background:#fff;font-size:12px;color:#63796a}.mobile-form-steps>[aria-current="step"]{background:#24634e;color:#fff;border-color:#24634e}.mobile-form-steps>[disabled]{opacity:.65}.mobile-wizard-controls{position:sticky;bottom:var(--mobile-nav-height);padding:12px 0;display:flex;gap:10px;background:#f3f6f4f5;z-index:15}.mobile-wizard-controls>.btn{flex:1}.mobile-wizard-controls:not(:has(button:not([hidden]))){display:none}.mobile-form-review{padding:20px;background:white;border:1px solid var(--mobile-line);border-radius:16px}.mobile-form-review h2{font-size:20px;margin-bottom:20px}.mobile-form-review h3{font-size:16px;margin:20px 0 12px}.mobile-review-body dl{display:grid;gap:14px;margin:0}.mobile-review-body dl>div{display:grid;grid-template-columns:60px 1fr;gap:12px;font-size:14px;line-height:1.6}.mobile-review-body dt{color:var(--mobile-muted)}.mobile-review-body dd{margin:0}.mobile-review-project{display:grid;gap:6px;padding:14px 0;border-top:1px solid var(--mobile-line);font-size:14px}.mobile-review-project>span{font-size:13px;color:var(--mobile-muted)}.mobile-form-review>.notice{margin-top:20px}
 dialog#modal[open]{display:flex;flex-direction:column;inset:0;margin:0;width:100%;max-width:100%;height:var(--mobile-viewport-height,100dvh);max-height:var(--mobile-viewport-height,100dvh);border:0;border-radius:0;box-shadow:none;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#fff;overflow:hidden;z-index:80}#modal .modal-head{padding:12px 16px;flex:none;min-height:64px;background:#fff}#modal .modal-head h2{font-size:19px;line-height:1.5}#modal .modal-body{padding:20px 16px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#modal .modal-foot{position:sticky;bottom:-20px;margin:24px -16px -20px;padding:12px 16px;background:#fff;border-top:1px solid var(--mobile-line);gap:10px;z-index:3}#modal .modal-foot .btn{flex:1;min-height:48px}#modal .modal-body>form{min-height:100%;display:flex;flex-direction:column}#modal .modal-body>form>.modal-foot{margin-top:auto;padding-top:14px}#modal .modal-body>form>.form-error{margin-bottom:16px}
 .file-row{padding:14px 16px;flex-wrap:wrap;gap:10px}.file-icon{padding:8px}.file-info a{font-size:14px;line-height:1.7}.file-info p{font-size:12px;line-height:1.7}.file-info .file-note{font-size:13px}.file-row>.actions{width:100%;justify-content:flex-end}.file-row>.actions .btn{flex:1}.notification-item{padding:16px;gap:10px;flex-wrap:wrap}.notification-item p{font-size:14px;line-height:1.75}.notification-item small{font-size:12px}.notification-item .actions{width:100%;justify-content:flex-end}.notification-item .icon-box{padding:8px;flex:none}.notification-item>a,.notification-item>div:not(.icon-box){flex:1;min-width:0}
 .message-list{padding:4px 16px;max-height:none}.message{gap:9px;padding:16px 0}.message-content{font-size:15px;line-height:1.8}.message-meta{font-size:12px;flex-wrap:wrap;gap:5px}.message-meta time{font-size:10px}.message-form{padding:14px 16px}.message-form .actions{gap:8px}.message-form small{font-size:11px}.message-form button[type=submit]{min-height:46px}
 body[data-mobile-route="chat"] .content,body[data-mobile-route="thesis-chat"] .content{padding:0;height:calc(var(--mobile-viewport-height,100dvh) - 56px - var(--mobile-nav-height));min-height:0;overflow:hidden}
 body[data-mobile-route="chat"] .main,body[data-mobile-route="thesis-chat"] .main{height:var(--mobile-viewport-height,100dvh);overflow:hidden}.business-chat-layout{height:100%;min-height:0;border:0;border-radius:0;grid-template-columns:1fr}.business-chat-sidebar{height:100%;width:100%;border:0}.business-chat-main{height:100%;min-height:0}.business-chat-layout:not(.has-conversation) .business-chat-main{display:none}.business-chat-layout.has-conversation .business-chat-sidebar{display:none}.business-chat-layout.has-conversation .business-chat-main{display:flex}.business-chat-list{overflow:auto}.business-chat-conversation{padding:16px;min-height:98px}.business-chat-conversation strong{font-size:15px}.business-chat-conversation p{font-size:13px;line-height:1.7}.business-chat-header{padding:12px 16px;min-height:66px;gap:8px}.business-chat-header h2{font-size:16px}.business-chat-messages{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:16px}.business-chat-main .message-form{flex:none;padding:10px 12px;background:#fff}.business-chat-main .message-form textarea{min-height:54px;max-height:120px}.business-chat-main .attachment-drop{min-height:0;padding:8px;border:0}.business-chat-main .attachment-drop>svg,.business-chat-main .attachment-drop>strong,.business-chat-main .attachment-drop>span{display:none}.business-chat-main .message-form .attachment-image-button{width:auto}.business-chat-info.is-open{position:fixed;inset:56px 0 var(--mobile-nav-height);width:100%;z-index:35;background:#fff;overflow:auto;max-height:none}
 .thesis-chat-workspace .thesis-chat-board{height:100%;min-height:0;display:flex;flex-direction:column;border-radius:0;border:0}.thesis-chat-workspace .thesis-chat-main{display:flex;flex-direction:column;min-height:0;height:100%;width:100%}.thesis-chat-workspace .thesis-chat-sidebar{display:none}.thesis-chat-workspace .thesis-chat-header{min-height:70px;display:flex;padding:12px 16px;gap:8px;flex-wrap:nowrap}.thesis-chat-workspace .thesis-chat-header-title{flex:1;min-width:0}.thesis-chat-workspace .thesis-chat-header-title>strong{font-size:16px;line-height:1.5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thesis-chat-workspace .thesis-chat-header-title>small{font-size:11px}.thesis-chat-workspace .thesis-chat-header-actions{position:static;display:flex;flex:none;gap:4px}.thesis-chat-workspace .thesis-chat-header-actions select{max-width:100px;font-size:12px;min-height:44px}.thesis-chat-mobile-history,.thesis-chat-mobile-new{display:flex;min-width:40px;min-height:44px;padding:8px}.thesis-chat-workspace .thesis-chat-messages{padding:18px 14px;flex:1;min-height:0;overflow:auto;gap:20px}.thesis-chat-workspace .thesis-chat-message-body{font-size:15px;padding:12px;line-height:1.8}.thesis-chat-workspace .thesis-chat-composer{flex:none;padding:10px 12px;background:#fff;border-top:1px solid var(--mobile-line)}.thesis-chat-workspace .thesis-chat-input-shell{padding:10px;min-height:0}.thesis-chat-workspace .thesis-chat-composer textarea{font-size:16px;min-height:48px;max-height:120px}.thesis-chat-composer-foot{display:none}.thesis-chat-compose-toolbar{gap:6px;flex-wrap:wrap}.thesis-chat-compose-toolbar .btn.ghost{font-size:12px;min-height:44px}.thesis-chat-board[data-history-open="true"] .thesis-chat-sidebar{position:absolute;inset:70px 0 0;width:100%;display:flex;z-index:20;background:#fff;box-shadow:none}.thesis-chat-conversations{max-height:none;flex:1;overflow:auto}.thesis-chat-sidebar-footer{padding:14px 16px;min-height:90px}.thesis-chat-conversation{min-height:76px}.thesis-chat-context{flex:none;max-height:35%;overflow:auto;padding:12px 16px}.thesis-defense-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.thesis-defense-options input,.thesis-defense-options select{font-size:16px;min-height:44px}.thesis-chat-mode-grid{grid-template-columns:1fr;gap:10px}.thesis-chat-artifact-actions .btn,.thesis-chat-quick-list .btn{min-height:44px;font-size:13px}.thesis-chat-inline-results{overflow-wrap:anywhere}.thesis-chat-outline-chapter h4{font-size:16px}
 body.mobile-keyboard-open[data-mobile-route="chat"] .content,body.mobile-keyboard-open[data-mobile-route="thesis-chat"] .content{height:calc(var(--mobile-viewport-height,100dvh) - 56px)}
 .mobile-secondary-table,.mobile-secondary-table tbody,.mobile-secondary-table tr,.mobile-secondary-table td{display:block;width:100%!important;min-width:0!important;max-width:none!important;white-space:normal!important}.mobile-secondary-table{table-layout:auto!important}.mobile-secondary-table thead,.mobile-secondary-table colgroup{display:none}.mobile-secondary-table tbody{padding:12px}.mobile-secondary-table tbody tr{padding:14px;margin-bottom:12px;border:1px solid var(--mobile-line);border-radius:12px;background:#fff}.mobile-secondary-table tbody tr:last-child{margin-bottom:0}.mobile-secondary-table td{padding:8px 0!important;border:0!important;font-size:14px!important;line-height:1.7;text-align:left!important}.mobile-secondary-table td:before{content:attr(data-mobile-label);display:block;font-size:11px;color:var(--mobile-muted);margin-bottom:4px}.mobile-secondary-table td:empty{display:none}.mobile-secondary-table td .actions{flex-wrap:wrap}.table-wrap:has(.mobile-secondary-table){overflow:visible!important;max-height:none!important}.mobile-secondary-table .delivery-tag-list{min-width:0;max-width:none}
 .analytics-filters,.analytics-filter-grid,.analytics-kpis,.admin-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.analytics-filter-primary{grid-template-columns:1fr!important}.analytics-chart,.analytics-panel{min-width:0}.analytics-chart-grid,.analytics-main-grid{grid-template-columns:1fr!important}.admin-announcement-toolbar,.admin-announcement-filters{flex-wrap:wrap}.smartsheet-grid{grid-template-columns:1fr}.school-sync-results{max-height:none;overflow:visible}.school-sync-results table{min-width:0}.order-task-options,.order-task-edit-fields{padding:14px}.order-task-choice{min-height:44px}.school-format-table .btn{min-height:44px}.personal-note-modal textarea{min-height:180px}.message-center-filters{flex-wrap:wrap}.message-center-grid{grid-template-columns:1fr}
 .login{display:block;min-height:100dvh;background:#f3f6f4}.login-left{padding:32px 24px 24px;background:transparent}.login-left .brand{display:flex}.login-copy{margin:24px 0 0}.login-copy h1{font-size:27px;line-height:1.45}.login-copy>p,.login-flow,.login-left>footer{display:none}.login-right{padding:12px 24px 36px;display:block}.login-card{max-width:none;padding:24px 20px;background:#fff;border:1px solid var(--mobile-line);border-radius:18px}.login-card h2{font-size:22px}.login-card>.field{margin-bottom:20px}.login-card>.btn{min-height:50px;font-size:16px}.login-remember{font-size:13px;min-height:44px}.login-remember small{font-size:11px}.login-card .login-bottom{font-size:12px}
 #toasts{left:16px;right:16px;bottom:calc(var(--mobile-nav-height) + 12px);max-width:none;pointer-events:none}.toast{font-size:13px;line-height:1.7;padding:14px 16px;pointer-events:auto}.business-toast{flex-wrap:wrap}.toast .btn{font-size:12px;min-height:40px}
}
@media(max-width:1023px){
 .mobile-review-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.mobile-review-header h2{margin:0;font-size:19px}.mobile-review-header .btn{font-size:12px;flex:none}
 form:has(>.mobile-form-review:not([hidden]))>.submit-strip>a{display:none}
 .order-launch-submit>button{min-width:0!important;flex:1!important;font-size:13px;min-height:48px}.order-launch-submit .order-launch-copy{flex-basis:100%}
 .delivered-time-filter{padding:12px 0;display:grid;grid-template-columns:1fr;gap:10px}.delivered-time-label{display:none}.delivered-time-presets.mobile-time-presets{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:3px;width:100%;min-width:0}.mobile-time-presets>.btn{flex:none;white-space:nowrap}
 #ticket-metrics{display:flex;overflow-x:auto;gap:10px;padding:0 0 14px;margin-bottom:4px;scrollbar-width:none}#ticket-metrics>.metric{width:150px;min-width:150px;padding:14px;flex:none}#ticket-metrics .metric-value{font-size:26px}#ticket-metrics .metric-icon{display:none}#ticket-metrics .metric small{font-size:11px}
}
@media(max-width:359px){.content{padding-left:12px;padding-right:12px}.mobile-order-card{padding:13px}.mobile-record-actions{flex-wrap:wrap}.mobile-record-actions>.btn{min-width:105px}.mobile-home-stat{padding:12px}.mobile-home-greeting h1{font-size:24px}.thesis-chat-workspace .thesis-chat-header-actions select{max-width:84px}.page-number,.page-arrow{min-width:34px}}
@media(max-width:1023px){
 .business-chat-page-heading{display:none}.business-chat-layout{display:flex}.business-chat-sidebar{flex:1;min-height:0}.business-chat-main{flex:1;width:100%}.business-chat-back{display:inline-flex}.business-chat-sidebar-head{gap:8px;flex-wrap:wrap;padding:14px 16px}.business-chat-sidebar-head>.btn{margin-left:auto;font-size:12px}
 .business-chat-thread-head{padding:12px;gap:8px}.business-chat-thread-head h2{font-size:16px}.business-chat-thread-head .actions>.btn{min-height:44px;font-size:12px}.business-chat-channels{padding:6px 12px}.business-chat-channel{min-height:44px;font-size:12px}.business-chat-thread .chat-list{padding:16px 12px;overscroll-behavior:contain}.business-chat-thread .message-content{font-size:15px;line-height:1.75}.business-chat-main .message-form textarea{font-size:16px;height:64px;min-height:54px}
 .thesis-chat-workspace .thesis-chat-header{flex:none}.thesis-chat-workspace .thesis-chat-header-title{flex-basis:auto}.thesis-chat-composer>.form-error:empty,.message-form>.form-error:empty{display:none}
}
@media(max-width:1023px) and (max-height:500px){
 .thesis-chat-workspace .thesis-chat-header{min-height:56px;padding:6px 12px}.thesis-chat-workspace .thesis-chat-header-title>small{margin-top:2px}.thesis-chat-board[data-history-open="true"] .thesis-chat-sidebar{top:56px}
 .thesis-chat-workspace .thesis-chat-composer{padding:6px 10px}.thesis-chat-workspace .thesis-chat-input-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px;align-items:center}.thesis-chat-workspace .thesis-chat-composer textarea{height:54px;min-height:44px;max-height:54px;grid-column:1;grid-row:1}
 .thesis-chat-drop-hint{display:none}.thesis-chat-compose-toolbar{grid-column:2;grid-row:1;flex-direction:row;align-items:center;gap:4px;margin:0}.thesis-chat-compose-toolbar .btn{min-height:44px}.thesis-chat-compose-toolbar .btn.ghost{font-size:0;width:44px;padding:8px}.thesis-chat-compose-toolbar .btn.ghost .thesis-chat-icon{width:20px;height:20px}.thesis-chat-workspace .thesis-chat-messages{padding:10px 12px;gap:16px}.thesis-chat-attachment-preview{grid-column:1/-1;max-height:50px;overflow:auto}.thesis-defense-options{max-height:74px;overflow:auto;margin-bottom:5px}.thesis-defense-source{display:none}
 .business-chat-thread-head{padding:5px 12px;min-height:54px}.business-chat-thread-head p,.business-chat-thread-head h2 span,.business-chat-scope,.business-chat-history-control{display:none}.business-chat-channels{padding:2px 10px}.business-chat-channel{min-height:40px;padding:5px 8px}
 .business-chat-main .message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px 10px;align-items:center}.business-chat-main .message-form textarea{min-height:44px;height:54px;max-height:54px}.business-chat-main .message-form>.actions{flex-direction:row;align-items:center;gap:4px}.business-chat-main .message-form .actions>.btn{min-height:44px}.business-chat-main .message-form [data-act="chat-choose-files"]{font-size:0;width:44px;padding:8px}.business-chat-main .message-form>.form-error{grid-column:1/-1}.business-chat-thread .attachment-list{max-height:50px}
}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav,.mobile-filter-panel{scroll-behavior:auto}}
