#layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

#sidebar {
    width: 280px;
    flex-shrink: 0;
}

#main-content {
    flex: 1;
    min-width: 0;
}

#profile.nameplate {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    margin-bottom: 12px;
    width: 100%;
    border: solid 2px #c5d0da;
    background-color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.nameplate .user-icon {
    width: 64px;
    height: 64px;
    border: none;
    image-rendering: pixelated;
    flex-shrink: 0;
    background-color: transparent;
    align-self: center;
    margin: 4px;
}

.nameplate-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 6px 10px;
    background-color: azure;
    min-width: 0;
    flex: 1;
}

.nameplate-key {
    font-size: 0.75rem;
    color: #666666;
}

.nameplate-value {
    font-size: 1.05rem;
    font-weight: bold;
    word-break: break-word;
}

.position-plate {
    margin-bottom: 12px;
    padding: 6px 10px;
    border: solid 1px #c5d0da;
    background-color: #ffffff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
}

#compose {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

#compose #text {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    resize: none;
    font-size: 1rem;
    padding: 8px;
}

#compose #post-url {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    padding: 6px 8px;
}

#compose #text.over-limit,
#compose #post-url.over-limit,
#compose #text-count.over-limit {
    color: #c0392b;
}

#compose #button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.compose-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

#compose #button {
    height: 40px;
    min-width: 96px;
    font-size: 1rem;
    cursor: pointer;
}

#compose.disabled {
    opacity: 0.55;
    pointer-events: none;
}
