/* Service order app. Sizes and colors taken from the mockups in .proj (1280 px wide at 2x). */
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --dark: #1F262F;
    --accent: #00A4A7;
    --accent-text: #00797B;
    --accent-dark: #00797B;
    --accent-soft: #E3F5F5;
    --accent-soft-2: #D2EEEE;
    --bg: #F4F5F5;
    --line: #E3E6E8;
    --line-strong: #CDD2D6;
    --ink: #1A1F26;
    --muted: #5B6472;
    --red: #B3261E;
    --green: #1B7F4B;
    --radius-card: 22px;
    --radius-tile: 14px;
    --radius-input: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.5 "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--accent-text);
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
}

h2 {
    font-size: 20px;
    font-weight: 700;
}

p {
    margin: 0 0 12px;
}

button, input, textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(0, 164, 167, .35);
    outline-offset: 2px;
}

/* Top bar: dark logo and navigation on white, as on the main site */
.topbar {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 80px;
}

.topbar-logo {
    display: block;
    flex: none;
    line-height: 0;
}

.topbar-logo img {
    width: 180px;
    height: auto;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.topbar-nav a {
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
}

.topbar-nav a:hover {
    color: var(--accent-text);
}

.topbar-nav a.is-active {
    background: var(--accent);
    color: #fff;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-login {
    display: none;
    font-weight: 700;
    text-decoration: none;
}

/* Page header: dark band with the page title */
.hero {
    position: relative;
    overflow: hidden;
    /* Workshop photo from the main site, dimmed by a graphite overlay so the title stays readable. */
    background: linear-gradient(90deg, rgba(31, 38, 47, .93) 0%, rgba(31, 38, 47, .8) 100%),
    url("../img/hero-bg.jpg") center 48% / cover no-repeat,
    var(--dark);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -60px;
    width: 340px;
    height: 340px;
    background: url("../img/logo-mark.png") no-repeat center / contain;
    opacity: .09;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 80px 54px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hero-subtitle {
    margin: 10px 0 0;
    font-size: 17px;
    color: #C5CBD1;
}

.hero-steps {
    display: none;
}

.user-menu {
    position: relative;
}

.user-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    background: #fff;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.user-menu summary::-webkit-details-marker {
    display: none;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.user-menu-list {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 10;
    min-width: 200px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(31, 38, 47, .22);
}

.user-menu-list a, .user-menu-list button {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.user-menu-list a:hover, .user-menu-list button:hover {
    background: var(--bg);
}

.user-menu-list form {
    margin: 0;
}

/* Page */
.shell {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 80px 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 80px 24px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    padding-left: 20px;
}

.footer-credit {
    padding-right: 20px;
}

.footer a {
    color: inherit;
}

.card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px;
}

.card-narrow {
    max-width: 460px;
    margin: 0 auto;
}

.card-narrow h2 {
    margin-bottom: 16px;
}

.card-medium {
    max-width: 720px;
    margin: 0 auto;
}

.card-side {
    padding: 20px;
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 18px 0 0;
    font-size: 15px;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stack-lg {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.muted {
    color: var(--muted);
}

.pre-line {
    white-space: pre-line;
}

.flash {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
}

.flash-ok {
    background: #E6F4EC;
    color: var(--green);
}

.flash-info {
    background: var(--accent-soft-2);
    color: var(--dark);
}

.flash-error {
    background: #FBEAE9;
    color: var(--red);
}

/* Forms */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field label, .field-label {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.field-hint {
    font-weight: 400;
    color: var(--muted);
}

.field input, .field textarea {
    width: 100%;
    padding: 12px 16px;
    min-height: 50px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-input);
    background: #fff;
}

.field textarea {
    resize: vertical;
}

.field input::placeholder, .field textarea::placeholder {
    color: #7A8391;
}

.field input:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 164, 167, .15);
}

.field [aria-invalid="true"] {
    border-color: var(--red);
}

.field-error {
    color: var(--red);
    font-size: 14px;
    font-weight: 500;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.grid-2-cards {
    align-items: start;
    gap: 20px;
}

.grid-postal {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.check input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    flex: none;
    accent-color: var(--accent);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn:disabled {
    opacity: .6;
    cursor: default;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-dark);
}

.btn-secondary {
    background: var(--accent-soft);
    color: var(--accent-text);
}

.btn-secondary:hover {
    background: var(--accent-soft-2);
}

.btn-small {
    min-height: 42px;
    padding: 8px 18px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

.btn-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.btn-link-danger {
    color: var(--red);
}

/* Order layout */
.order-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.order-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steps {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li + li {
    margin-top: 14px;
}

.steps li:not(:last-child) {
    position: relative;
}

.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 40px;
    bottom: -12px;
    width: 2px;
    background: var(--line-strong);
}

.steps button {
    display: flex;
    gap: 14px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: default;
}

.steps li.is-done button {
    cursor: pointer;
}

.step-no {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.steps strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #47505E;
}

.steps small {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.steps .is-active .step-no {
    border-color: var(--accent);
    color: var(--accent-text);
}

.steps .is-active strong {
    color: var(--ink);
}

.steps .is-done .step-no {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.steps .is-done strong {
    color: var(--ink);
}

.side-title {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #47505E;
}

.summary {
    margin: 0;
}

.summary dt {
    color: var(--muted);
    font-size: 14px;
}

.summary dd {
    margin: 2px 0 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.summary dd:last-child {
    margin-bottom: 0;
}

.card-phone {
    display: flex;
    gap: 14px;
    background: var(--accent-soft-2);
    color: var(--ink);
    text-decoration: none;
}

.card-phone-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}

.phone-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.phone-list small {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.phone-list a {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

.phone-list a:hover {
    color: var(--accent-text);
}

.step-label {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-text);
}

.step-title {
    margin-bottom: 28px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.section-title {
    margin: 28px 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.section-title:first-of-type {
    margin-top: 0;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 130px;
    padding: 18px 6px 14px;
    border: 2px solid var(--line);
    border-radius: var(--radius-tile);
    background: #fff;
    cursor: pointer;
}

.tile:hover {
    border-color: var(--line-strong);
}

.tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-text);
}

/* Fallback for categories without an icon: the Beissbarth mark, tinted like the SVG icons. */
.icon-logo {
    display: block;
    width: 30px;
    height: 30px;
    background: currentColor;
    -webkit-mask: url("../img/logo-mark.png") center / contain no-repeat;
    mask: url("../img/logo-mark.png") center / contain no-repeat;
}

.tile-label {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
}

.tile-check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}

.tile.is-active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.tile.is-active .tile-icon {
    background: var(--accent);
    color: #fff;
}

.tile.is-active .tile-check {
    display: flex;
}

.type-level {
    margin-top: 26px;
}

.type-level .field-label {
    margin-bottom: 10px;
}

.brand-level {
    margin-bottom: 22px;
}

.brand-level .field-label {
    margin-bottom: 10px;
}

.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: #ECEEEF;
    max-width: 100%;
}

.segmented button {
    min-height: 44px;
    padding: 8px 18px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: #47505E;
    font-weight: 500;
    cursor: pointer;
}

.segmented button.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 4px rgba(26, 31, 38, .16);
}

[data-step] > .grid-2 {
    margin-top: 26px;
}

#other-fields {
    margin-top: 26px;
}

.chips-group {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.chips-group legend {
    padding: 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.chip span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 2px solid var(--line);
    border-radius: 999px;
    font-weight: 500;
}

.chip input:checked + span {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-text);
    font-weight: 600;
}

.chip input:focus-visible + span {
    outline: 3px solid rgba(0, 164, 167, .35);
    outline-offset: 2px;
}

[data-step="2"] > .field {
    margin-top: 20px;
}

.field .dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    border: 2px dashed var(--line-strong);
    border-radius: var(--radius-input);
    color: var(--accent-text);
    font-weight: 600;
    cursor: pointer;
}

.dropzone:hover, .dropzone:focus-within {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.dropzone input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.file-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.file-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.file-list li:last-child {
    border-bottom: 0;
}

.file-list .file-error {
    color: var(--red);
}

.device-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.device-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
}

.device-list li + li {
    margin-top: 8px;
}

.device-list strong, .device-list .muted {
    display: block;
    overflow-wrap: anywhere;
}

.device-actions {
    display: flex;
    flex: none;
    gap: 14px;
}

.company-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bg);
}

