* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.page {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    overflow-x: hidden;
}

.card {
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
    min-width: 0;
    overflow: hidden;
}

.page-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.page-kicker {
    margin: 0 0 4px;
    color: #67e8f9;
    font-size: 12px;
    font-weight: 800;
}

.page-description {
    margin: 0 0 20px;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #334155;
    background: #111827;
    color: #f8fafc;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
    max-width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

.form-help {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}

.button-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    min-width: 0;
}

.primary-button,
.secondary-button {
    appearance: none;
    border: none;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    flex: 1 1 140px;
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.primary-button {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
}

.secondary-button {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
}

.status-box {
    margin-top: 16px;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
    background: #111827;
    border: 1px solid #334155;
    color: #cbd5e1;
    white-space: pre-wrap;
}

.status-box.success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #bbf7d0;
}

.status-box.error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fecaca;
}

.result-list {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.result-card {
    border-radius: 16px;
    padding: 16px;
    background: #111827;
    border: 1px solid #334155;
}

.result-title {
    margin: 0 0 8px;
    font-size: 18px;
    color: #ffffff;
}

.result-meta {
    margin: 0 0 8px;
    font-size: 13px;
    color: #93c5fd;
    line-height: 1.7;
}

.result-text {
    margin: 0;
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.8;
    white-space: pre-wrap;
}

.tag-badge {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 5px 10px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
}

.empty-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.10);
    border: 1px dashed #475569;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.7;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #334155;
    background: rgba(15, 23, 42, 0.95);
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #e5e7eb;
    font-size: 13px;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #334155;
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    color: #bfdbfe;
    background: #111827;
    font-weight: 800;
}

.data-table tr:last-child td {
    border-bottom: none;
}
.dashboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    min-width: 0;
}

.dashboard-toolbar > * {
    min-width: 0;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.toolbar-actions .primary-button,
.toolbar-actions .secondary-button,
.toolbar-actions .outline-button {
    flex: 0 1 auto;
    width: auto;
}

.compact-input {
    width: auto;
    max-width: 100%;
}

.dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 8px;
    margin: 12px 0 16px;
    min-width: 0;
}

.dashboard-tabs .secondary-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
}

.dashboard-tabs .secondary-button.is-active {
    border-color: rgba(96, 165, 250, 0.72);
    background: rgba(37, 99, 235, 0.35);
    color: #ffffff;
}

