Mobile workspace layout at 360px, 390px and 768px
Use this layout for the public marketing site and the signed-in workspace. It keeps lists, question detail, the answer composer, the hero message, the primary call to action, feature sections, testimonials, pricing, and footer in order at phone and tablet widths, with no overlap and no sideways scroll. Use this page to build the signed-in app shell so the sidebar, workspace switcher and top bar collapse without losing a core route. Every route below is reachable by tap or keyboard at 390px, with no hover, no sideways scroll and no dead button.
Public marketing layout at 360px, 390px and 768px
At 360px, navigation stacks full width, the workspace switcher stacks full width, and the answer stacks above sources with no overlap. At 390px, the same stacking applies. At 768px, two column grids and the answer with source column remain usable without overlap. No page sideways scrolls at any of these widths. Each tap target is at least 44px high and each field text is at least 16px. The table below extends the same rules to the public marketing sections. It adds no testimonial, no price, and no claim.
| Section | Order at 360px and 390px | Order at 768px | Overlap rule |
|---|---|---|---|
| Hero | Eyebrow, heading, lead text, primary call to action, secondary links | Same order, heading and lead text in one column, buttons in a row that wraps | No text, button, or image is absolutely positioned over the heading or lead text. The primary call to action stays in normal flow directly after the lead text. |
| Feature sections | One card per row in document order | Two cards per row for a two or three column grid, then one card per row below 640px | Cards do not share a row below 640px. Card text wraps inside the card and the card does not extend past the viewport. |
| Testimonials, where present | Quote, then attribution, then any link, one testimonial per row | Two testimonials per row at most, quote above attribution in each card | No avatar, quote mark, or attribution is placed over the quote text. This layout adds no testimonial and invents no quote or name. |
| Pricing, where present | Plan name, price line as published, period, included list, call to action, one plan per row | Two plans per row at most, featured plan first in document order, call to action at the bottom of each card | No price, list, or button overlaps another plan. This layout lists no price and adds no plan. No price is listed on this site. |
| Footer | Footer links wrap in reading order, then contact and fine print | Footer links in a wrapping row, then fine print below | No footer link or fine print is fixed over page content. Each footer link is at least 44px high and wraps to a new line instead of overlapping. |
Header audit at 360px, 390px, and 768px
Static audit of the header markup used on guide pages, with the fix shipped on this page. The header holds the logo, a Menu button, and six links in that order: Features, Assistants, Reports, Guides, Request a demo, and Sign in. Most guide files in this pack carry no media query for the header or navigation, so the single row has no in-pack guarantee at phone widths.
| Width | Risk found | Fix on this page |
|---|---|---|
| 768px | Logo, Menu button, and six links do not fit one row without overlap or a pushed call to action | Header wraps, navigation moves to a full width second row, and every link is at least 44px high |
| 390px | Single row overflows the viewport, and the Request a demo link can be truncated or pushed off screen | Navigation stacks in one full width column, the call to action is full width in reading order, and the page does not scroll sideways |
| 360px | Wrap padding and the logo text can push the Menu button off the first row | Wrap padding tightens, the logo can shrink, the Menu button stays on the first row, and navigation stacks below it |
Navigation is not hidden by this style, so the links and the call to action stay reachable when script loading fails. Copy the style block in the head of this page to other guide headers when those pages are updated.
Hero and primary call to action
The hero keeps the same message hierarchy on every width. The primary call to action is the first button in document order and is never moved after a secondary link by positioning.
- Order: eyebrow, heading, lead text, primary call to action, secondary action, then supporting links. Do not place a secondary link before the primary call to action in document order.
- At 360px and 390px, each hero button is full width, at least 48px high, and in its own row. A second button never sits beside the first button and never covers it.
- At 768px, hero buttons may sit in one wrapping row. Set the container to flex with wrap and a gap, so a button that does not fit moves to the next row instead of overlapping.
- Heading size uses clamp with a viewport term, so the heading shrinks at 360px and does not push buttons off the screen. Lead text wraps inside the container and the page does not scroll sideways.
- No sticky hero, no fixed banner, and no floating button is placed over the hero text or the primary call to action at any width.
Feature sections, testimonials, and pricing
Each section stacks in document order. Grouping changes with width, and the reading order does not.
Feature sections
- At 360px and 390px, set every grid to one column. At 768px, allow two columns. Below 640px, return to one column for tables and cards.
- Keep the heading, body text, and link of a card together in that card. Do not let a heading in one card overlap body text in the next card.
- A card that holds a list keeps the list inside the card. Long words break inside the card instead of extending past the viewport.
Testimonials and pricing
- Testimonial card order: quote, attribution, link. Pricing card order: plan name, published price line, period, included list, call to action. Keep that order in document order at every width.
- At 360px and 390px, one testimonial and one plan per row. At 768px, two per row at most. The call to action in a pricing card stays at the bottom of that card.
- Where a section is not present, the layout adds nothing. A missing testimonial or a missing price is not replaced by invented content.
Footer, navigation, tables, and forms
Footer and navigation use the same stacking rule as the hero. A link that does not fit wraps, and it does not overlap the next link.
- Footer links: flex container with wrap, gap between links, each link at least 44px high, fine print in normal flow after the links.
- Header navigation at 360px and 390px: logo and menu control in one row, navigation links full width below the menu control when the menu is open, each link at least 48px high.
- Tables at 360px, 390px and 768px: a table either scrolls inside its own container, or becomes a stacked list with the column name before each value. A table never makes the whole page scroll sideways.
- Forms: field text at least 16px, each control at least 48px high, label above field, helper text below field, and one primary action last in the form. A form never places two primary actions side by side at 360px or 390px.
```mermaid
flowchart TD
A[Viewport at 360px, 390px or 768px] --> B[Hero in document order]
B --> C[Primary call to action in flow]
C --> D[Feature sections stack or form two columns]
D --> E[Testimonials and pricing stack]
E --> F[Footer links wrap]
F --> G[Check no overlap and no sideways scroll]
```Audit summary: what the pack states and what was missing
The pack states mobile rules for the widget, for tables and for checklists, but it states no single rule for the signed-in shell itself. This section closes that gap. It reorders existing elements only. It adds no record, no role and no permission.
| Area | At 390px | At 768px | Rule to ship |
|---|---|---|---|
| Sidebar | Sidebar is not a side column. It is a drawer opened from Menu in the top bar, full width, one route per row, at least 44 pixels high. | Sidebar is a drawer opened from Menu, or a top row of routes when the drawer is closed. It does not squeeze the answer column. | One Menu button, aria-expanded and aria-controls on the drawer, Escape closes it, focus returns to Menu, and the college name stays visible above the drawer. |
| Workspace switcher | Switcher is a full-width button in the top bar. Choosing it opens a list of colleges in the drawer, one per row. It is never a hover menu and never a truncated select. | Same button and same list, full width in the drawer. The selected college name is shown in the top bar and in the drawer header. | Show the college name, state the college in the drawer header, and stop with a switch-workspace message when the name is wrong. A changed college discards typed text for the old college. |
| Top bar | Top bar is sticky, one row, with Menu, the college switcher and the account action. It stays visible while the answer scrolls. | Top bar keeps the same three controls in the same order. No control moves to a second row. | Keep the same order on phone and desktop, keep every control at least 44 pixels high, and keep the sign-in or account action reachable without a hover menu. |
| Answer and source list | Answer stacks above the source list. Each source title, link and last checked date is its own block. Rating buttons are at least 44 pixels high or stacked full width. | Answer and source list may sit side by side when both fit without overlap, otherwise they stack in the same order as at 390px. | Keep the source list with the answer, keep the handoff office name, phone, email, hours and location with a not-known answer, and keep field text at least 16 pixels. |
| Lists and tables | Lists become stacked cards, one row per card, with filters above the list. Tables use the labelled-card form at 640px and below. | Two-column grids stay usable without overlap. Filters stay above the list and the count status stays beside the list title. | Keep the heading and filters visible when a list is empty, show one empty state per list, and keep focus on the filter control. |
| Modal and handoff panel | Modal is a full-screen sheet, header and close button first, content scrolls inside the sheet, primary action at the bottom. | Sheet may be a centred panel, with the same header, close and primary action order. | Closing the sheet returns focus to the control that opened it. No action is phone only and no action is desktop only. |
Core routes that must stay reachable without hover
Read only the rows for your role. A route is shown only when the assigned role covers that step. When the role does not cover it, the screen names the role that can do it and links to the guide. It does not show a button that does nothing, and the server checks again.
| Route | Mobile placement | Shown for |
|---|---|---|
| Today | First row in the drawer, with the count for the first action beside it | Every signed-in role in that college |
| Ask | Drawer row, and the primary action on a not-known or empty answer | Every signed-in role that can ask in that college |
| Sources | Drawer row below Ask | Instructor or faculty, builder, approver and college administrator |
| Assistants | Drawer row below Sources | Instructor or faculty, builder and college administrator |
| Improve | Drawer row below Assistants | Contributor staff and college administrator |
| Reports | Drawer row below Improve, with college, assistant, channel and date range in the header | Every role that can read reports in that college. System view shows totals only. |
| Team and Governance | Drawer rows below Reports, one per row | College administrator only for retention and access. Other roles see the named role and the guide link. |
| Activity | Drawer row below Team | College administrator, for invite and role changes |
| Widget | Drawer row below Activity. Setup follows the stacked form in Publish the widget. | College administrator and college web staff. Faculty do not publish the live widget alone. |
No route depends on hover, on a tooltip, on a right-click, or on a keyboard shortcut alone. Every hover-reveal action has a tap and focus equivalent in the same place.
Try the pattern on this page
Example only. This miniature shell uses the same drawer, switcher and route rules as the signed-in app. Nothing here is sent to a server and no college record is changed. It works at 390px and at 768px with tap, mouse or keyboard.
Answer area
At 390px the answer stacks above the source list. Source title, source link and last checked date stay with the answer. The handoff office name, phone, email, hours and location stay with a not-known answer.
Changing the role filters the drawer routes, as the signed-in app filters them by assigned role.
Example colleges, example only
Menu closed. Routes shown for the chosen demo role.
Copy-ready CSS for the signed-in shell
Copy this block into the signed-in app stylesheet. It keeps the existing tab and navigation names and structure, and it changes layout only. It adds no long-lived caching to a file whose name does not change between versions.
.app-topbar{position:sticky;top:0;display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 12px;background:var(--surface);border-bottom:1px solid var(--line);z-index:20;padding-top:calc(10px + env(safe-area-inset-top))}
.app-topbar .button,.app-topbar button{min-height:44px}
.app-nav{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px}
.app-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px}
@media (max-width:900px){.app-nav{flex-direction:column;align-items:stretch}.app-nav a{width:100%}}
@media (max-width:768px){.grid.c2,.grid.c3{display:grid;grid-template-columns:1fr;gap:16px}.feature{padding:16px}}
@media (max-width:640px){.table{display:block;width:100%;overflow-x:auto;border:0}.table thead{display:none}.table tbody,.table tr,.table td{display:block;width:100%}.table tr{border:1px solid var(--line);border-radius:12px;padding:12px;margin:0 0 12px}.table td{border:0;padding:8px 0;display:flex;gap:12px}}
@media (max-width:480px){.app-topbar .button{flex:1 1 100%}.btns .button{width:100%;min-height:48px}}
html,body{max-width:100%;overflow-x:hidden}
input,select,textarea{font-size:16px;min-height:44px;max-width:100%}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1E40AF;outline-offset:2px}
Behaviour rules that go with the CSS
- Menu toggles the drawer with aria-expanded, moves focus to the first drawer row on open, and returns focus to Menu on close, on Escape, and on route choice.
- The workspace switcher toggles its list with aria-expanded. Choosing a college updates the top-bar name, closes the list, and discards typed text for the old college with a stated message.
- Route choice closes the drawer on phone, keeps the same college, assistant, channel and date range filters, and moves focus to the page heading on the new screen.
- When a role lacks a route, the drawer names the role that can do it and links to the guide. It shows no disabled button and no button that does nothing.
- Tables, lists and the answer area keep the same order on phone and desktop. A second primary button does not appear on the same card.
Checks before you ship the shell change
Run each check at 320px, 360px, 390px, 768px and 1024px, with tap, keyboard and screen reader. If a check fails, fix it before you publish.
- At 390px the drawer opens full width from Menu, every core route for the role is one row high, Escape closes the drawer and focus returns to Menu, and no page scrolls sideways.
- The workspace switcher opens a full-width college list, the selected college name is shown in the top bar and the drawer header, and a wrong college name stops the task with a switch-workspace message.
- The top bar stays sticky in the same order on phone and desktop, every control is at least 44 pixels high, field text is at least 16 pixels, and focus stays visible by keyboard.
- Every core route is reachable without hover, without a tooltip and without a shortcut, and a role without the step permission sees the named role and the guide link instead of a dead button.
- The answer stacks above the source list at 390px with no overlap, each source link opens, last checked date is shown beside it, and the handoff office contact stays with a not-known answer.
- Lists show the heading and filters when empty, one empty state per list, the count shown and total in a status region, and focus on the filter control.
- Keyboard and screen reader order matches visual order top to bottom, the modal sheet is full width at 390px with close first and focus returned on close, and test sessions are labelled as test and excluded from counts.
Next guide
Show the next indispensable action first for each role on the home view.
Reflow at 360px for lists, question detail, and the answer composer
At 360px every view uses one column in document order, every action stays reachable in that order, and no metadata is clipped or pushed off screen. Long source links, code, and file names wrap instead of truncating.
| View | Stacking at 360px | Preservation rule |
|---|---|---|
| Lists, including guide cards, question lists, and saved answer lists | One item per row. Title first, then workspace, assistant, source title, source link, last checked date, count, and date each on its own line. Filter controls and the count status sit above the list in one column. | Every row action is full width and at least 48px high, in document order, with the primary action first. No two cards share a row, and no action is hidden behind a sideways scroll region. |
| Question detail, including the answer with sources | Question block, then answer block, then the source list below the answer. Each source shows source title, source link, and last checked date on its own line. Rating, save, and handoff actions follow the source list. | Source title, link, and date are never truncated with an ellipsis and never clipped. A long link wraps anywhere. The handoff office name, phone, email, hours, and location each stay on their own line. |
| Answer composer and forms | Label above field, field, helper text, then error text. Fieldsets stack in Context, Identity, Content, and Review order. The composer textarea is full width with no fixed height that clips text. | One primary action sits last, full width, with secondary actions below it as full width buttons. No two primary actions sit side by side, and field text stays at least 16px so typing does not zoom. |
| Tables, code, and long text | A table becomes one card per row, with the column name above the value instead of beside it. Pre and code wrap to the next line. | A value is never squeezed into a fixed 42 percent label column at 360px. The page has no horizontal scroll. Wrapping replaces scrolling for code, links, and file names, and every value remains readable in full. |
- At 360px, open a list, a question detail page, and the answer composer. Confirm no page scrolls sideways, no text is clipped, and every action from the desktop view is present in document order.
- Confirm a long source link and a long code line wrap to the next line instead of truncating or creating a scroll region.
- Confirm each control is at least 48px high, focus stays visible, and the count status and filters stay above the list.
Responsive rules shipped on this page
Copy the style block in the head of this page to a public page that lacks it. It is the same block that styles this page, so this page is the worked example.
Desktop grid standard: container 1120px maximum with 24px gutters, section spacing 64px, card padding 24px, and grid gap 24px. At 768px and below the same values become 16px gutters, 40px section spacing, 16px card padding, and 16px grid gap. At 390px gutters become 12px. Every section uses the same container, and every card uses the same card padding, so alignment and whitespace rhythm stay consistent across the public pages and the signed-in workspace.
- Set box sizing to border box, cap the wrap at the viewport width, and keep horizontal overflow hidden on the body as a last resort, with grids and tables still fixed to stack or scroll inside their container.
- Set hero heading size with clamp, set buttons to flex wrap with a gap, and set every button to at least 48px high.
- At 768px and below, set two and three column grids to one column and set hero buttons to full width. At 640px and below, stack tables with the column name before each value. At 390px, reduce side padding and heading size and stack header navigation full width. At 360px, stack the table label above the value, reduce feature padding to 14px, and keep buttons at least 48px high with wrapping text.
- At 360px and below, keep one column, stack table labels above values, wrap pre and code, and set every action to full width.
- Do not add long lived caching to a style or script file whose name does not change between versions. Content hashed files under assets can be cached for longer, as the platform rules state.
Check the layout before you publish
Open each public page at 360px, 390px and 768px, confirm the primary call to action is visible in flow, and confirm no section overlaps the next section.