/* Shared Style4 component roles. Illustrated group categories keep their existing assets/layout. */
body.mobile-ui :is(.home-ref .home-filter-toolbar .primary-tab,.content-primary-tabs>[role=tab],.search-flow-tabs>button,.public-profile-tabs>button,.manager-tabs>button,.profile-stream-tabs>button){
  font-family:inherit;font-size:var(--holyuni-font-card-title)!important;font-weight:500;line-height:var(--holyuni-line-title);
  height:var(--holyuni-tab-primary-height,48px)!important;min-height:var(--holyuni-tab-primary-height,48px)!important;
}
body.mobile-ui :is(.home-ref .home-filter-toolbar .primary-tab.active,.content-primary-tabs>[aria-selected=true],.search-flow-tabs>button[aria-selected=true],.public-profile-tabs>button.active,.manager-tabs>button.active){font-weight:600}
body.mobile-ui :is(.home-ref .filters.home-filter-toolbar .chip,.group-browse-tabs>button,.group-browse-tools>button,.message-center .message-group-subtabs>.message-group-subtab,.campus-subboards>button,.task-status-tabs>button,.event-category-tabs>button,.event-date-filters>button){
  font-family:inherit;font-size:var(--holyuni-font-control)!important;font-weight:400;line-height:1;
  height:var(--holyuni-tab-secondary-height,36px)!important;min-height:var(--holyuni-tab-secondary-height,36px)!important;
}
body.mobile-ui :is(.home-ref .filters.home-filter-toolbar .chip.active,.group-browse-tabs>button[aria-selected=true],.message-center .message-group-subtabs>.message-group-subtab.active,.campus-subboards>button.active,.task-status-tabs>button.active,.event-category-tabs>button.active,.event-date-filters>button.active){font-weight:600;background:var(--holyuni-mint-light);color:var(--holyuni-forest)}
body.mobile-ui :is(.home-filter-choice span,.group-filter-chips span,.search-filter-options span){display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:36px;min-height:36px;padding:0 var(--holyuni-space-3);border:0;border-radius:var(--holyuni-radius-pill);background:var(--holyuni-canvas);color:var(--holyuni-muted);font-family:inherit;font-size:var(--holyuni-font-control);font-weight:400;line-height:1.2}
body.mobile-ui :is(.home-filter-choice,.group-filter-chips label,.search-filter-options label) input:checked+span{background:var(--holyuni-mint);color:var(--holyuni-surface);font-weight:500}
body.mobile-ui :is(.home-filter-group,.group-discovery-filter,.search-filter-form) legend{font-size:var(--holyuni-font-body);font-weight:600;line-height:var(--holyuni-line-title)}
body.mobile-ui :is(.page-head h1,.sheet-head h2){font-size:var(--holyuni-font-section-title)!important;font-weight:600;line-height:var(--holyuni-line-title)}
body.mobile-ui :is(.post-card h2,.group-card-body h2,.group-card-body h3,.ui-conversation-heading .message-thread-title,.notification-card strong,.message-audit-row strong,.group-application-copy strong){font-size:var(--holyuni-font-card-title)!important;font-weight:600;line-height:var(--holyuni-line-title)}
body.mobile-ui :is(.group-card-social small,.group-application-copy small,.group-application-copy time,.message-time,.notification-card time){font-size:var(--holyuni-font-meta)!important;font-weight:400;line-height:var(--holyuni-line-caption);color:var(--holyuni-muted)}
body.mobile-ui :is(.home-filter-footer,.group-discovery-footer,.search-filter-footer)>button{height:44px;min-height:44px;border-radius:var(--holyuni-radius-control);font-size:var(--holyuni-font-control);font-weight:600}
body.mobile-ui :is(.group-browse-tabs,.message-group-subtabs,.home-sort-tabs){scrollbar-width:none;scroll-padding-inline:var(--holyuni-space-2)}
body.mobile-ui .wallet-page .wallet-trade-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:var(--holyuni-space-1);overflow:visible}
body.mobile-ui .wallet-page .wallet-trade-tabs>button{width:100%;min-width:0;padding-inline:var(--holyuni-space-1);font-size:var(--holyuni-font-control);font-weight:500}
body.mobile-ui .message-review-notice{display:flex;align-items:center;width:100%;gap:var(--holyuni-space-3);margin:var(--holyuni-space-3) 0;padding:var(--holyuni-space-3) var(--holyuni-space-4);border:0;border-radius:var(--holyuni-radius-control);background:var(--holyuni-mint-light);color:var(--holyuni-forest);text-align:left}
body.mobile-ui .message-review-notice>span{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:var(--holyuni-space-2)}
body.mobile-ui .message-review-notice strong{font-size:var(--holyuni-font-control);font-weight:600;white-space:nowrap}
body.mobile-ui .message-review-notice small{font-size:var(--holyuni-font-meta);font-weight:400}
body.mobile-ui .message-review-notice>.icon{width:20px;height:20px;flex:none}