.first-section {
    margin-top: 8px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.action-card {
    appearance: none;
    width: 100%;
    min-width: 0;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    text-align: left;
    cursor: pointer;
}

.action-card:active {
    transform: translateY(1px);
}

.action-label,
.action-detail {
    display: block;
    overflow-wrap: anywhere;
}

.action-label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.action-count {
    display: block;
    margin-top: 6px;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.action-detail {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.action-ok {
    border-color: rgba(34, 197, 94, 0.42);
    background: rgba(20, 83, 45, 0.22);
}

.action-warn {
    border-color: rgba(245, 158, 11, 0.48);
    background: rgba(120, 53, 15, 0.24);
}

.action-alert {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(127, 29, 29, 0.24);
}

.action-info {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(30, 64, 175, 0.22);
}

.outline-button {
    appearance: none;
    border: 1px solid #334155;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    max-width: 100%;
    white-space: nowrap;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.action-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.action-menu-card {
    appearance: none;
    display: flex;
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 8px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.24));
    color: #e5e7eb;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
}

.action-menu-card.is-active,
.action-menu-card:focus-visible,
.action-menu-card:hover {
    border-color: rgba(96, 165, 250, 0.7);
    background: rgba(30, 41, 59, 0.94);
}

.action-menu-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.action-menu-note {
    color: #93c5fd;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.page-nav-row {
    margin: 0 0 16px;
}

.metric-card {
    border-radius: 8px;
    padding: 14px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid #334155;
}

.metric-card.metric-ok {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(20, 83, 45, 0.24);
}

.metric-card.metric-warn {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(120, 53, 15, 0.24);
}

.metric-card.metric-info {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(30, 64, 175, 0.22);
}

.metric-card.metric-alert {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(127, 29, 29, 0.22);
}

.metric-label {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.metric-value {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.section-block {
    margin-top: 24px;
}

.section-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: #ffffff;
}

.item-list {
    display: grid;
    gap: 12px;
}

.item-card {
    border-radius: 8px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid #334155;
    min-width: 0;
    overflow: hidden;
}

.item-card.card-ok {
    border-color: rgba(34, 197, 94, 0.38);
}

.item-card.card-warn {
    border-color: rgba(245, 158, 11, 0.42);
}

.item-card.card-alert {
    border-color: rgba(239, 68, 68, 0.42);
}

.item-card.card-info {
    border-color: rgba(59, 130, 246, 0.38);
}

.item-card.role-cast {
    border-color: rgba(236, 72, 153, 0.72);
    box-shadow: inset 3px 0 0 rgba(236, 72, 153, 0.85);
}

.item-card.role-boy {
    border-color: rgba(59, 130, 246, 0.72);
    box-shadow: inset 3px 0 0 rgba(59, 130, 246, 0.85);
}

.item-card.retention-hired {
    background:
        linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(15, 23, 42, 0) 42%),
        rgba(15, 23, 42, 0.95);
}

.item-card.retention-unchecked {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: inset 4px 0 0 rgba(245, 158, 11, 0.9);
}

.item-card.retention-kept {
    border-color: rgba(34, 197, 94, 0.72);
    box-shadow: inset 4px 0 0 rgba(34, 197, 94, 0.95);
}

.item-card.retention-left {
    border-color: rgba(239, 68, 68, 0.72);
    box-shadow: inset 4px 0 0 rgba(239, 68, 68, 0.95);
}

.item-card.role-cast.retention-hired {
    border-color: rgba(236, 72, 153, 0.72);
}

.item-card.role-boy.retention-hired {
    border-color: rgba(59, 130, 246, 0.72);
}

.item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
}

.item-title {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.item-subtitle {
    margin: 6px 0 0;
    font-size: 12px;
    color: #93c5fd;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.item-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #e5e7eb;
    white-space: normal;
    word-break: break-word;
}

.item-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.small-button {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-width: 0;
    flex: 1 1 110px;
    text-align: center;
    overflow-wrap: anywhere;
}

.small-button.approve {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
}

.small-button.reject {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
}

.small-button:disabled,
.outline-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

.badge-info {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
}

.badge-neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.badge-success {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.badge-teal {
    background: rgba(20, 184, 166, 0.16);
    color: #99f6e4;
}

.badge-cast {
    background: rgba(236, 72, 153, 0.16);
    color: #fbcfe8;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-working {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.status-on-break {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

.status-finished {
    background: rgba(59, 130, 246, 0.16);
    color: #bfdbfe;
}

.status-neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.mini-text {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.interview-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.interview-section.muted {
    opacity: 0.92;
}

.interview-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.interview-section-title {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
}

.interview-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}

.interview-month-group {
    margin-top: 12px;
}

.interview-month-title {
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.interview-card-actions {
    margin-top: 12px;
}

.recipient-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.recipient-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.recipient-chip.is-acked {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

.recipient-chip.is-pending {
    border-color: rgba(245, 158, 11, 0.44);
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
}

.source-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 10px;
    min-width: 0;
}

.bar-track {
    width: 100%;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.18);
}

.bar-fill {
    height: 100%;
    min-width: 8px;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #22c55e);
}

.mono-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: #cbd5e1;
}

.settings-card {
    max-width: 980px;
}

.settings-shell {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.settings-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid rgba(59, 130, 246, 0.26);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(34, 197, 94, 0.08)),
        rgba(15, 23, 42, 0.86);
}

.settings-eyebrow {
    margin: 0 0 6px;
    color: #67e8f9;
    font-size: 12px;
    font-weight: 800;
}

.settings-hero h2,
.settings-panel h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 22px;
    line-height: 1.35;
}

.settings-hero p,
.settings-panel p,
.settings-kpi p,
.settings-overview-card p,
.settings-liff-item p,
.settings-user-panel p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.65;
}

.settings-hero-status {
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.42);
    text-align: right;
}

.settings-hero-status span,
.settings-kpi span,
.settings-row span,
.settings-overview-card span,
.settings-liff-group {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.settings-hero-status strong {
    display: block;
    margin-top: 3px;
    color: #f8fafc;
    font-size: 24px;
}

.settings-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.settings-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 6px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.settings-tab.is-active {
    border-color: rgba(34, 211, 238, 0.65);
    background: rgba(8, 145, 178, 0.22);
    color: #f8fafc;
}

.settings-kpi-grid,
.settings-overview-grid,
.settings-action-grid {
    display: grid;
    gap: 10px;
}

.settings-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-kpi,
.settings-panel,
.settings-overview-card,
.settings-liff-item {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.74);
}

