 .profile-office {
     --po-bg: #f4f6fb;
     --po-card: #ffffff;
     --po-text: #1b2430;
     --po-muted: #6b778c;
     --po-primary: #4c6ef5;
     --po-primary-dark: #3b5bdb;
     --po-border: #e6e9ef;
     --po-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
     --po-radius: 18px;
     --po-gap: 18px;
     color: var(--po-text);
     font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
 }

 .profile-office *,
 .profile-office *::before,
 .profile-office *::after {
     box-sizing: border-box;
 }

 .profile-office {
     display: flex;
     justify-content: center;
     padding: 40px 16px 60px;
     background: radial-gradient(circle at top, #eef2ff 0%, #f8fafc 50%, #ffffff 100%);
 }

 .profile-office__card {
     width: min(980px, 100%);
     background: var(--po-card);
     border: 1px solid var(--po-border);
     border-radius: var(--po-radius);
     box-shadow: var(--po-shadow);
     padding: 28px;
 }

 .profile-office__header {
     margin-bottom: 24px;
 }

 .profile-office__header--row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 16px;
 }

 .profile-office__title {
     font-size: 28px;
     font-weight: 700;
     letter-spacing: -0.02em;
 }

 .profile-office__subtitle {
     margin-top: 6px;
     color: var(--po-muted);
     font-size: 15px;
 }

 .profile-office__error {
     margin-bottom: 16px;
     min-height: 20px;
     font-weight: 600;
    color: #b42318;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
 }

 .profile-office__error--visible {
     opacity: 1;
     transform: translateY(0);
 }

 .profile-office__error--success {
     color: #0f766e;
 }

 .profile-office__error--shake {
     animation: profile-office-shake 0.4s ease;
 }

 .profile-office__tabs {
     display: flex;
     gap: 8px;
     background: #f1f4ff;
     padding: 6px;
     border-radius: 12px;
     margin-bottom: 16px;
 }

 .profile-office__tab {
     flex: 1;
     border: 0;
     background: transparent;
     padding: 10px 12px;
     border-radius: 10px;
     font-weight: 600;
     color: var(--po-muted);
     cursor: pointer;
     transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
 }

 .profile-office__tab--active {
     background: #ffffff;
     color: var(--po-text);
     box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
 }

 .profile-office__panel {
     display: none;
     opacity: 0;
     transform: translateY(8px);
 }

 .profile-office__panel--active {
     display: block;
     opacity: 1;
     transform: translateY(0);
     transition: opacity 0.25s ease, transform 0.25s ease;
 }

 .profile-office__grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 22px;
 }

 .profile-office__section {
     background: #f8f9fd;
     border: 1px solid var(--po-border);
     border-radius: 14px;
     padding: 18px;
 }

 .profile-office__section-title {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 14px;
 }

 .profile-office__field {
     display: flex;
     flex-direction: column;
     gap: 8px;
     margin-bottom: 14px;
 }

 .profile-office__label {
     font-size: 13px;
     color: var(--po-muted);
 }

 .profile-office__input {
     width: 100%;
     padding: 11px 12px;
     border-radius: 10px;
     border: 1px solid var(--po-border);
     background: #ffffff;
     font-size: 15px;
     transition: border 0.2s ease, box-shadow 0.2s ease;
 }

 .profile-office__input:focus {
     outline: none;
     border-color: rgba(76, 110, 245, 0.5);
     box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.2);
 }

 .profile-office__actions {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     align-items: center;
 }

 .profile-office__btn {
     appearance: none;
     border: none;
     border-radius: 10px;
     padding: 11px 16px;
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
 }

 .profile-office__btn:hover {
     transform: translateY(-1px);
 }

 .profile-office__btn:active {
     transform: translateY(0);
 }

 .profile-office__btn--primary {
     background: linear-gradient(135deg, var(--po-primary), #7b9cff);
     color: #ffffff;
     box-shadow: 0 12px 24px rgba(76, 110, 245, 0.28);
 }

 .profile-office__btn--primary:hover {
     background: linear-gradient(135deg, var(--po-primary-dark), #6f8fff);
 }

 .profile-office__btn--ghost {
     background: #ffffff;
     color: var(--po-text);
     border: 1px solid var(--po-border);
 }

 .profile-office__btn--ghost:hover {
     border-color: rgba(76, 110, 245, 0.4);
 }

 .profile-office__divider {
     margin: 18px 0;
     border: 0;
     border-top: 1px solid var(--po-border);
 }

 .profile-office__google {
     background: #111827;
     color: #ffffff;
 }

 .profile-office__google:hover {
     background: #1f2937;
 }

 .profile-office__btn--loading {
     position: relative;
     pointer-events: none;
     opacity: 0.85;
 }

 .profile-office__btn--loading::after {
     content: "";
     width: 14px;
     height: 14px;
     border-radius: 50%;
     border: 2px solid rgba(255, 255, 255, 0.6);
     border-top-color: #ffffff;
     margin-left: 8px;
     display: inline-block;
     vertical-align: middle;
     animation: profile-office-spin 0.8s linear infinite;
 }

 .profile-office__btn--ghost.profile-office__btn--loading::after {
     border-color: rgba(27, 36, 48, 0.3);
     border-top-color: rgba(27, 36, 48, 0.8);
 }

 .profile-office__check {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 14px;
     color: var(--po-muted);
     margin: 10px 0 18px;
 }

 .profile-office__check input {
     width: 16px;
     height: 16px;
 }

 .profile-office__card--success {
     animation: profile-office-success 0.35s ease;
 }

 .profile-office__avatar {
     width: 86px;
     height: 86px;
     border-radius: 50%;
     border: 3px solid #eef2ff;
     object-fit: cover;
     box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
 }

 .profile-office__meta {
     display: flex;
     flex-direction: column;
     gap: 6px;
 }

 .profile-office__meta span {
     font-size: 14px;
     color: var(--po-muted);
 }

 .profile-office__row {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .profile-office__loading {
     text-align: center;
     color: var(--po-muted);
     font-size: 16px;
     padding: 40px 0;
 }

 @keyframes profile-office-spin {
     from { transform: rotate(0deg); }
     to { transform: rotate(360deg); }
 }

 @keyframes profile-office-shake {
     0% { transform: translateX(0); }
     25% { transform: translateX(-4px); }
     50% { transform: translateX(4px); }
     75% { transform: translateX(-3px); }
     100% { transform: translateX(0); }
 }

 @keyframes profile-office-success {
     0% { transform: scale(1); }
     50% { transform: scale(1.01); }
     100% { transform: scale(1); }
 }

 @media (max-width: 860px) {
     .profile-office__grid {
         grid-template-columns: 1fr;
     }

     .profile-office__header--row {
         flex-direction: column;
         align-items: flex-start;
     }
 }

 @media (max-width: 520px) {
     .profile-office__card {
         padding: 20px;
     }

     .profile-office__title {
         font-size: 24px;
     }
 }
