/* Shared action palette for Mi FastOffice. Status indicators keep their meaning. */
body .app-button,
.app-client .fo-meet-button,
.fo-client-auth .btn,
.fo-sign button,
.clock-shell .clock-btn,
.clock-shell .btn,
.fo-login .fo-submit {
    --fo-action-bg: #075b9e;
    --fo-action-ink: #ffffff;
    background: var(--fo-action-bg) !important;
    color: var(--fo-action-ink) !important;
    border: 1px solid var(--fo-action-bg) !important;
    border-radius: 12px;
    min-height: 46px !important;
    padding: 11px 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 3px 9px #075b9e18;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    overflow-wrap: anywhere;
}
body .app-button-primary,
.fo-client-auth .btn-primary,
.fo-sign button[type="submit"],
.clock-shell .btn-primary,
.clock-shell .btn-warning,
.fo-login .fo-submit {
    --fo-action-bg: #f2aa00;
    --fo-action-ink: #101b3f;
    box-shadow: 0 4px 12px #a76c0018;
}
body .app-button-danger,
body .app-button-download {
    --fo-action-bg: #075b9e;
    --fo-action-ink: #ffffff;
}
body .app-button:disabled,
.app-client .fo-meet-button:disabled,
.clock-shell .btn:disabled,
.fo-login .fo-submit:disabled,
.fo-sign button:disabled,
.fo-client-auth .btn:disabled,
body .app-button[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
body .app-button:focus-visible,
.app-client .fo-meet-button:focus-visible,
.clock-shell .btn:focus-visible,
.fo-login .fo-submit:focus-visible,
.fo-sign button:focus-visible,
.fo-client-auth .btn:focus-visible {
    outline: 3px solid #075b9e;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px white;
}
.fo-entry .fo-entry-options .fo-entry-option {
    background: #075b9e;
    border-color: #075b9e;
    color: white;
    min-height: 88px;
}
.fo-entry .fo-entry-options .fo-entry-option span,
.fo-entry .fo-entry-options .fo-entry-option .fo-entry-arrow { color: white; }
.fo-entry .fo-entry-options .fo-entry-option:first-child {
    background: #f2aa00;
    border-color: #f2aa00;
    color: #101b3f;
}
.fo-entry .fo-entry-options .fo-entry-option:first-child span { color: #101b3f; }
.fo-entry .fo-entry-options .fo-entry-option:hover { border-color: #101b3f; }
.clock-choice input:checked + label {
    background: #075b9e !important;
    border-color: #075b9e !important;
    color: white !important;
}
.clock-choice:last-child input:checked + label {
    background: #f2aa00 !important;
    border-color: #f2aa00 !important;
    color: #101b3f !important;
}
.clock-choice input:focus-visible + label {
    outline: 3px solid #075b9e;
    outline-offset: 3px;
}
@media (hover: hover) {
    body .app-button:not(:disabled):not([aria-disabled="true"]):hover,
    .app-client .fo-meet-button:not(:disabled):hover,
    .clock-shell .btn:not(:disabled):hover,
    .fo-login .fo-submit:not(:disabled):hover,
    .fo-client-auth .btn:not(:disabled):hover,
    .fo-sign button:not(:disabled):hover {
        filter: brightness(.94);
        transform: translateY(-1px);
        box-shadow: 0 7px 16px #101b3f20;
        text-decoration: none;
    }
}
body .app-button:not(:disabled):active,
.clock-shell .btn:not(:disabled):active,
.fo-sign button:not(:disabled):active { transform: translateY(1px); }
@media (max-width: 600px) {
    body .app-button { min-height: 46px !important; white-space: normal; }
    .app-top .app-button { min-width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    body .app-button, .app-client .fo-meet-button, .clock-shell .btn,
    .fo-login .fo-submit, .fo-client-auth .btn, .fo-sign button { transition: none; transform: none !important; }
}

.clock-shell #clock-submit { background: #f2aa00 !important; color: #101b3f !important; border-color: #f2aa00 !important; }