.settings-kpi {
    padding: 14px;
}

.settings-kpi strong {
    display: block;
    margin-top: 6px;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.settings-panel {
    padding: 16px;
}

.settings-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.settings-overview-card {
    display: block;
    min-height: 150px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}

.settings-overview-card strong {
    display: block;
    margin-top: 7px;
    color: #f8fafc;
    font-size: 18px;
}

.settings-overview-card em {
    display: inline-flex;
    margin-top: 12px;
    color: #a7f3d0;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.settings-row-list {
    display: grid;
    gap: 8px;
}

.settings-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.settings-row:last-child {
    border-bottom: 0;
}

.settings-row strong {
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.settings-user-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.settings-avatar {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.settings-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.settings-badge,
.settings-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.settings-badge.is-on,
.settings-status.is-ok {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.settings-status.is-missing {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
}

.settings-liff-list {
    display: grid;
    gap: 8px;
}

.settings-liff-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
}

.settings-liff-item strong {
    display: block;
    margin-top: 3px;
    color: #f8fafc;
    font-size: 15px;
}

.settings-liff-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.18);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.settings-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.settings-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.settings-footer {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

@media (max-width: 480px) {
    .page {
        padding: 12px 10px 32px;
    }

    .card {
        padding: 14px;
    }

    .dashboard-toolbar {
        align-items: stretch;
    }

    .toolbar-actions {
        width: 100%;
        justify-content: stretch;
    }

    .toolbar-actions .form-input,
    .toolbar-actions .outline-button,
    .toolbar-actions .primary-button,
    .toolbar-actions .secondary-button {
        flex: 1 1 130px;
        width: 100%;
    }

    .dashboard-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .action-menu-grid {
        grid-template-columns: 1fr;
    }

    .settings-hero,
    .settings-user-panel,
    .settings-liff-item,
    .settings-row {
        grid-template-columns: 1fr;
    }

    .settings-hero-status {
        text-align: left;
    }

    .settings-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .settings-kpi-grid,
    .settings-overview-grid,
    .settings-action-grid {
        grid-template-columns: 1fr;
    }

    .settings-liff-actions {
        justify-content: space-between;
    }

    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .item-actions {
        flex-direction: column;
    }

    .small-button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .dashboard-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.daily-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.daily-choices button{min-height:48px;white-space:normal}.daily-choices [aria-pressed="true"]{background:#184b7b;border-color:#62b6ff;color:#fff;box-shadow:inset 0 0 0 1px #62b6ff}.daily-secondary{margin:18px 0;padding:12px;border:1px solid #354459;border-radius:10px}.daily-secondary summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 6px;font-weight:600}.daily-secondary[open]>summary{margin-bottom:12px}.dashboard-tabs button{min-height:48px;white-space:normal}.item-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}#boardNameForm{margin:18px 0}#boardScope,#interviewSearchStatus{color:#b7d8ed;line-height:1.6}#floorStatusBtn{margin-bottom:10px}:focus-visible{outline:3px solid #80caff;outline-offset:3px}@media(min-width:760px){.daily-choices{grid-template-columns:repeat(4,minmax(0,1fr))}}

.page [hidden]{display:none!important}a.outline-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;text-decoration:none}


.demo-banner{background:#16364d;padding:12px;color:#d9f1ff;font-size:13px;line-height:1.6}.demo-controls{margin:18px 0}.demo-controls summary{min-height:44px;cursor:pointer}.dashboard-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.dashboard-tabs [aria-current=true]{background:#184b7b;border-color:#62b6ff}.demo-panel{margin-top:22px}.demo-panel label{display:block;margin:14px 0}.demo-panel input,.demo-panel select{display:block;width:100%;min-height:46px;background:#111827;color:#fff;border:1px solid #475569;border-radius:8px;padding:10px;margin-top:6px;font-size:16px}.demo-panel button{min-height:46px;margin:6px 4px 6px 0}.demo-panel li{padding:12px 0;line-height:1.6}.record-card{border:1px solid #334155;border-radius:8px;padding:14px;margin:12px 0}.record-card p{color:#cbd5e1}.demo-controls button{min-height:44px}.demo-controls select{font-size:16px;padding:8px}#notice{line-height:1.7;color:#bae6fd}.mock-note{color:#fcd34d;font-size:13px;line-height:1.7}.page [hidden]{display:none!important}footer{font-size:13px;color:#94a3b8;margin-top:24px;line-height:1.7}@media(min-width:760px){.dashboard-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
