/* Subpage rhythm for project, review, permissions and delivery workspaces. */
html[data-ui=mobile] .mw-review-selection,html[data-ui=mobile] .mw-review-finish{border-top:1px solid rgba(var(--ui-source-e6876c51162d48-rgb, 223, 227, 216), var(--ui-source-e6876c51162d48-alpha, 1));padding-top:16px;display:grid;gap:12px}
html[data-ui=mobile] .mw-review-selection>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
html[data-ui=mobile] .mw-review-selection>p,html[data-ui=mobile] .mw-review-finish>p{margin:0}
html[data-ui=mobile] .mw-directory{display:grid;gap:0;border-top:1px solid rgba(var(--ui-source-e6876c51162d48-rgb, 223, 227, 216), var(--ui-source-e6876c51162d48-alpha, 1))}
html[data-ui=mobile] .mw-directory>.m-control{border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1))}
html[data-ui=mobile] .mw-directory>.m-control>.m-button{width:100%;justify-content:space-between;text-align:left;padding:14px 4px;font-weight:500}
html[data-ui=mobile] .mw-directory>.m-control>.m-button::after{content:'›';color:rgba(var(--ui-source-49193fa1ac6f97-rgb, 86, 102, 92), var(--ui-source-49193fa1ac6f97-alpha, 1));font-size:1.25rem;margin-left:12px}
html[data-ui=mobile] .mw-permission-list{display:grid;gap:0}
html[data-ui=mobile] .mw-permission-list>.m-field{border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));padding:12px 0;margin:0}
html[data-ui=mobile] .mw-template-row{padding:16px 0;border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1))}
html[data-ui=mobile] .mw-template-row>.m-field:first-child{margin-top:0}
html[data-ui=mobile] .mw-template-row>p{margin:6px 0 12px}
html[data-ui=mobile] .mw-template-row>.m-field:last-child{margin-bottom:0}
html[data-ui=mobile] .mw-template-row>.m-field--check label{font-size:1.125rem;font-weight:500}
html[data-ui=mobile] .mw-profile-editor .m-section+.m-section{margin-top:8px}
html[data-ui=mobile] .mw-elements{display:grid;grid-template-columns:repeat(auto-fit,minmax(3rem,1fr));gap:8px}
html[data-ui=mobile] .mw-elements .m-button{width:100%;padding-inline:8px}
html[data-ui=mobile] .mw-filter-record{padding:14px 0;border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));display:grid;gap:8px}
html[data-ui=mobile] .mw-filter-record>p{margin:0}
html[data-ui=mobile] .mw-ai-char-list{display:grid;gap:0}
html[data-ui=mobile] .mw-ai-char{display:grid;grid-template-columns:minmax(3.5rem,auto) minmax(0,1fr);align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid rgba(var(--ui-source-077b777d8d840d-rgb, 223, 227, 216), var(--ui-source-077b777d8d840d-alpha, 1))}
html[data-ui=mobile] .mw-ai-char>.m-control>.m-button{font-size:2rem;font-weight:400;line-height:1.4;padding:4px 8px}
html[data-ui=mobile] .mw-ai-char p{margin:4px 0 6px}
html[data-ui=mobile] .mw-ai-char.is-selected{background:rgba(var(--ui-source-778af24229706b-rgb, 233, 238, 229), var(--ui-source-778af24229706b-alpha, 1));outline:1px solid rgba(var(--ui-source-b2e8db235435f5-rgb, 49, 94, 75), var(--ui-source-b2e8db235435f5-alpha, 1))}
html[data-ui=mobile] .mw-ai-review>.m-status,html[data-ui=mobile] .delivery-readiness>.m-status{flex-direction:column;align-items:stretch}
html[data-ui=mobile] .mw-ai-review>.m-status>.m-actions,html[data-ui=mobile] .delivery-readiness>.m-status>.m-control{align-self:flex-start}
html[data-ui=mobile] .mw-fortune-steps{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;color:rgba(var(--ui-source-fa6d6951ac5cc7-rgb, 86, 102, 92), var(--ui-source-fa6d6951ac5cc7-alpha, 1));font-size:.875rem}
html[data-ui=mobile] .mw-fortune-steps li{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
html[data-ui=mobile] .mw-fortune-steps li>span{display:grid;place-items:center;border:1px solid rgba(var(--ui-source-e6876c51162d48-rgb, 223, 227, 216), var(--ui-source-e6876c51162d48-alpha, 1));border-radius:50%;width:1.75em;height:1.75em;min-width:24px;min-height:24px;flex:none}
html[data-ui=mobile] .mw-fortune-steps .is-done{color:rgba(var(--ui-source-e6a87dd0bbd1f1-rgb, 49, 94, 75), var(--ui-source-e6a87dd0bbd1f1-alpha, 1))}
html[data-ui=mobile] .mw-fortune-image{display:block;width:100%;height:auto;border-radius:8px}
html[data-ui=mobile] .mw-fortune>.m-actions{margin:12px 0}

html[data-ui=mobile] .mw-fortune>.m-status{flex-direction:column;align-items:stretch}
html[data-ui=mobile] .mw-fortune>.m-status>.m-status-action{align-self:flex-start}

/* Related controls keep a fixed touch-safe rhythm, including expanded forms. */
html[data-ui=mobile] .mw-zodiac-controls,html[data-ui=mobile] .mw-create-fields{display:grid;gap:12px;min-width:0}
html[data-ui=mobile] .mw-zodiac-controls>p{margin:0}
html[data-ui=mobile] .mw-zodiac-controls>.m-field,html[data-ui=mobile] .mw-create-fields>.m-field{gap:8px}
html[data-ui=mobile] .mw-create-fields{padding-bottom:12px}
html[data-ui=mobile] .mw-zodiac-controls>.m-control,html[data-ui=mobile] .mw-create-fields>.m-control{justify-self:start;max-width:100%}

/* Page-owned project records: identity and next action remain separate hit targets. */
html[data-ui=mobile] .mw-project-home{display:grid;gap:12px;min-width:0}
html[data-ui=mobile] .mw-project-home>.m-field{margin:0}
html[data-ui=mobile] .mw-list-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;color:rgba(var(--ui-source-1232620ea56a32-rgb, 86, 102, 92), var(--ui-source-1232620ea56a32-alpha, 1));font-size:.875rem}
html[data-ui=mobile] .mw-project-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(6rem,auto);gap:12px;padding:12px 0;border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));min-width:0}
html[data-ui=mobile] .mw-project-row>.m-control{min-width:0;align-self:stretch}
html[data-ui=mobile] .mw-project-row .mw-project-open{height:100%;min-height:64px;justify-content:flex-start;text-align:left;padding:0;border:0;border-radius:0}
html[data-ui=mobile] .mw-project-copy{display:grid;gap:4px;min-width:0}
html[data-ui=mobile] .mw-project-name{font:600 1.125rem/1.45 var(--m-heading-font);color:rgba(var(--ui-source-035ff2d84dd55e-rgb, 44, 59, 51), var(--ui-source-035ff2d84dd55e-alpha, 1));overflow-wrap:anywhere}
html[data-ui=mobile] .mw-project-meta,html[data-ui=mobile] .mw-project-note,html[data-ui=mobile] .mw-stage{font-size:.875rem;line-height:1.5;color:rgba(var(--ui-source-1232620ea56a32-rgb, 86, 102, 92), var(--ui-source-1232620ea56a32-alpha, 1));font-weight:400}
html[data-ui=mobile] .mw-project-note{color:rgba(var(--ui-source-e6a87dd0bbd1f1-rgb, 49, 94, 75), var(--ui-source-e6a87dd0bbd1f1-alpha, 1))}
html[data-ui=mobile] .mw-project-note.is-warning{color:rgba(var(--ui-source-5f156466d3f2b4-rgb, 121, 87, 29), var(--ui-source-5f156466d3f2b4-alpha, 1))}
html[data-ui=mobile] .mw-project-next{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;max-width:9rem;text-align:right;min-width:0}
html[data-ui=mobile] .mw-project-next .m-button{padding:8px 0;min-height:44px;font-size:.875rem;justify-content:flex-end;text-align:right}
html[data-ui=mobile] .mw-project-row.is-current{border-left:2px solid rgba(var(--ui-source-b2e8db235435f5-rgb, 49, 94, 75), var(--ui-source-b2e8db235435f5-alpha, 1));padding-left:10px}
html[data-ui=mobile] .mw-profile-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));padding-bottom:12px;flex-wrap:wrap}
html[data-ui=mobile] .mw-profile-identity h2,html[data-ui=mobile] .mw-client-identity h2{font:600 1.25rem/1.4 var(--m-heading-font);margin:0}
html[data-ui=mobile] .mw-profile-identity .m-actions{gap:4px}
html[data-ui=mobile] .mw-profile-identity .m-button{padding:8px;min-height:44px;font-size:.875rem}
html[data-ui=mobile] .mw-entry{width:100%;display:flex;gap:12px;justify-content:space-between;text-align:left;border:0;border-radius:0;padding:14px 0;min-height:64px}
html[data-ui=mobile] .mw-entry-copy{display:grid;gap:4px;min-width:0;flex:1}
html[data-ui=mobile] .mw-entry-copy strong{font-size:1rem;font-weight:500;color:rgba(var(--ui-source-035ff2d84dd55e-rgb, 44, 59, 51), var(--ui-source-035ff2d84dd55e-alpha, 1))}
html[data-ui=mobile] .mw-entry-copy small{font-size:.875rem;font-weight:400;line-height:1.5;color:rgba(var(--ui-source-1232620ea56a32-rgb, 86, 102, 92), var(--ui-source-1232620ea56a32-alpha, 1))}
html[data-ui=mobile] .mw-entry-meta{color:rgba(var(--ui-source-1232620ea56a32-rgb, 86, 102, 92), var(--ui-source-1232620ea56a32-alpha, 1));font-size:.875rem;font-weight:400}
html[data-ui=mobile] .mw-entry-chevron{font-size:1.25rem;flex:none;color:rgba(var(--ui-source-fa6d6951ac5cc7-rgb, 86, 102, 92), var(--ui-source-fa6d6951ac5cc7-alpha, 1))}
html[data-ui=mobile] .mw-directory>.m-control>.mw-entry::after{display:none}
html[data-ui=mobile] .mw-compact-settings .mw-filter-record{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0}
html[data-ui=mobile] .mw-compact-settings .mw-filter-record>.m-field{display:contents}
html[data-ui=mobile] .mw-compact-settings .mw-filter-record>.m-field label{margin:0;font-size:1rem;color:rgba(var(--ui-source-03501e3870cf82-rgb, 44, 59, 51), var(--ui-source-03501e3870cf82-alpha, 1))}
html[data-ui=mobile] .mw-compact-settings select{max-width:8rem;min-width:6rem}
html[data-ui=mobile] .mw-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
html[data-ui=mobile] .mw-review-toolbar .m-button{font-size:.875rem;padding:8px;min-height:44px}
html[data-ui=mobile] .mw-review-context{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.875rem;color:rgba(var(--ui-source-fa6d6951ac5cc7-rgb, 86, 102, 92), var(--ui-source-fa6d6951ac5cc7-alpha, 1))}
html[data-ui=mobile] .mw-review-context p{margin:0}
html[data-ui=mobile] .m-review-results{gap:10px}
html[data-ui=mobile] .m-review-results .m-review-char-card{gap:4px;padding:10px;align-items:center;text-align:center}
html[data-ui=mobile] .m-review-results .m-review-char-card p{font-size:.875rem;margin:0}
html[data-ui=mobile] .mw-task-selection{display:flex;gap:8px;align-items:center;flex-wrap:wrap;width:100%}
html[data-ui=mobile] .mw-task-selection>span{font-size:.875rem;margin-right:auto}
html[data-ui=mobile] .mw-task-selection .m-button{font-size:.875rem;padding:8px 10px}
@media(max-width:359px){html[data-ui=mobile] .mw-project-row{grid-template-columns:minmax(0,1fr) minmax(5rem,auto);gap:8px}html[data-ui=mobile] .mw-project-next{max-width:7rem}}
html[data-ui=mobile] .mw-pool-choices{display:grid;gap:12px}
html[data-ui=mobile] .mw-pool-choice{border:1px solid rgba(var(--ui-source-e6876c51162d48-rgb, 223, 227, 216), var(--ui-source-e6876c51162d48-alpha, 1));border-radius:10px;padding:14px}
html[data-ui=mobile] .mw-pool-choice.is-selected{border-color:rgba(var(--ui-source-b2e8db235435f5-rgb, 49, 94, 75), var(--ui-source-b2e8db235435f5-alpha, 1));background:rgba(var(--ui-source-778af24229706b-rgb, 233, 238, 229), var(--ui-source-778af24229706b-alpha, 1))}
html[data-ui=mobile] .mw-pool-choice .m-field{margin:0}
html[data-ui=mobile] .mw-pool-choice p{margin:6px 0 0}
html[data-ui=mobile] .mw-delivery-template{gap:0}
html[data-ui=mobile] .mw-template-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(5rem,7rem);gap:16px;align-items:center;padding:14px 0}
html[data-ui=mobile] .mw-template-setting>div:first-child{min-width:0}
html[data-ui=mobile] .mw-template-setting>div:first-child>p{margin:4px 0 0;font-size:.875rem}
html[data-ui=mobile] .mw-template-setting .m-field{margin:0}
html[data-ui=mobile] .mw-template-setting>div:first-child:last-child{grid-column:1/-1}
html[data-ui=mobile] .mw-template-setting>.m-field>label{font-size:.875rem}
html[data-ui=mobile] .mw-report-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:rgba(var(--ui-source-0e3d693f818f5d-rgb, 233, 238, 229), var(--ui-source-0e3d693f818f5d-alpha, 1));border-radius:12px;min-width:0}
html[data-ui=mobile] .mw-report-preview>div{min-height:190px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:14px;background:var(--report-cover);color:var(--report-ink);box-shadow:0 2px 4px rgba(var(--ui-source-4ce60f33f00d63-rgb, 0, 0, 0), var(--ui-source-4ce60f33f00d63-alpha, 0.133333333));overflow-wrap:anywhere}
html[data-ui=mobile] .mw-report-preview>div+div{background:var(--report-paper)}
html[data-ui=mobile] .mw-report-preview strong{font:600 1.125rem/1.5 var(--m-heading-font)}
html[data-ui=mobile] .mw-report-preview i{height:3px;background:var(--report-accent);opacity:.65}
html[data-ui=mobile] .mw-report-preview i:first-child{width:55%;height:6px;margin-bottom:16px}
html[data-ui=mobile] .mw-theme-options{display:flex;flex-wrap:wrap;gap:8px}
html[data-ui=mobile] .mw-theme-options .is-selected{border-color:rgba(var(--ui-source-b2e8db235435f5-rgb, 49, 94, 75), var(--ui-source-b2e8db235435f5-alpha, 1));background:rgba(var(--ui-source-778af24229706b-rgb, 233, 238, 229), var(--ui-source-778af24229706b-alpha, 1))}
html[data-ui=mobile] .mw-color-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:16px}
html[data-ui=mobile] .mw-color-fields input[type=color]{width:100%;height:48px}
html[data-ui=mobile] .mw-report-row{border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));padding:8px 0}
html[data-ui=mobile] .mw-report-row>.m-control{display:flex;width:100%}
html[data-ui=mobile] .mw-report-row .mw-entry{padding:8px 0}
html[data-ui=mobile] .mw-report-row-foot{display:flex;gap:12px;align-items:center;justify-content:space-between}
html[data-ui=mobile] .mw-report-row-foot .m-button{min-height:44px;padding:8px 0;font-size:.875rem}
html[data-ui=mobile] .mw-delivery-workspace .m-delivery-group{padding:10px 0}
html[data-ui=mobile] .mw-delivery-workspace .m-delivery-group header{align-items:center;gap:8px}
html[data-ui=mobile] .mw-delivery-workspace .m-delivery-group header .m-button{min-height:44px;padding:8px;font-size:.875rem}
html[data-ui=mobile] .mw-delivery-workspace .delivery-readiness{gap:8px}
html[data-ui=mobile] .mw-quota-list .mw-filter-record{display:grid;grid-template-columns:minmax(0,1fr) minmax(5rem,7rem);gap:6px 12px;align-items:center}
html[data-ui=mobile] .mw-quota-list .mw-filter-record>h3{font-size:1rem;font-weight:500;grid-column:1;margin:0}
html[data-ui=mobile] .mw-quota-list .mw-filter-record>p{grid-column:1;font-size:.875rem}
html[data-ui=mobile] .mw-quota-list .mw-filter-record>.m-field{grid-column:2;grid-row:1/3;margin:0}
@media(max-width:359px){html[data-ui=mobile] .mw-template-setting{gap:10px;grid-template-columns:minmax(0,1fr) minmax(4.5rem,6rem)}}
html[data-ui=mobile] .mw-pdf-toolbar{display:flex;align-items:center;gap:6px;justify-content:space-between;flex-wrap:wrap;min-width:0}
html[data-ui=mobile] .mw-pdf-toolbar .m-button{padding:8px 6px;min-height:44px;font-size:.875rem}
html[data-ui=mobile] .mw-pdf-toolbar>span:not(.m-control){font-size:.875rem;color:rgba(var(--ui-source-fa6d6951ac5cc7-rgb, 86, 102, 92), var(--ui-source-fa6d6951ac5cc7-alpha, 1));white-space:nowrap}
html[data-ui=mobile] .mw-copy-reading{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}
html[data-ui=mobile] .m-delivery-review{gap:10px}
html[data-ui=mobile] .m-delivery-review .mw-copy-editor>.m-section{margin-top:0!important}
html[data-ui=mobile] .m-delivery-review>.m-field{margin:0}
html[data-ui=mobile] .mw-history-record{padding:8px 0 12px;border-bottom:1px solid rgba(var(--ui-source-f01699af519fb4-rgb, 223, 227, 216), var(--ui-source-f01699af519fb4-alpha, 1));min-width:0}
html[data-ui=mobile] .mw-history-record>div>.m-control{width:100%}
html[data-ui=mobile] .mw-history-record .mw-entry{padding:8px 0}
html[data-ui=mobile] .mw-history-record-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
html[data-ui=mobile] .mw-history-record-actions>.m-inline-note{margin-right:auto}
html[data-ui=mobile] .mw-history-record-actions .m-button{font-size:.875rem;padding:8px;min-height:44px}
html[data-ui=mobile] .mw-five-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
html[data-ui=mobile] .mw-five-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:12px}
html[data-ui=mobile] .mw-five-results article{display:grid;gap:4px;padding:12px;border:1px solid rgba(var(--ui-source-e6876c51162d48-rgb, 223, 227, 216), var(--ui-source-e6876c51162d48-alpha, 1));border-radius:8px;min-width:0}
html[data-ui=mobile] .mw-five-results strong{font-size:1.75rem;font-weight:500}
html[data-ui="mobile"] .mw-history-source{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--m-line);}
html[data-ui="mobile"] .mw-history-source h3{margin:0;font-size:1rem;}
html[data-ui="mobile"] .mw-history-source p{margin:.25rem 0 0;}
html[data-ui="mobile"] .mw-permission-diff{padding-left:1.25rem;margin:0;}
html[data-ui="mobile"] .mw-permission-diff li{padding:5px 0;}
html[data-ui="mobile"] .mw-twin-overview .mw-entry-meta{max-width:6.5em;white-space:normal;}
html[data-ui="mobile"] .mw-external-copy textarea{min-height:16rem;}
html[data-ui="mobile"] .mw-twin-pair-editor textarea{min-height:10rem;}
@media(max-width:360px){html[data-ui="mobile"] .mw-history-source{grid-template-columns:minmax(0,1fr);}html[data-ui="mobile"] .mw-history-source>.m-control{justify-self:start;}}
html[data-ui="mobile"] .mw-pool-char-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr));gap:12px;}
html[data-ui="mobile"] .mw-pool-char-grid>div{display:grid;gap:4px;padding:12px 4px;text-align:center;border-bottom:1px solid var(--m-line);}
html[data-ui="mobile"] .mw-pool-char-grid strong{font-size:1.75rem;font-weight:500;}
html[data-ui="mobile"] .mw-pool-char-grid span{font-size:.875rem;color:rgba(var(--ui-source-fa6d6951ac5cc7-rgb, 86, 102, 92), var(--ui-source-fa6d6951ac5cc7-alpha, 1));}
html[data-ui="mobile"] .mw-history-version{padding:12px 0;border-bottom:1px solid var(--m-line);}
html[data-ui="mobile"] .mw-history-version h3,html[data-ui="mobile"] .mw-history-version p{margin:0 0 8px;}

/* Mobile result fields: six characters, four complete names, shared fitting logic. */
html[data-ui=mobile] .m-review-results>.m-result-grid{gap:4px}
html[data-ui=mobile] .mw-task-selection{gap:4px 8px}
html[data-ui=mobile] .mw-task-selection>.m-control{min-width:0}
html[data-ui=mobile] .mw-review-selection{gap:8px;padding-top:12px}
html[data-ui=mobile] .mw-review-selection .m-actions{gap:6px}
html[data-ui=mobile] .m-delivery-group>.m-result-grid{margin:12px 0}
html[data-ui=mobile] .mw-delivery-homophones>.m-metrics{margin:0}
html[data-ui=mobile] .m-review-results>.m-workflow-toolbar{margin:0;gap:8px}
html[data-ui=mobile] .mw-review-context{font-size:.875rem;line-height:1.5}