.company-card p {
    margin: 0;
    overflow-wrap: anywhere;
}

#company-fields {
    margin-bottom: 14px;
}

[data-step="3"] .check {
    margin-bottom: 12px;
}

#fv-fields, #mu-fields {
    margin: 4px 0 18px;
}

[data-step="3"] > .field {
    margin-top: 18px;
}

[data-step="3"] .flash {
    margin: 20px 0 0;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

#btn-back {
    margin-right: auto;
}

/* Account */
.tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.tabs > a:not(.btn) {
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.tabs > a.is-active {
    background: #fff;
    color: var(--ink);
}

.tabs-cta {
    margin-left: auto;
}

.order-list {
    margin: -12px 0;
    padding: 0;
    list-style: none;
}

.order-list li + li {
    border-top: 1px solid var(--line);
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    color: inherit;
    text-decoration: none;
}

.order-row:hover strong {
    color: var(--accent-text);
}

.order-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.order-devices {
    overflow-wrap: anywhere;
}

.status {
    flex: none;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 14px;
    font-weight: 600;
}

.status-3, .status-4 {
    background: #E6F4EC;
    color: var(--green);
}

.layout-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.device-block + .device-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.device-block h3 {
    font-size: 17px;
    margin: 14px 0 2px;
}

.rating-options {
    display: flex;
    gap: 8px;
}

.rating-options label {
    flex: 1;
    cursor: pointer;
}

.rating-options input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rating-options span {
    display: block;
    padding: 10px 0;
    border: 2px solid var(--line);
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
}

.rating-options input:checked + span {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-text);
}