/* Shared action semantics, including nested and error states. */
body.mobile-ui :is(button.cta,button.primary,button.primary-action,button.publish-submit,.publish-submit-actions>.publish-submit,.publish-preview-actions>.primary,.publish-success-actions>.primary,.activation-cta.primary):not(.secondary):not(.done):not(.danger):not(:disabled){background:var(--holyuni-mint)!important;border-color:var(--holyuni-mint)!important;color:var(--holyuni-surface)!important}
body.mobile-ui :is(button.secondary,button.cta.done,.publish-preview-action,.publish-preview-actions>[data-publish-preview-back]){background:var(--holyuni-canvas)!important;border-color:var(--holyuni-line)!important;color:var(--holyuni-ink)!important}
body.mobile-ui :is(button.danger,button.danger-action,button.transaction-danger,[data-partner-post-delete],[data-group-end]){background:transparent!important;border-color:transparent!important;color:var(--holyuni-danger,#cb443a)!important}
body.mobile-ui :is(.confirm-actions>.danger,.confirm-actions>.confirm-danger,.confirm-actions>[data-content-confirm="block"],[data-comment-action="confirm-delete"],.group-confirm-actions>[data-group-decision-confirm],#eventCancellationForm button[type="submit"],#eventOperationForm[data-mode="cancel"] button[type="submit"],#complianceDeleteForm button[type="submit"],.group-chat-exit-confirm button.danger){background:var(--holyuni-danger,#cb443a)!important;border-color:var(--holyuni-danger,#cb443a)!important;color:var(--holyuni-surface)!important}
body.mobile-ui .notification-open{display:flex;flex:1;min-width:0;align-items:center;padding:0;border:0;background:none;text-align:left;color:inherit;font:inherit;min-height:44px}
body.mobile-ui .notification-copy{pointer-events:none}
body.mobile-ui .publish-progress{padding:4px 0;margin:0 0 8px;border:0;border-radius:0;background:transparent;box-shadow:none;justify-content:flex-end}
body.mobile-ui .publish-submit-zone.publish-confirmation{border:0;box-shadow:none;background:transparent;padding:12px 0}
body.mobile-ui .wallet-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
body.mobile-ui .content-profile-stats:empty{display:none}
body.mobile-ui .profile-feed-empty,body.mobile-ui .holo-history-empty{min-height:0;padding:24px 16px;border:0;box-shadow:none;background:transparent;text-align:center;color:var(--holyuni-muted)}
body.mobile-ui .compliance-section{border:0;border-radius:0;background:transparent;box-shadow:none;padding-inline:0}
body.mobile-ui .compliance-row{grid-template-columns:minmax(0,1fr) auto}
body.mobile-ui .transaction-section{box-shadow:none}
body.mobile-ui .transaction-section>summary{font-weight:600;cursor:pointer;min-height:44px;align-content:center}
body.mobile-ui .market-sold-status{color:var(--holyuni-muted);font-size:var(--holyuni-font-body);margin:0 0 12px}
body.mobile-ui :is(.publish-success-page,.my-credit,.profile-service-page,.connections-page,.holo-history-page){padding-bottom:24px}

body.mobile-ui .partner-confirm-actions>.danger{background:var(--holyuni-danger)!important;border-color:var(--holyuni-danger)!important;color:var(--holyuni-surface)!important}
body.mobile-ui .publish-upload-error{flex-basis:100%;width:100%}

/* Transaction facts share natural sections rather than nested cards. */
body.mobile-ui .transaction-section{border:0;border-radius:0;background:transparent;padding:18px 0;border-top:1px solid var(--holyuni-line)}
body.mobile-ui .transaction-next{border:0;border-radius:0;background:transparent;padding:16px 0}
body.mobile-ui .reservation-clock{border:0;border-radius:0;background:transparent;padding:12px 0;margin-block:0}
body.mobile-ui .transaction-section .confirm-item{border:0;border-radius:0;background:transparent;padding:8px 0}

/* 2026-09-21 review: reuse Style4 type, spacing and independent content cards. */
body.mobile-ui .group-reference-layout .group-list{gap:var(--holyuni-space-4)}
body.mobile-ui .page-layer .group-reference-layout .reference-group-card{border:0;border-radius:var(--holyuni-radius-story);box-shadow:var(--holyuni-shadow-feed)}
body.mobile-ui :is(.my-groups-page,.my-events-page){padding:var(--holyuni-space-4)}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tabs,.my-event-tabs){margin:0 0 var(--holyuni-space-4)}
body.mobile-ui :is(.my-group-tab,.my-event-tab){font-size:var(--holyuni-font-control);min-height:var(--holyuni-control-primary-height)}
body.mobile-ui .my-event-list{display:grid;gap:var(--holyuni-space-4);padding:0 0 var(--holyuni-space-6)}
body.mobile-ui .my-event-card{display:block;width:100%;padding:0;overflow:hidden;border:1px solid var(--holyuni-line);border-radius:var(--holyuni-radius-card);background:var(--holyuni-surface);color:var(--holyuni-ink);text-align:left;font:inherit;box-shadow:var(--holyuni-shadow-subtle)}
body.mobile-ui .my-event-cover{display:block;width:100%;aspect-ratio:2.4;object-fit:cover}
body.mobile-ui .my-event-card-body{display:block;padding:var(--holyuni-space-4)}
body.mobile-ui .my-event-card-head{display:flex;align-items:start;gap:var(--holyuni-space-2)}
body.mobile-ui .my-event-card-head strong{font-size:var(--holyuni-font-card-title);line-height:var(--holyuni-line-title);flex:1}
body.mobile-ui .my-event-card-head .item-status{flex:none;font-size:var(--holyuni-font-meta)}
body.mobile-ui .my-event-card-meta{display:grid;grid-template-columns:1fr;gap:var(--holyuni-space-1);margin-top:var(--holyuni-space-3)}
body.mobile-ui .my-event-card-meta span{padding:0;background:none;border-radius:0;font-size:var(--holyuni-font-body);color:var(--holyuni-muted)}
body.mobile-ui .my-event-card-note{display:block;font-size:var(--holyuni-font-meta)!important;margin-top:var(--holyuni-space-2)!important}
body.mobile-ui .profile-service-page .service-entry{min-height:64px;padding:var(--holyuni-space-4);gap:var(--holyuni-space-3)}
body.mobile-ui .profile-service-page .service-entry strong{font-size:var(--holyuni-font-card-title);font-weight:600}
body.mobile-ui .profile-service-page .service-entry small{font-size:var(--holyuni-font-body);line-height:var(--holyuni-line-body)}
body.mobile-ui .profile-service-page .service-entry small:empty{display:none}
body.mobile-ui .profile-service-page .service-form{display:grid;gap:var(--holyuni-space-6);margin:0;padding:0}
body.mobile-ui .profile-service-page .service-form label{margin:0;gap:var(--holyuni-space-2)}
body.mobile-ui .profile-service-page .service-form :is(input,textarea,select){margin-top:var(--holyuni-space-2);font-size:var(--holyuni-publish-font-control)!important;background:var(--holyuni-surface);line-height:var(--holyuni-line-body);border:1px solid var(--holyuni-line)}
body.mobile-ui .profile-service-page .service-form textarea{min-height:160px}
body.mobile-ui .feedback-options>summary{font-size:var(--holyuni-font-body);min-height:44px;align-content:center;color:var(--holyuni-muted);cursor:pointer}
body.mobile-ui .feedback-choice-field{margin-top:var(--holyuni-space-4)}
body.mobile-ui .feedback-choice-field legend{font-size:var(--holyuni-font-body);font-weight:600}
body.mobile-ui .feedback-choice-row{display:flex;flex-wrap:wrap;gap:var(--holyuni-space-2);overflow:visible}
body.mobile-ui .feedback-choice-row .feedback-choice{flex:0 1 auto}
body.mobile-ui .feedback-choice-row .feedback-choice span{display:flex;align-items:center;min-height:44px;font-size:var(--holyuni-font-body);font-weight:400;padding:var(--holyuni-space-2) var(--holyuni-space-3)}
body.mobile-ui .share-records{padding:var(--holyuni-space-4)}
body.mobile-ui .share-history-item{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:72px;gap:var(--holyuni-space-3);padding:var(--holyuni-space-4) 0;border:0;border-bottom:1px solid var(--holyuni-line);background:transparent;font:inherit;text-align:left;color:var(--holyuni-ink)}
body.mobile-ui .share-history-item strong{display:block;font-size:var(--holyuni-font-card-title)}
body.mobile-ui .share-history-item small{display:block;margin-top:var(--holyuni-space-1);font-size:var(--holyuni-font-body);color:var(--holyuni-muted)}
body.mobile-ui .form label.required-field{display:block}
body.mobile-ui .form label.required-field>:is(input,textarea,select){display:block;width:100%;margin-top:var(--holyuni-space-2)}
body.mobile-ui .publish-required-mark{display:inline!important;font-style:normal;color:var(--holyuni-danger);font-size:var(--holyuni-publish-font-required)!important;margin-left:var(--holyuni-space-1)}
body.mobile-ui #pageLayer .compose-photo-grid{display:flex;flex-wrap:wrap;gap:var(--holyuni-space-2);padding:0;border:0;background:transparent}
body.mobile-ui #pageLayer .compose-photo-grid .publish-media-preview{display:contents}
body.mobile-ui #pageLayer .compose-photo-grid .publish-media-item{width:84px;height:84px;flex:0 0 84px;border-radius:var(--holyuni-radius-control)}
body.mobile-ui #pageLayer .compose-photo-grid .compose-photo-picker{position:relative;display:flex;align-items:center;justify-content:center;width:84px;height:84px;flex:0 0 84px;padding:0;margin:0;overflow:hidden;border:1px dashed var(--holyuni-mint);border-radius:var(--holyuni-radius-control);background:var(--holyuni-mint-light);color:var(--holyuni-forest);cursor:pointer}
body.mobile-ui #pageLayer .compose-photo-grid .compose-photo-picker[hidden]{display:none}
body.mobile-ui #pageLayer .compose-photo-picker .icon{width:28px;height:28px;stroke:currentColor;stroke-width:1.8;fill:none}
body.mobile-ui #pageLayer .compose-photo-picker input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
body.mobile-ui #pageLayer .compose-photo-picker:focus-within{box-shadow:var(--holyuni-focus-ring)}
body.mobile-ui .content-translation-control{display:block;min-height:32px;margin:0;padding:var(--holyuni-space-1) 0;border:0;background:transparent;color:var(--holyuni-muted);font-size:var(--holyuni-font-caption);font-weight:400;line-height:var(--holyuni-line-caption);text-align:left}
body.mobile-ui .profile .profile-architecture{gap:var(--holyuni-space-3)}
body.mobile-ui .account-delete-entry strong{color:var(--holyuni-danger)}
body.mobile-ui .account-delete-page>p{font-size:var(--holyuni-font-body);line-height:var(--holyuni-line-body)}
body.mobile-ui .account-demo-note{color:var(--holyuni-muted)}
body.mobile-ui .account-delete-page .checkbox-row{display:flex;align-items:start;gap:var(--holyuni-space-2);font-size:var(--holyuni-font-body)!important}
body.mobile-ui .account-delete-page input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--holyuni-mint)}
body.mobile-ui .profile-signed-out{padding-top:var(--holyuni-space-8)}
body.mobile-ui .profile-signed-out h2{font-size:var(--holyuni-font-page-title)}
body.mobile-ui .profile-signed-out p{font-size:var(--holyuni-font-body);color:var(--holyuni-muted)}
body.mobile-ui .profile-signed-out .cta{width:100%;margin-top:var(--holyuni-space-4)}
body.mobile-ui .organization-badge{display:inline-flex;align-items:center;gap:var(--holyuni-space-1);color:var(--holyuni-forest);font-size:var(--holyuni-font-meta);font-weight:600}
body.mobile-ui .legal-document{font-size:var(--holyuni-font-body);line-height:var(--holyuni-line-body)}
body.mobile-ui .legal-document h3{font-size:var(--holyuni-font-card-title);line-height:var(--holyuni-line-title)}
body.mobile-ui .legal-document section p{font-size:var(--holyuni-font-body)}

