.phone-container .header {
    gap: 8px;
    flex-shrink: 0;
}

.header .top-actions {
    flex-shrink: 0;
    white-space: nowrap;
}

.phone-container .content-scroll { min-height: 0; }
.content-scroll > * { flex-shrink: 0; }
.content-scroll .options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intro-note {
    flex-shrink: 0;
    padding: 6px 14px 10px;
    border-top: 1px solid #edf2f7;
    color: #4a5568;
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 400px) {
    .phone-container .header { padding-inline: 10px; }
    .header .logo-area span { display: none; }
    .header .top-actions { gap: 4px; }
    .header .top-actions button { padding-inline: 6px; font-size: 0.75rem; }
}

@media (max-width: 360px) {
    .phone-container .header { padding-inline: 8px; gap: 5px; }
    .header .logo-area { font-size: 1.05rem; }
    .header .top-actions { gap: 3px; }
    .header .top-actions button { padding-inline: 4px; }
}

.section-card.checkin-note { background: #fff; }
.checkin-note label { display: block; }
.checkin-note textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: var(--text-main);
    font-size: 1rem;
    resize: vertical;
}

.checkin-data-note, .history-note {
    margin-top: 6px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #4a5568;
}
.history-note { overflow-wrap: anywhere; white-space: pre-wrap; }
#resultDescription { white-space: pre-line; overflow-wrap: anywhere; }