.rating-options input:focus-visible + span {
    outline: 3px solid rgba(0, 164, 167, .35);
}

.rating-value {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.sent {
    text-align: center;
}

.sent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}

.sent-icon svg {
    width: 26px;
    height: 26px;
}

.sent h2 {
    margin-bottom: 10px;
}

.sent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
}

.prose {
    overflow-wrap: anywhere;
}

.prose img {
    max-width: 100%;
    height: auto;
}

.prose table {
    max-width: 100%;
}

.prose h1, .prose h2, .prose h3 {
    margin: 22px 0 10px;
}

@media (max-width: 1100px) {
    .topbar-inner, .hero-inner, .shell, .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .topbar-nav a {
        padding: 10px 10px;
        letter-spacing: .06em;
    }
}

@media (max-width: 860px) {
    .order-layout, .layout-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .order-side {
        order: 2;
    }

    .order-side .card-side:first-child {
        display: none;
    }

    .topbar-inner {
        justify-content: space-between;
    }

    .topbar-nav {
        display: none;
    }

    .topbar-login {
        display: inline;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .hero::after {
        top: -40px;
        right: -50px;
        width: 220px;
        height: 220px;
    }

    .topbar-inner {
        padding: 12px 16px;
        gap: 12px;
        justify-content: space-between;
    }

    .topbar-logo img {
        width: 124px;
    }

    .hero-inner {
        padding: 18px 16px 18px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .user-menu summary {
        padding: 4px;
    }

    .user-name {
        display: none;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }

    /* Order page: thin progress bars replace the title, as in the phone mockup. */
    .page-order .hero h1, .page-order .hero-subtitle {
        display: none;
    }

    .page-order .hero-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 14px;
        font-weight: 600;
        color: #A3ABB4;
    }

    .hero-steps li::before {
        content: "";
        display: block;
        height: 4px;
        margin-bottom: 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .25);
    }

    .hero-steps li.is-active {
        color: #fff;
    }

    .hero-steps li.is-active::before {
        background: #fff;
    }

    .shell {
        padding: 16px 16px 32px;
    }

    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-order .shell {
        padding-bottom: 96px;
    }

    .card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .card-side {
        padding: 18px;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tile {
        min-height: 116px;
    }

    /* The form flows on the page background; the action bar sticks to the bottom. */
    .page-order .order-main-card {
        padding: 4px 0 0;
        background: none;
    }

    .page-order .step-label {
        display: none;
    }

    .step-title {
        margin-bottom: 18px;
        font-size: 24px;
    }

    .page-order .company-card {
        background: #fff;
    }

    .order-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
        margin: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--line);
    }

    .order-actions #btn-next {
        flex: 1;
    }

    .order-actions #btn-back {
        margin: 0;
        padding: 12px 16px;
    }

    .segmented {
        display: flex;
    }

    .segmented button {
        flex: 1 1 auto;
        padding: 8px 12px;
    }

    .tabs-cta {
        width: 100%;
        margin: 6px 0 0;
    }

    .form-actions .btn {
        width: 100%;
    }

    .device-list li, .order-row {
        flex-wrap: wrap;
    }
}