/* Shared collection tabs for personal groups and activities. */
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tabs,.my-event-tabs){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;border-radius:var(--holyuni-radius-control);background:var(--holyuni-surface);overflow:hidden}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tab,.my-event-tab){display:flex;align-items:center;justify-content:center;position:relative;min-width:0;max-width:100%;gap:var(--holyuni-space-2);padding:var(--holyuni-space-3) var(--holyuni-space-2)!important;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--holyuni-muted);font-weight:500;white-space:nowrap}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tab,.my-event-tab).active{background:transparent;box-shadow:none;color:var(--holyuni-forest);font-weight:600}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tab,.my-event-tab).active::after{content:"";position:absolute;bottom:0;left:calc(50% - 14px);width:28px;height:3px;border-radius:var(--holyuni-radius-pill);background:var(--holyuni-mint)}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tab,.my-event-tab) .ui-action-icon{flex:none;width:20px;height:20px}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-count,.my-event-count){font-size:var(--holyuni-font-meta);font-variant-numeric:tabular-nums;font-weight:500}
body.mobile-ui :is(.my-groups-page,.my-events-page) :is(.my-group-tab,.my-event-tab):focus-visible{outline:2px solid var(--holyuni-forest);outline-offset:-3px}

/* Compact collection filters, with counts tied to the saved content in each category. */
body.mobile-ui .saved-category-tags{display:flex;flex-wrap:wrap;align-items:center;gap:var(--holyuni-space-2);padding:var(--holyuni-space-3) var(--holyuni-space-4)}
body.mobile-ui .saved-category-tag{display:inline-flex;align-items:center;justify-content:center;gap:var(--holyuni-space-1);min-height:36px;padding:var(--holyuni-space-2) var(--holyuni-space-3);border:0;border-radius:var(--holyuni-radius-control);background:var(--holyuni-surface);color:var(--holyuni-muted);font-size:var(--holyuni-font-meta);line-height:1.2;white-space:nowrap}
body.mobile-ui .saved-category-tag.active{background:var(--holyuni-mint-light);color:var(--holyuni-forest);font-weight:600}
body.mobile-ui .saved-category-tag small{font-size:var(--holyuni-font-caption);font-weight:500;font-variant-numeric:tabular-nums}
body.mobile-ui .saved-category-tag:focus-visible{outline:2px solid var(--holyuni-forest);outline-offset:2px}

