.online-container {
    width: min(920px, calc(100% - 32px));
    margin: 40px auto 64px;
}

.online-hero {
    margin-bottom: 24px;
}

.online-hero .eyebrow {
    color: #4f80ff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.online-hero h1 {
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.25;
    margin-bottom: 12px;
}

.online-hero > p:last-child {
    max-width: 720px;
    color: #667080;
    font-size: 14px;
    line-height: 1.75;
}

.panel,
.approval-panel,
.notice-panel {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(44, 49, 61, 0.05);
    padding: 24px;
}

.panel + .panel,
.panel + .notice-panel {
    margin-top: 18px;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.panel-heading h2,
.notice-panel h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.panel-heading p {
    color: #7a8493;
    font-size: 12px;
    line-height: 1.6;
}

.count-badge {
    flex: 0 0 auto;
    background: #edf2ff;
    border-radius: 999px;
    color: #3a6dec;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
}

.project-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto;
    align-items: end;
    gap: 12px;
}

.project-form label {
    display: grid;
    gap: 7px;
}

.project-form label > span {
    color: #4b5563;
    font-size: 12px;
    font-weight: bold;
}

.project-form input,
.project-form select,
.project-form button {
    min-height: 42px;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
}

.project-form input,
.project-form select {
    background: #fff;
    border: 1px solid #cfd5dd;
    color: #2c313d;
    padding: 0 12px;
}

.project-form input:focus,
.project-form select:focus {
    border-color: #4f80ff;
    box-shadow: 0 0 0 3px rgba(79, 128, 255, 0.14);
    outline: none;
}

.project-form button,
.copy-button,
.delete-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
}

.project-form button {
    background: #4f80ff;
    color: #fff;
    padding: 0 18px;
}

.project-form button:hover:not(:disabled) {
    background: #3a6dec;
}

.project-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.form-message {
    min-height: 20px;
    color: #667080;
    font-size: 12px;
    margin-top: 10px;
}

.form-message.error {
    color: #d94343;
}

.form-message.success {
    color: #16845b;
}

.project-list {
    display: grid;
    gap: 12px;
}

.approval-panel {
    background: #f6f8ff;
    border-color: #d9e3ff;
    margin-bottom: 18px;
}

.approval-panel h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.approval-panel p {
    color: #5f6e86;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.approval-panel a {
    color: #315fd4;
    font-size: 13px;
    font-weight: bold;
}

.usage-summary {
    background: #f6f8ff;
    border: 1px solid #dce5ff;
    border-radius: 9px;
    margin-bottom: 14px;
    padding: 16px;
}

.usage-summary-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.usage-summary-heading strong {
    color: #2c313d;
    font-size: 14px;
}

.usage-summary-heading span {
    color: #7180a0;
    font-size: 11px;
}

.usage-summary-grid,
.project-usage-grid {
    display: grid;
    gap: 8px;
}

.usage-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.usage-summary-grid > div,
.project-usage-grid > div {
    display: grid;
    gap: 3px;
}

.usage-summary-grid span,
.project-usage-grid span {
    color: #7a8493;
    font-size: 11px;
}

.usage-summary-grid strong {
    color: #365fca;
    font-size: 15px;
}

.project-card {
    border: 1px solid #e4e7ec;
    border-radius: 9px;
    padding: 16px;
}

.project-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.project-id {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    overflow-wrap: anywhere;
}

.room-size {
    flex: 0 0 auto;
    color: #4f80ff;
    font-size: 12px;
    font-weight: bold;
}

.token-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
}

.token-value {
    background: #f6f7f9;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    color: #4b5563;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 11px;
    overflow: hidden;
    padding: 9px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-usage-grid {
    border-top: 1px solid #edf0f4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    padding-top: 14px;
}

.project-usage-grid strong {
    color: #2c313d;
    font-size: 14px;
}

.project-usage-grid small {
    color: #8a93a0;
    font-size: 10px;
    line-height: 1.45;
}

.usage-period {
    color: #8a93a0;
    font-size: 10px;
    margin-top: 10px;
}

.copy-button,
.delete-button {
    border-radius: 6px;
    font-size: 12px;
    min-height: 36px;
    padding: 0 12px;
}

.copy-button {
    background: #edf2ff;
    color: #3a6dec;
}

.delete-button {
    background: #fff0f0;
    color: #d94343;
}

.empty-message {
    color: #8a93a0;
    font-size: 13px;
    padding: 18px 0;
    text-align: center;
}

.notice-panel {
    color: #667080;
    font-size: 13px;
    line-height: 1.75;
}

.notice-panel ol {
    padding-left: 20px;
}

@media (max-width: 720px) {
    .online-container {
        margin-top: 28px;
    }

    .panel,
    .approval-panel,
    .notice-panel {
        padding: 19px;
    }

    .project-form {
        grid-template-columns: 1fr;
    }

    .token-row {
        grid-template-columns: 1fr 1fr;
    }

    .token-value {
        grid-column: 1 / -1;
    }

    .usage-summary-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .usage-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-usage-grid {
        grid-template-columns: 1fr;
    }
}
