/* Optimal Trend index (landing) page-specific styles.
   Depends on optimal-design-system.css.
   Optimal palette only, no gradients, no animations,
   minimal border-only treatment per the canonical chassis. */

.ot-index-body {
    background: var(--paper);
}

/* Topbar extension: sign-out link and user controls cluster */
.ot-index-user-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ot-shell__signout {
    color: var(--white);
    font-size: 13px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.22);
    padding: 7px 11px;
}

.ot-shell__signout:hover {
    background: var(--navy-dark);
}

/* Notification bell */
.ot-notif-bell {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    padding: 6px 10px;
    cursor: pointer;
    font: inherit;
}

.ot-notif-bell__icon {
    font-size: 16px;
}

.ot-notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--teal);
    color: var(--navy);
    border: 1px solid var(--navy);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
}

.ot-notif-badge[hidden] {
    display: none;
}

/* Notification panel */
.ot-notif-panel {
    position: absolute;
    right: 28px;
    top: 88px;
    width: 340px;
    background: var(--white);
    border: 1px solid var(--rule-light);
    z-index: 50;
}

.ot-notif-panel[hidden] {
    display: none;
}

.ot-notif-panel__header {
    padding: 12px 18px;
    border-bottom: 1px solid var(--rule-light);
    display: flex;
    justify-content: space-between;
    color: var(--ink-2);
    font-size: 12px;
}

.ot-notif-panel__list {
    max-height: 420px;
    overflow-y: auto;
}

.ot-notif-empty {
    padding: 18px;
    color: var(--ink-4);
    font-size: 13px;
    text-align: center;
}

.ot-notif-row {
    display: flex;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--rule-light);
    align-items: flex-start;
}

.ot-notif-row__icon {
    font-size: 15px;
    color: var(--ink-4);
    flex-shrink: 0;
}

.ot-notif-row__body {
    flex: 1;
    min-width: 0;
}

.ot-notif-row__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.ot-notif-row--unread .ot-notif-row__title::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--navy);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: 1px;
}

.ot-notif-row__desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ot-notif-row__ts {
    font-size: 10px;
    color: var(--ink-4);
    margin-top: 3px;
}

.ot-notif-row__sev {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    background: var(--ink-4);
}

.ot-notif-row__sev--s1 { background: var(--ink-4); }
.ot-notif-row__sev--s2 { background: var(--ink-3); }
.ot-notif-row__sev--s3 { background: var(--ink-2); }
.ot-notif-row__sev--s4 { background: var(--navy); }

/* Main layout */
.ot-index-main {
    padding: 32px 28px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Hero band */
.ot-index-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--rule-light);
    align-items: start;
}

.ot-index-hero__copy h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    color: var(--navy);
    margin: 8px 0 12px;
    font-weight: 400;
    line-height: 1.2;
}

.ot-index-hero__sub {
    color: var(--ink-3);
    font-size: 14px;
    margin: 0;
    max-width: 680px;
}

.ot-index-hero__araas {
    border-left: 3px solid var(--teal);
    padding: 4px 0 4px 18px;
}

.ot-index-hero__araas h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    color: var(--navy);
    margin: 6px 0 2px;
    font-weight: 400;
}

.ot-reg {
    font-size: 12px;
    vertical-align: 8px;
    color: var(--teal);
}

.ot-index-hero__araas-full {
    font-size: 13px;
    color: var(--ink-2);
    margin: 0;
}

.ot-index-hero__araas-tag {
    font-size: 12px;
    color: var(--ink-4);
    margin: 6px 0 0;
    font-style: italic;
}

/* Process strip */
.ot-index-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 22px 0 26px;
    border-bottom: 1px solid var(--rule-light);
}

.ot-index-process__step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ot-index-process__num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    color: var(--teal);
    line-height: 1;
}

.ot-index-process__desc {
    font-size: 12px;
    color: var(--ink-3);
    margin: 4px 0 0;
}

/* Tile grid */
.ot-index-grid {
    padding: 26px 0 16px;
}

.ot-index-grid__bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule-light);
    margin-bottom: 18px;
}

.ot-index-grid__count {
    font-size: 12px;
    color: var(--ink-4);
}

.ot-index-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ot-index-tile {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--rule-light);
    padding: 16px 16px 14px;
    color: var(--ink-2);
    text-decoration: none;
    position: relative;
}

.ot-index-tile:hover {
    border-color: var(--teal);
}

.ot-index-tile--primary {
    border-color: var(--navy);
    border-left-width: 3px;
}

.ot-index-tile__num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 10px;
}

.ot-index-tile__icon {
    width: 32px;
    height: 32px;
    color: var(--navy);
    margin-bottom: 10px;
}

.ot-index-tile__icon svg {
    width: 100%;
    height: 100%;
}

.ot-index-tile__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 6px;
}

.ot-index-tile__desc {
    font-size: 12px;
    color: var(--ink-3);
    margin: 0 0 12px;
    flex: 1;
    line-height: 1.4;
}

.ot-index-tile__tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
}

@media (max-width: 1080px) {
    .ot-index-tiles { grid-template-columns: repeat(3, 1fr); }
    .ot-index-process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .ot-index-tiles { grid-template-columns: repeat(2, 1fr); }
    .ot-index-hero { grid-template-columns: 1fr; }
    .ot-index-main { padding: 20px 16px; }
}