/* Listing and task statuses follow the same tab hierarchy as groups and activities. */
body.mobile-ui .personal-status-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 var(--holyuni-space-4);padding:0;background:var(--holyuni-surface);border-radius:var(--holyuni-radius-control);overflow:hidden}
body.mobile-ui .personal-status-tab{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:var(--holyuni-control-primary-height);padding:var(--holyuni-space-3) 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--holyuni-muted);font-size:var(--holyuni-font-control);font-weight:500;white-space:nowrap}
body.mobile-ui .personal-status-tab.active{background:transparent;color:var(--holyuni-forest);font-weight:600}
body.mobile-ui .personal-status-tab.active::after{content:"";position:absolute;bottom:0;left:calc(50% - 14px);width:28px;height:3px;border-radius:var(--holyuni-radius-pill);background:var(--holyuni-mint)}
body.mobile-ui .personal-status-count{font-size:var(--holyuni-font-meta);font-weight:500;font-variant-numeric:tabular-nums}
body.mobile-ui .personal-status-tab:focus-visible{outline:2px solid var(--holyuni-forest);outline-offset:-3px}

/* One visual language for all personal collection tabs. */
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs,.saved-category-tags){display:flex;align-items:stretch;gap:0;margin:0 0 var(--holyuni-space-4);padding:0;background:var(--holyuni-surface);border:0;border-radius:var(--holyuni-radius-control);overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap}
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs,.saved-category-tags)::-webkit-scrollbar{display:none}
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs,.saved-category-tags)>button{flex:1 0 auto;display:flex;align-items:center;justify-content:center;position:relative;gap:var(--holyuni-space-1);min-height:var(--holyuni-control-primary-height);margin:0;padding:var(--holyuni-space-3) var(--holyuni-space-1)!important;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--holyuni-muted);font-size:var(--holyuni-font-control);font-weight:500;white-space:nowrap}
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs,.saved-category-tags)>button.active{background:transparent;box-shadow:none;color:var(--holyuni-forest);font-weight:600}
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs,.saved-category-tags)>button.active::after{content:"";position:absolute;bottom:0;left:calc(50% - 14px);width:28px;height:3px;background:var(--holyuni-mint);border-radius:var(--holyuni-radius-pill)}
body.mobile-ui :is(.profile-interaction-tabs,.saved-category-tags)>button:focus-visible{outline:2px solid var(--holyuni-forest);outline-offset:-3px}
body.mobile-ui .saved-category-tag small{font-size:var(--holyuni-font-meta);font-weight:500}
body.mobile-ui :is(.my-group-tabs,.my-event-tabs,.personal-status-tabs,.profile-interaction-tabs)>button{flex:1 1 0;min-width:0}

