/* Touch layouts and original website preferences, shared with the desktop. */
.text-size-control{display:block;min-width:0}.text-size-control>span,.control-slider>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.text-size-control input{display:block;width:100%;min-height:44px}.text-size-control small{display:block;line-height:1.5;color:var(--muted)}
.compact-messages .visitor-reaction{cursor:pointer;min-width:27px;width:auto;min-height:27px;height:27px;line-height:1;padding:2px 4px;overflow:visible;color:#263b50}.visitor-reaction:after{content:'';position:absolute;inset:-9px -7px}.visitor-reaction:focus-visible{outline:3px solid #2781b6;outline-offset:4px}.compact-messages .message:has(.visitor-reaction) .reaction-add{display:none}
.control-center{max-height:calc(100dvh - 70px);overflow:auto}.control-center .text-size-control{padding:12px 0}.setting-row{height:auto;min-height:44px;gap:12px}.setting-row strong{overflow-wrap:anywhere}.control-slider output{white-space:nowrap}
#phone-controls-dialog{position:fixed;inset:0 0 auto;margin:0 auto;width:min(100%,520px);max-width:100%;max-height:calc(var(--phone-vh,100dvh) - 12px);overflow:auto;overscroll-behavior:contain;border:1px solid #8496ac;border-top:0;border-radius:0 0 20px 20px;padding:0 20px 22px;background:#e9eef5;color:#203954;box-shadow:0 16px 55px #091c3955;animation:website-controls-in .24s ease-out;font-family:Arial,sans-serif}#phone-controls-dialog::backdrop{background:#0c1b3688}#phone-controls-dialog button{min-height:44px;min-width:44px;color:inherit}#phone-controls-dialog h2{font:700 23px/1.2 Arial,sans-serif;margin:5px 0}#phone-controls-dialog .controls-grab{width:100%;height:30px;min-height:30px;border:0;background:none;display:grid;place-items:center;touch-action:none}#phone-controls-dialog .controls-grab span{width:48px;height:5px;border-radius:8px;background:#8397b0}.controls-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.controls-title small{letter-spacing:.15em;font-size:11px;color:#49617d}.controls-help{font-size:14px;line-height:1.5;margin:14px 0}.controls-title>button{border:1px solid #b0bfd0;border-radius:50%;background:#fff8;flex-shrink:0}.controls-title svg{width:19px;height:19px}.controls-rows{display:grid;gap:1px;border:1px solid #b3c0d1;background:#b3c0d1;border-radius:12px;overflow:hidden;margin:14px 0}.controls-rows button{background:white;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:16px;padding:12px 14px;border:0;line-height:1.4}.controls-rows button strong{font-size:14px;white-space:nowrap}.controls-rows svg{width:20px;height:20px;flex-shrink:0}#phone-controls-dialog .control-slider{display:block;border:1px solid #b3c0d1;background:white;border-radius:12px;padding:14px;margin:12px 0}#phone-controls-dialog input[type=range]{width:100%;min-height:44px;accent-color:#426a92}#phone-controls-dialog small,#phone-controls-dialog .fine{color:#4a617a;line-height:1.5}#phone-controls-dialog .fine{font-size:12px}
@keyframes website-controls-in{from{transform:translateY(-100%)}to{transform:translateY(0)}}
:root.phone-layout{--phone-header:calc(96px + var(--phone-safe-top));--phone-footer:calc(56px + var(--phone-safe-bottom))}.phone-layout .phone-status{height:calc(44px + var(--phone-safe-top));padding-top:var(--phone-safe-top);grid-template-columns:1fr auto 1fr;touch-action:pan-x}.phone-layout .phone-status button{min-height:44px}.phone-layout .phone-controls-trigger{justify-self:end;width:44px;min-width:44px;display:grid;place-items:center;background:none;border:0;color:#f4f8fc}.phone-controls-trigger svg{width:21px;height:21px}.phone-layout .phone-app-nav{top:calc(44px + var(--phone-safe-top));height:52px;grid-template-columns:minmax(78px,1fr) minmax(0,1.6fr) minmax(44px,1fr)}.phone-layout .phone-app-nav>strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.phone-layout .phone-back{max-width:100%;min-width:0}.phone-layout .phone-back span{overflow:hidden;text-overflow:ellipsis}.phone-layout .phone-back svg{flex-shrink:0}.phone-layout .phone-home{top:calc(44px + var(--phone-safe-top));padding-bottom:155px}.phone-layout .phone-home-name{font-size:17px}.phone-layout .phone-home-dock{min-height:124px;height:auto;align-items:start}.phone-layout .phone-app-icon strong{white-space:normal;line-height:1.25;overflow:visible}.phone-layout .phone-app-grid{row-gap:18px}.phone-layout .phone-app-icon{min-height:94px}.phone-layout .app-body{min-width:0;overflow-x:hidden}.phone-layout input:not([type=range]),.phone-layout textarea,.phone-layout select{font-size:16px;max-width:100%;min-width:0}.phone-layout button,.phone-layout a.button{touch-action:manipulation}.phone-layout :is(.button,.setting-row){white-space:normal;height:auto;min-height:44px}.phone-layout p,.phone-layout li{overflow-wrap:anywhere}.phone-layout .dialog-title{gap:12px;align-items:start}.phone-layout .dialog-title h2{min-width:0;overflow-wrap:anywhere}.phone-layout #small-dialog{max-height:calc(var(--phone-vh,100dvh) - 32px);overflow:auto}.phone-layout .dialog-actions{flex-wrap:wrap}.phone-layout .compact-messages .message p{font-size:15px;line-height:1.4}.phone-layout .compact-messages .chat-log{gap:7px;padding:16px 30px 24px}.phone-layout .compact-messages .message{padding:8px 11px;max-width:94%;min-width:0}.phone-layout .compact-messages .visitor-reaction{min-height:27px;height:27px;min-width:27px}.phone-layout .conversation{height:auto;min-height:76px}.phone-layout .conversation strong{font-size:17px}.phone-layout .conversation small{font-size:13px;line-height:1.35}.phone-layout .thread-search{font-size:16px}.phone-layout .compose textarea{font-size:16px}.phone-layout .chat-main{min-height:0}
/* Search is a dedicated small-screen task with a visible Done action. */
.phone-layout #search-dialog{position:fixed;inset:calc(var(--phone-top,0px) + 12px) 12px auto;margin:0;width:calc(100% - 24px);max-width:none;max-height:calc(var(--phone-vh,100dvh) - 24px);padding:0;overflow:auto}.phone-layout .spotlight-input{display:flex;gap:8px;padding:10px;position:sticky;top:0;z-index:2}.phone-layout .spotlight-input>svg{width:20px;flex-shrink:0}.phone-layout #global-search{min-width:0;font-size:16px;flex:1;width:0;padding:10px 8px}.phone-layout .spotlight-input kbd{display:none}.phone-layout .phone-search-close{min-width:44px;min-height:44px;color:#183d68;font-weight:bold;background:none;border:0}.phone-layout #search-results{max-height:calc(var(--phone-vh,100dvh) - 175px);overflow:auto}.phone-layout .search-result{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px;width:100%;height:auto}.phone-layout .search-result>svg{flex:0 0 22px}.phone-layout .search-result>span:first-of-type{flex:1;min-width:0}.phone-layout .search-result strong{white-space:normal;font-size:16px;line-height:1.3}.phone-layout .search-result small{display:block;white-space:normal;font-size:12px;line-height:1.4}.phone-layout .search-result>span:last-child{display:none}.phone-layout #search-dialog footer{font-size:12px;padding:12px;line-height:1.5}
/* Mail: one readable pane at a time, a form that can scroll above the keyboard. */
.phone-layout .mail-app,.phone-layout .mail-columns,.phone-layout .mail-reading{min-width:0}.phone-layout .mail-folders button{min-height:58px;height:auto;font-size:17px}.phone-layout .mail-list>button{min-height:92px;height:auto;padding:14px 16px}.phone-layout .mail-list strong{font-size:17px;white-space:normal}.phone-layout .mail-list small,.phone-layout .mail-list p{font-size:14px;white-space:normal;line-height:1.5}.phone-layout .mail-reading{padding:16px}.phone-layout .mail-reading h2{font-size:24px;line-height:1.2;overflow-wrap:anywhere}.phone-layout .mail-reading .mail-letter{font-size:16px;line-height:1.65;white-space:pre-wrap}.phone-layout .mail-compose-head,.phone-layout .mail-message-actions{flex-wrap:wrap;gap:8px}.phone-layout .email-compose-form{display:flex;flex-direction:column;gap:12px;min-width:0}.phone-layout .email-compose-form label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-size:14px}.phone-layout .email-compose-form input{width:100%;min-height:44px;padding:10px}.phone-layout .email-compose-form #mail-body{font-size:16px;line-height:1.6;min-height:180px;height:28vh;flex:none}.phone-layout .email-verify-row,.phone-layout .mail-bottom{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.phone-layout .email-verify-row input{flex:1 1 130px}.phone-layout .email-compose-form .fine{font-size:13px;line-height:1.5}.phone-layout .mail-app>.rich-toolbar{padding:8px;gap:8px}.phone-layout #mail-search{font-size:16px;width:100%;min-width:0}
/* Photos: horizontal albums, a compact tool shelf, and a contained image stage. */
.phone-layout .photos-main{padding:14px 12px;min-width:0}.phone-layout .photos-sidebar{gap:8px;padding:8px;overflow-x:auto}.phone-layout .photos-sidebar button{min-height:44px;padding:9px 12px;font-size:14px;flex-shrink:0}.phone-layout .photos-main .section-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.phone-layout .photos-main h2{font-size:24px;line-height:1.2}.phone-layout .photo-tools{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0;align-items:center}.phone-layout .photo-tools>input{width:100%;flex:1 1 100%;min-height:44px}.phone-layout .photo-tools label{display:flex;align-items:center;gap:12px;flex:1;min-width:0;font-size:14px}.phone-layout .photo-tools input[type=range]{width:100%;min-width:0;min-height:44px}.phone-layout .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;padding:0}.phone-layout .photo-tile{min-width:0;position:relative}.phone-layout .photo-tile>button:first-child{width:100%;padding:0}.phone-layout .photo-tile img{width:100%;height:130px;object-fit:cover}.phone-layout .photo-tile span{display:block;white-space:normal;overflow-wrap:anywhere;padding:8px;font-size:13px}.phone-layout .photo-heart{min-width:44px;min-height:44px;right:4px;top:4px;bottom:auto;background:#f7fbffee;color:#25415a}.phone-layout .album-placeholders{display:grid;grid-template-columns:1fr;gap:10px}.phone-layout .album-placeholder{min-height:94px;height:auto;display:grid;grid-template-columns:48px 1fr;gap:6px 12px;text-align:left;padding:16px}.phone-layout .album-placeholder>span{grid-row:span 2}.phone-layout .album-placeholder strong{font-size:17px}.phone-layout .album-placeholder small{font-size:13px}.phone-layout .photos-empty{padding:20px 4px}.phone-layout .photos-empty p{font-size:15px;line-height:1.6}.phone-layout .photo-lightbox{max-width:100%;padding:8px}.phone-layout .photo-lightbox img{max-width:100%;max-height:50vh;object-fit:contain}
/* Calendar: date policy and a full-height day remain readable in the site's own scroll area. */
.phone-layout .cal-toolbar{display:flex;flex-wrap:wrap;height:auto;min-height:60px;gap:6px;padding:8px}.phone-layout .cal-toolbar strong{font-size:15px;line-height:1.4;flex:1;min-width:100px}.phone-layout .cal-toolbar button{min-height:44px;min-width:44px}.phone-layout .calendar-view-switch{display:flex;flex-shrink:0}.phone-layout .calendar-view-switch button{font-size:14px}.phone-layout .planner-day-head{min-height:52px;height:auto}.phone-layout .planner-day-head strong{font-size:14px}.phone-layout .planner-day-head small{font-size:12px}.phone-layout .calendar-booking-footer{font-size:13px;line-height:1.45;padding:12px;max-height:30vh;overflow:auto}.phone-layout .calendar-time-slot{font-size:12px;line-height:1.3;min-height:44px}.phone-layout .cal-sidebar{padding:16px}.phone-layout .cal-sidebar>p,.phone-layout .cal-sidebar .fine{font-size:13px;line-height:1.5}.phone-layout .calendar-grid button{min-height:44px;min-width:0;font-size:14px}.phone-layout .cal-sidebar select{width:100%;min-height:44px}.phone-layout .planner-hours>span{font-size:12px}
/* Profile: portrait, story sections, and perspectives without desktop-sized columns. */
.phone-layout .journey-hero{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;padding:18px 16px}.phone-layout .journey-hero>img{width:76px;height:100px}.phone-layout .journey-hero h1{font-size:26px;line-height:1.15}.phone-layout .journey-hero p{font-size:14px;line-height:1.5}.phone-layout .journey-nav{display:flex;overflow-x:auto;gap:8px;padding:8px;flex-shrink:0}.phone-layout .journey-nav button{font-size:14px;min-height:44px;flex-shrink:0;padding:10px 12px}.phone-layout .journey-body{padding:18px 16px}.phone-layout .journey-body h2{font-size:25px;line-height:1.2}.phone-layout .journey-body h3{font-size:20px}.phone-layout .journey-body p,.phone-layout .journey-body li{font-size:16px;line-height:1.6}.phone-layout .journey-perspective{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px}.phone-layout .audience-switch{display:flex;flex-wrap:wrap;gap:4px}.phone-layout .audience-switch button{font-size:13px;flex:1 1 120px;min-height:44px}.phone-layout .journey-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phone-layout .journey-facts strong{font-size:26px}.phone-layout .journey-facts span{font-size:13px}.phone-layout .journey-overview-grid,.phone-layout .journey-projects{display:grid;grid-template-columns:1fr;gap:12px}.phone-layout .journey-overview-grid button{height:auto;min-height:115px;padding:16px}.phone-layout .journey-overview-grid strong{font-size:18px}.phone-layout .journey-overview-grid small{font-size:14px;line-height:1.5}
/* Files, viewers, destinations and communication forms share full-width touch actions. */
.phone-layout .finder-toolbar{display:flex;flex-wrap:wrap;height:auto;gap:8px;padding:8px}.phone-layout #work-search{flex:1 1 100%;min-height:44px}.phone-layout .finder-toolbar strong{font-size:16px;flex:1;min-width:90px}.phone-layout .catalog-grid{grid-template-columns:1fr}.phone-layout .catalog-open{min-height:90px}.phone-layout .catalog-open strong{font-size:17px;white-space:normal}.phone-layout .catalog-open small{font-size:13px}.phone-layout .finder-status{font-size:12px;line-height:1.5;height:auto;min-height:40px;flex-wrap:wrap}.phone-layout .pdf-toolbar{display:flex;flex-wrap:wrap;height:auto;min-height:52px;gap:4px;padding:6px}.phone-layout .pdf-toolbar button{min-height:44px;min-width:40px}.phone-layout .pdf-toolbar input{width:55px}.phone-layout .pdf-find{flex-wrap:wrap;height:auto;min-height:54px}.phone-layout .pdf-find input{flex:1;min-width:90px;width:90px}.phone-layout .document-tabs{overflow:auto;flex-shrink:0}.phone-layout .document-tab{min-width:140px;max-width:75vw;min-height:48px}.phone-layout .document-tab button{min-height:44px}.phone-layout .pdf-status{font-size:12px;max-height:22vh}.phone-layout .browser-destinations{display:flex;flex-wrap:wrap;gap:5px}.phone-layout .browser-destinations button{flex:1;font-size:14px;min-height:44px}.phone-layout .browser-destinations a{font-size:13px;min-height:44px;display:flex;align-items:center}.phone-layout .classic-browser-address output{font-size:14px}.phone-layout .contact-gate{padding:20px 16px;min-width:0}.phone-layout .contact-gate form{display:flex;flex-direction:column;gap:12px}.phone-layout .contact-gate input{width:100%;min-height:44px}.phone-layout .voice-stage,.phone-layout .video-stage{padding:22px 16px}.phone-layout .voice-stage p,.phone-layout .video-stage p{font-size:16px;line-height:1.6}.phone-layout .voice-buttons{display:flex;flex-wrap:wrap;gap:8px}.phone-layout .voice-buttons>*{flex:1 1 140px}.phone-layout .settings-main h2{font-size:24px}.phone-layout .settings-main p{font-size:15px;line-height:1.6}.phone-layout .settings-sidebar button{font-size:17px;min-height:58px}.phone-layout .setting-row{font-size:15px;flex-wrap:wrap;padding:12px 0;gap:8px}.phone-layout .setting-row strong{font-size:14px}.phone-layout .wallpaper-options{grid-template-columns:1fr}.phone-layout .wallpaper-options button{font-size:15px;min-height:100px}.phone-layout .source-card{padding:14px}.phone-layout .source-card strong{font-size:16px}.phone-layout .source-card p{font-size:15px}.phone-layout .emoji-palette nav{max-height:22vh;overflow:auto}.phone-layout .emoji-grid{max-height:30vh}.phone-layout .emoji-palette nav button{font-size:13px;min-height:40px}
:root[data-large-text=true].phone-layout .photo-grid,:root[data-large-text=true].phone-layout .journey-facts{grid-template-columns:1fr!important}:root[data-large-text=true].phone-layout .journey-hero{grid-template-columns:1fr}:root[data-large-text=true].phone-layout .phone-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}:root[data-large-text=true].phone-layout .phone-home-dock{position:relative;inset:auto;margin-top:25px;grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-large-text=true].phone-layout .phone-home{padding-bottom:20px}:root[data-large-text=true].phone-layout .phone-app-nav>strong{font-size:16px}:root[data-large-text=true].phone-layout .phone-back{font-size:12px}:root[data-large-text=true].phone-layout .planner-day-head{max-height:18vh;overflow:auto}
@media(orientation:landscape) and (max-height:520px){:root.phone-layout{--phone-header:calc(96px + var(--phone-safe-top))}.phone-layout .phone-home{padding:12px 135px 15px 18px}.phone-layout .phone-home-dock{position:absolute;top:0;right:0;bottom:0;left:auto;width:116px;overflow:auto;min-height:0}.phone-layout .phone-app-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.phone-layout .phone-app-icon{min-height:78px}.phone-layout #phone-controls-dialog{max-height:calc(var(--phone-vh,100dvh) - 10px)}:root[data-large-text=true].phone-layout .phone-home{padding-right:20px}:root[data-large-text=true].phone-layout .phone-home-dock{width:auto;display:grid}}
@media(prefers-reduced-motion:reduce){#phone-controls-dialog{animation:none}}:root[data-motion=reduced] #phone-controls-dialog{animation:none}
.phone-layout .photos-sidebar{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;width:100%;height:auto;min-height:62px;flex-shrink:0;overflow-x:auto;overflow-y:hidden}.phone-layout .photos-sidebar>small,.phone-layout .photos-sidebar>.fine{display:none}.phone-layout .photos-sidebar button{width:auto;white-space:nowrap}.phone-layout .document-tab:has([aria-selected=true]){background:linear-gradient(#7396c0,#45668d);color:#fff}.phone-layout .document-tab button{color:#213d5d}.phone-layout .document-tab [aria-selected=true]{color:#fff;background:linear-gradient(#7396c0,#45668d)}.phone-layout .planner-hours{width:58px}.phone-layout .planner-hours>span{width:54px;white-space:nowrap;font-size:11px;left:2px}
#phone-controls-dialog{padding-top:env(safe-area-inset-top,0px)}
.phone-layout .mail-folders{display:block;overflow:auto}.phone-layout .mail-folders>button{display:flex;width:100%;min-height:64px;height:auto;align-items:center;justify-content:flex-start;text-align:left;gap:12px}.phone-layout .mail-folders>button:last-child{border-bottom:1px solid #aab7c8;border-radius:0 0 9px 9px}.phone-layout .mail-folders .inline-unread{margin-left:auto}
