.hero {
    position: relative;
    display: grid;
    gap: var(--sp-2);
    padding: var(--sp-2) 0 var(--sp-5);
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.hero__title {
    font-size: var(--step-4);
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: none;
    overflow-wrap: anywhere;
}

.hero__title em {
    font-style: normal;
    color: inherit;
}

.hero__lead {
    max-width: 42ch;
    color: var(--muted);
    font-size: var(--step-0);
    line-height: 1.4;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.hero__aside {
    display: none;
}

.mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: var(--r-md);
    overflow: hidden;
}

.mosaic__tile {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-3);
    min-height: 60px;
    padding: var(--sp-3) var(--sp-4);
    background: transparent;
    border: 0;
    text-align: left;
    transition: background var(--dur-1) var(--ease);
}

.mosaic__tile + .mosaic__tile::before {
    content: "";
    position: absolute;
    left: var(--sp-4);
    right: 0;
    top: 0;
    height: 1px;
    background: var(--line);
}

.mosaic__tile:active {
    background: var(--surface-strong);
}

.mosaic__tile--wide {
    grid-column: auto;
}

.mosaic__tile--accent,
.mosaic__tile--ink {
    background: transparent;
    color: inherit;
}

.mosaic__tile--accent .mosaic__hint,
.mosaic__tile--ink .mosaic__hint {
    color: var(--muted);
}

.mosaic__title {
    display: block;
    font-size: var(--step-0);
    font-weight: 600;
    line-height: 1.25;
}

.mosaic__hint {
    display: block;
    margin-top: 2px;
    font-size: var(--step--1);
    color: var(--muted);
}

.mosaic__index {
    display: none;
}

.info-grid {
    display: grid;
    gap: 0;
    background: var(--surface);
    border-radius: var(--r-md);
    padding: 0 var(--sp-4);
}

.info-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}

.info-row:first-child {
    border-top: 0;
}

.info-row__key {
    font-size: var(--step--1);
    color: var(--muted);
}

.info-row__value {
    font-size: var(--step-0);
    line-height: 1.35;
    word-break: break-word;
}

.gate {
    display: grid;
    gap: var(--sp-4);
    padding: var(--sp-6) 0;
    justify-items: start;
}

.gate__mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--graphite);
    display: grid;
    place-items: center;
}

.gate__mark svg {
    width: 24px;
    height: 24px;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) 0 var(--sp-5);
}

.profile-head__name {
    font-size: var(--step-2);
    font-weight: 700;
    line-height: 1.2;
}

.profile-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
    margin-top: 4px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: var(--r-md);
    overflow: hidden;
}

.admin-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    min-height: 60px;
    padding: var(--sp-3) var(--sp-4);
    background: transparent;
    border: 0;
    transition: background var(--dur-1) var(--ease);
}

.admin-tile + .admin-tile::before {
    content: "";
    position: absolute;
    left: var(--sp-4);
    right: 0;
    top: 0;
    height: 1px;
    background: var(--line);
}

.admin-tile:active {
    background: var(--surface-strong);
}

.admin-tile__icon {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: var(--r-xs);
    background: var(--paper);
    color: var(--graphite);
    display: grid;
    place-items: center;
}

.admin-tile__icon svg {
    width: 17px;
    height: 17px;
}

.admin-tile__name {
    display: block;
    font-weight: 600;
    font-size: var(--step-0);
}

.admin-tile__hint {
    display: block;
    margin-top: 2px;
    font-size: var(--step--1);
    color: var(--muted);
}

.admin-tile--locked {
    opacity: 0.4;
}

.form-grid {
    display: grid;
    gap: var(--sp-4);
}

.form-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.color-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.color-row input[type="color"] {
    width: 50px;
    height: 50px;
    flex: none;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
}

.sticky-actions {
    position: sticky;
    z-index: 10;
    bottom: calc(var(--dock-height) + var(--safe-bottom) + var(--sp-2));
    display: grid;
    gap: var(--sp-2);
    margin: var(--sp-6) calc(var(--gutter) * -1) 0;
    padding: var(--sp-3) var(--gutter);
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.mosaic__tile > svg,
.admin-tile > svg,
.panel__row > svg,
.info-row > svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--faint);
}