/* Hola uses its own composer; the hidden main navigation needs no clearance. */
body.mobile-ui #pageLayer[data-detail="holo-ai"] .page-head{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
body.mobile-ui #pageLayer[data-detail="holo-ai"] .page-shell{padding-bottom:0!important;background:var(--holyuni-surface)}
body.mobile-ui #pageLayer[data-detail="holo-ai"] #pageContent{padding:0!important}
body.mobile-ui #pageLayer[data-detail="holo-ai"] .hola-page{padding:0 0 calc(var(--hola-composer-height,72px) + 16px + env(safe-area-inset-bottom))!important;background:var(--holyuni-surface);min-height:calc(100dvh - 56px)}
body.mobile-ui #pageLayer[data-detail="holo-ai"] .hola-composer-wrap{bottom:calc(8px + env(safe-area-inset-bottom) + var(--hola-keyboard-inset,0px))!important}

body.mobile-ui #pageLayer .hola-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.mobile-ui #pageLayer .hola-quick-grid>button{min-width:0;white-space:normal;overflow-wrap:anywhere}

body.mobile-ui .personal-record-info>img{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:var(--holyuni-radius-control)}
body.mobile-ui .personal-record-info h3{font-size:var(--holyuni-font-card-title);font-weight:600;line-height:var(--holyuni-line-title)}
body.mobile-ui .personal-record-info>p{font-size:var(--holyuni-font-body);color:var(--holyuni-muted);line-height:var(--holyuni-line-body)}
body.mobile-ui .personal-record-info dl>div{display:flex;justify-content:space-between;gap:var(--holyuni-space-4);padding:var(--holyuni-space-3) 0;border-bottom:1px solid var(--holyuni-line);font-size:var(--holyuni-font-body)}
body.mobile-ui .personal-record-info dt{color:var(--holyuni-muted);flex:none}
body.mobile-ui .personal-record-info dd{margin:0;text-align:right;overflow-wrap:anywhere}

