/* Signed-in account workspace. Authentication keeps its existing focused layout. */
.google-sign-in { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:48px; padding:12px; border:1px solid #747775; border-radius:6px; background:#fff; color:#1f1f1f; font-family:Arial,sans-serif; font-size:14px; font-weight:500; }
.google-sign-in img { width:20px; height:20px; object-fit:contain; }
.google-sign-in:hover { background:#f6f8f7; border-color:#829c91; }
.google-sign-in:disabled { opacity:.6; cursor:wait; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:20px 0; color:#65766f; font-size:12px; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:#e0e7e3; }
.app-view[data-view="profile"]:has(.profile-account:not([hidden])) { background:#fff; color:#192e30; }
.profile-account { max-width:960px; margin:0 auto; }
.account-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:10px 0 30px; }
.account-identity { display:flex; align-items:center; gap:18px; min-width:0; }
.account-identity > div { min-width:0; }
.account-identity .profile-avatar { display:grid; place-items:center; flex:0 0 54px; width:54px; height:54px; border-radius:50%; background:#e3f4ed; color:#116b5b; font-size:20px; font-weight:700; }
.account-heading .brand-eyebrow { margin-bottom:7px; font-size:11px; }
.account-heading h1 { margin:0; font-size:28px; line-height:1.3; overflow-wrap:anywhere; }
.account-heading p { margin:7px 0 0; font-size:14px; color:#637773; line-height:1.5; overflow-wrap:anywhere; }
.account-heading > button { flex-shrink:0; font-size:13px; min-height:44px; }
.account-tabs { display:flex; gap:28px; border-bottom:1px solid #dfe8e4; }
.account-tabs button { display:flex; align-items:center; justify-content:center; gap:8px; padding:15px 0; min-height:52px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:#60756e; font-size:14px; font-weight:650; }
.account-tabs button[aria-selected="true"] { color:#007a80; border-bottom-color:#007a80; }
.account-tabs button:hover { color:#005d63; }
.account-tabs button > span { display:grid; place-items:center; min-width:22px; height:22px; padding:0 5px; border-radius:5px; background:#edf3ef; font-size:12px; color:#426356; }
.account-panel { padding:27px 0 10px; min-height:320px; }
.account-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.account-section-heading h2 { margin:0; font-size:19px; line-height:1.5; font-weight:750; }
.account-section-heading p { margin:5px 0 0; font-size:14px; line-height:1.6; color:#61746d; }
.account-primary, .account-upload { display:inline-flex; justify-content:center; align-items:center; gap:7px; min-height:44px; padding:11px 16px; border:1px solid #007a80; border-radius:6px; background:#007a80; color:#fff; font-size:14px; font-weight:700; line-height:1.5; white-space:nowrap; cursor:pointer; }
.account-primary:hover, .account-upload:hover { background:#005f65; border-color:#005f65; }
.account-primary:disabled { opacity:.65; cursor:wait; }
.account-primary svg, .account-upload svg { width:17px; height:17px; }
.account-upload { position:relative; overflow:hidden; }
.account-upload input { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.account-upload:focus-within { outline:2px solid #007a80; outline-offset:3px; }
.profile-account .client-order { border-bottom:1px solid #e1e9e5; }
.profile-account .client-order summary { padding:21px 0; gap:16px; }
.profile-account .client-order summary::-webkit-details-marker { display:none; }
.profile-account .client-order strong { font-size:15px; line-height:1.6; font-weight:650; }
.profile-account .client-order small { font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.profile-account .order-status { flex-shrink:0; font-size:12px; line-height:1.4; padding:6px 9px; background:#eef2f0; color:#4b655a; }
.profile-account [data-status="In progress"] .order-status { background:#e1f4ed; color:#11694a; }
.profile-account [data-status="Waiting for client"] .order-status { background:#fff2d6; color:#7e5317; }
.profile-account [data-status="Completed"] .order-status { background:#e8f3e3; color:#3b662c; }
.profile-account .order-detail { padding:4px 0 22px; max-width:640px; }
.profile-account .order-detail p { color:#5c7169; font-size:14px; line-height:1.6; }
.profile-account .order-detail dl { padding-block:14px; border-block:1px solid #e4ece7; font-size:14px; line-height:1.5; }
.profile-account .order-detail button { width:auto; min-height:44px; padding:11px 18px; border-radius:6px; font-size:14px; background:#007a80; }
.account-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:42px 16px 50px; text-align:center; }
.account-empty > svg { width:32px; height:32px; color:#739989; stroke-width:1.4; margin-bottom:18px; }
.account-empty h3 { margin:0; font-size:18px; line-height:1.5; }
.account-empty p { font-size:14px; line-height:1.6; color:#61746d; max-width:32ch; margin:8px 0 20px; }
.profile-account .profile-form { margin:0; max-width:780px; width:100%; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
.account-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px 24px; }
.profile-account .profile-form label { margin:0; min-width:0; }
.profile-account .profile-form label > span { display:block; font-size:14px; font-weight:600; margin-bottom:9px; }
.profile-account .profile-form input { width:100%; min-height:48px; padding:12px; background:#fff; border:1px solid #cbd9d3; border-radius:6px; font-size:16px; color:#214039; }
.profile-account .profile-form input:read-only { background:#f5f8f6; color:#63766e; }
.profile-account .profile-form small { font-size:12px; font-weight:400; color:#61746d; }
#accountEmailHint { display:block; margin-top:7px; }
.account-save { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-top:25px; }
#profileSaveStatus { margin:0; font-size:13px; line-height:1.6; color:#17694a; }
#profileSaveStatus[data-error] { color:#a5261d; }
.profile-account .document-list { display:block; }
.profile-account .document-item { grid-template-columns:36px minmax(0,1fr) 50px 44px; gap:12px; padding:18px 0; border:0; border-bottom:1px solid #e4ece7; border-radius:0; background:transparent; }
.profile-account .document-item strong { white-space:normal; overflow-wrap:anywhere; font-size:14px; line-height:1.5; }
.profile-account .document-item small { font-size:12px; line-height:1.5; }
.profile-account .document-item button { min-height:44px; width:44px; border-radius:5px; }
.profile-account .document-item button[data-open-doc] { background:#edf6f1; color:#17694a; width:50px; }
.profile-account .document-item button svg { width:18px; height:18px; }
.account-support { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px 16px; margin-top:30px; padding:20px 0; border-top:1px solid #e0e9e4; font-size:13px; color:#66786f; }
.account-support a { display:inline-flex; align-items:center; gap:7px; min-height:44px; font-weight:700; color:#15704c; }
.account-support svg { width:18px; height:18px; }
@media (max-width:1023px) {
  .app-frame:has(.profile-account:not([hidden])) .app-header { background:#fff; color:#192e30; border-bottom:1px solid #e1e8e6; box-shadow:none; }
  .app-frame:has(.profile-account:not([hidden])) .header-logo img { filter:none; }
  .app-frame:has(.profile-account:not([hidden])) .nav-main { padding-top:0 !important; }
  .app-frame:has(.profile-account:not([hidden])) .nav-main-icon { position:static; width:21px; height:21px; border:0; border-radius:0; background:transparent; box-shadow:none; color:inherit; }
}
@media (max-width:600px) {
  .app-view[data-view="profile"]:has(.profile-account:not([hidden])) { padding:24px 20px 32px; }
  .account-heading { gap:12px; padding:0 0 24px; align-items:flex-start; }
  .account-identity { gap:12px; }
  .account-identity .profile-avatar { display:none; }
  .account-heading h1 { font-size:25px; }
  .account-heading p { font-size:13px; }
  .account-tabs { gap:20px; justify-content:space-between; }
  .account-tabs button { font-size:13px; gap:5px; }
  .account-tabs button > span { font-size:11px; min-width:20px; }
  .account-panel { padding-top:24px; }
  .account-section-heading { gap:14px; align-items:flex-start; flex-wrap:wrap; }
  .account-section-heading h2 { font-size:18px; }
  .account-section-heading p { font-size:13px; }
  .account-primary, .account-upload { padding:10px 13px; font-size:13px; }
  .account-fields { grid-template-columns:1fr; gap:20px; }
  .profile-account .client-order summary { flex-wrap:wrap; gap:10px; }
  .profile-account .client-order summary > span:first-child { flex-basis:100%; }
  .profile-account .client-order summary::after { margin-left:auto; }
  .profile-account .order-detail button { width:100%; }
  .account-support { margin-top:15px; }
}
@media (max-width:359px) {
  .account-tabs { gap:10px; }
  .account-tabs button > span { display:none; }
  .app-view[data-view="profile"]:has(.profile-account:not([hidden])) { padding-inline:16px; }
}