/* Conversation labels align to the card edge instead of an empty timestamp column. */
body.mobile-ui .message-center .ui-conversation-meta{flex:0 0 auto;min-width:0;max-width:38%;gap:var(--holyuni-space-1)}
body.mobile-ui .message-center .ui-conversation-meta>.ui-conversation-tags{max-width:100%;justify-content:flex-end;overflow:hidden}
body.mobile-ui .message-center .ui-conversation-status{display:flex;align-items:center;justify-content:flex-end;gap:var(--holyuni-space-1);min-height:0}
body.mobile-ui .message-center .ui-conversation-status:has(>.ui-badge[hidden]):not(:has(.message-time)){display:none}

/* Compact saved rows keep the full content in its detail page. */
body.mobile-ui .saved-collection-page .saved-category-tags{margin:0 0 var(--holyuni-space-3)}
body.mobile-ui .saved-item-list{display:grid;gap:var(--holyuni-space-3)}
body.mobile-ui .saved-item-card{display:grid;grid-template-columns:64px minmax(0,1fr) 36px;align-items:center;gap:var(--holyuni-space-3);margin:0;padding:var(--holyuni-space-3);border:1px solid var(--holyuni-line);border-radius:var(--holyuni-radius-card);background:var(--holyuni-surface)}
body.mobile-ui .saved-item-thumb{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:var(--holyuni-radius-control);background:var(--holyuni-mint-light);color:var(--holyuni-forest)}
body.mobile-ui .saved-item-thumb img{width:100%;height:100%;object-fit:cover}
body.mobile-ui .saved-item-copy{min-width:0}
body.mobile-ui .saved-item-copy h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:var(--holyuni-font-body);line-height:1.4;font-weight:600;color:var(--holyuni-ink)}
body.mobile-ui .saved-item-copy p,body.mobile-ui .saved-item-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:var(--holyuni-space-1) 0 0;font-size:var(--holyuni-font-meta);line-height:1.4;color:var(--holyuni-muted)}
body.mobile-ui .saved-item-card .save{display:grid;place-items:center;width:36px;min-height:44px;padding:0;border:0;background:transparent;color:var(--holyuni-forest)}
body.mobile-ui .saved-item-card .save svg{width:20px;height:20px;fill:currentColor}
body.mobile-ui #pageLayer .chat-form>button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0}
body.mobile-ui .group-chat-page.group-chat-readonly{padding-bottom:var(--holyuni-space-4)}
body.mobile-ui .group-chat-readonly .group-chat-stream:empty{min-height:0}
body.mobile-ui #pageLayer .saved-collection-page{padding-inline:var(--holyuni-space-4)}
body.mobile-ui #pageLayer .saved-item-card{border-radius:var(--holyuni-radius-card)!important}

/* Saved task evidence uses the same outlined actions as the task centre. */
.task-proof-attachment-names > button {
  min-height: var(--holyuni-control-min-height);
  display: inline-flex;
  align-items: center;
  margin-top: var(--holyuni-space-2, 8px);
  padding: var(--holyuni-space-2, 8px) var(--holyuni-space-3, 12px);
  border: 1px solid var(--holyuni-line);
  border-radius: var(--holyuni-radius-control);
  background: var(--holyuni-surface, #fff);
  color: var(--holyuni-forest, #07583e);
  font: inherit;
  cursor: pointer;
}
