.account-page{min-height:70vh;display:grid;place-items:center;padding:52px 18px 80px}.account-card{width:min(520px,100%);padding:clamp(24px,5vw,42px);border:1px solid #e1eae5;border-radius:24px;background:#fff;box-shadow:0 16px 50px #16372a12}.account-card h1{margin:12px 0 8px;color:#153943;font:750 clamp(30px,6vw,42px) Manrope,sans-serif;letter-spacing:-1.2px}.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;margin:24px 0 18px;border-radius:12px;background:#f1f5f1}.account-tabs button{padding:11px;border:0;background:transparent;color:#57716d;border-radius:9px;font:700 13px "DM Sans",sans-serif}.account-tabs button.active{background:#fff;color:#16454a;box-shadow:0 2px 7px #153b3017}.account-form{display:grid;gap:15px}.account-form label{display:grid;gap:7px;color:#23474b;font-weight:650;font-size:13px}.account-form label span{font-weight:400;color:#718580}.account-form input{width:100%;min-height:46px;padding:12px 13px;border:1px solid #d5e0db;border-radius:10px;background:#fbfdfb;font:inherit}.account-form .primary-button{margin-top:7px;min-height:48px}.account-status{min-height:24px;color:#a04432;font-size:13px}.account-status.success{color:#347a58}.account-current{padding:16px;border-radius:12px;background:#eff6f0;color:#23494b;line-height:1.8}.account-current button{margin-top:12px;border:0;background:transparent;color:#a04432;font-weight:700;text-decoration:underline}.account-back{display:inline-block;margin-top:7px;color:#4a7672;font-weight:700;font-size:13px}.header-account-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.header-account-actions a{padding:10px 13px;border-radius:10px;font-size:11px;font-weight:700;white-space:nowrap}.header-account-actions .account-signup{background:#eff5ed;color:#235146}.header-account-actions .account-login{background:#153d45;color:#fff}.header-account-actions .account-profile{background:#eff5ed;color:#235146;max-width:150px;overflow:hidden;text-overflow:ellipsis}.header-account-actions .account-logout{background:transparent;color:#5d7773;padding-inline:8px}@media(max-width:760px){.header-account-actions{gap:4px;margin-left:auto;margin-right:4px}.header-account-actions a{padding:8px 9px;font-size:10px}.header-account-actions .account-logout{display:none}.account-page{padding-top:30px}}

.account-form[hidden]{display:none!important}

.account-admin-link{display:inline-block;margin:10px 0;color:#19464a;font-weight:750}
.account-dashboard[hidden],.account-auth[hidden]{display:none!important}
.account-dashboard{width:min(1080px,100%);display:grid;grid-template-columns:245px minmax(0,1fr);overflow:hidden;border:1px solid #e1eae5;border-radius:24px;background:#fff;box-shadow:0 16px 50px #16372a12}
.account-sidebar{padding:26px 18px;background:#f4f8f4;border-right:1px solid #e4ece7}
.account-sidebar-person{display:grid;justify-items:center;gap:10px;padding:10px 8px 24px;text-align:center;color:#21484a}
.account-sidebar-person img,.account-sidebar-person>span{width:68px;height:68px;border-radius:50%;object-fit:cover}
.account-sidebar-person>span{display:grid;place-items:center;background:#dcebe2;color:#276267;font-size:24px;font-weight:800}
.account-sidebar-person strong{max-width:100%;overflow-wrap:anywhere}
.account-sidebar nav{display:grid;gap:6px}
.account-sidebar nav a{padding:12px 13px;border-radius:10px;color:#55716c;font-size:13px;font-weight:650}
.account-sidebar nav a.active,.account-sidebar nav a:hover{background:#fff;color:#17494d;box-shadow:0 2px 8px #214b3c0d}
.account-sidebar nav a[hidden]{display:none}
.account-sidebar .account-logout{margin-top:22px;padding:10px 12px;border:0;background:transparent;color:#9b5145;font-weight:700}
.account-panel{min-width:0;padding:clamp(24px,5vw,48px)}
.account-panel h1{margin:10px 0;color:#153943;font:750 clamp(30px,5vw,40px) Manrope,sans-serif;letter-spacing:-1px}
.profile-photo-edit{display:flex;align-items:center;gap:18px;padding:18px 0 24px;margin-bottom:22px;border-bottom:1px solid #e6eeea;color:#21484a}
.profile-photo-edit p{margin:5px 0 12px;color:#73847f;font-size:12px}
.profile-photo-preview{width:86px;height:86px;flex:none;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#edf4ee;color:#357276;font-size:30px;font-weight:800}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover}
.profile-photo-preview img[hidden],.profile-photo-preview span[hidden],.account-sidebar-person img[hidden],.account-sidebar-person span[hidden]{display:none!important}
.account-upload-button{position:relative;display:inline-flex;padding:9px 12px;border-radius:9px;background:#e6f0e9;color:#1c5558;font-size:12px;font-weight:750;cursor:pointer}
.account-upload-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.account-remove-photo{margin-left:10px;border:0;background:transparent;color:#a04f42;font-size:12px;font-weight:700;cursor:pointer}
.profile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-form label{font-size:12px}
.profile-form .primary-button{grid-column:1/-1;justify-self:start;min-width:180px}
.profile-form input{min-height:44px}
.profile-form[hidden]{display:none!important}
.orders-list{display:grid;gap:14px}
.order-card{padding:19px;border:1px solid #e0eae5;border-radius:15px;background:#fff}
.order-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.order-date{color:#788a84;font-size:12px}
.order-card h2{margin:5px 0 0;color:#1b4548;font:700 17px Manrope,sans-serif}
.order-status{padding:7px 10px;border-radius:99px;background:#fff2dd;color:#946722;font-size:11px;font-weight:750;white-space:nowrap}
.order-status.paid{background:#e6f3e8;color:#39754d}
.order-card details{margin-top:14px;padding-top:12px;border-top:1px solid #edf1ed}
.order-card summary{cursor:pointer;color:#346b6a;font-size:12px;font-weight:700}
.order-card ul{display:grid;gap:9px;margin:14px 0;padding:0;list-style:none}
.order-card li,.order-total{display:flex;justify-content:space-between;gap:12px;color:#536c68;font-size:12px}
.order-total{padding-top:12px;border-top:1px solid #e8eeea;color:#193f43;font-size:14px}
@media(max-width:760px){.account-dashboard{grid-template-columns:1fr;border-radius:18px}.account-sidebar{padding:12px;border-right:0;border-bottom:1px solid #e4ece7}.account-sidebar-person{grid-template-columns:42px 1fr;justify-items:start;text-align:left;padding:4px 6px 12px}.account-sidebar-person img,.account-sidebar-person>span{width:42px;height:42px;font-size:17px}.account-sidebar nav{display:flex;overflow:auto;gap:4px}.account-sidebar nav a{white-space:nowrap;padding:10px}.account-sidebar .account-logout{position:absolute;right:20px;top:12px;margin:0}.account-panel{padding:23px 17px}.profile-form{grid-template-columns:1fr}.profile-form .primary-button{grid-column:auto}.order-card{padding:15px}}

/* Account controls stay within their owning panel or header. */
.site-header .header-logout{position:static;flex:0 0 auto;padding:8px 10px;min-height:34px;margin:0 0 0 8px;border:1px solid #d6e4d8;border-radius:9px;background:#eef5ec;color:#294e39;font:700 11px/1.3 "DM Sans",sans-serif;white-space:nowrap;cursor:pointer}
.site-header .header-logout:hover{background:#dfeeda;color:#203f30}
.site-header .header-logout:focus-visible{outline:3px solid #77bf3f;outline-offset:2px}
.order-card-top{flex-wrap:wrap}.order-status{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.account-sidebar .account-logout{position:static;display:block;margin:10px 0 0 auto;width:fit-content}.orders-page .site-header .brand-logo{width:clamp(105px,30vw,160px)}.orders-page .mobile-menu-toggle,.orders-page .mobile-account-link{margin-left:5px;flex-basis:36px;width:36px;height:38px}.site-header .header-logout{font-size:10px;padding:7px 8px;margin-left:5px}.account-sidebar-person strong{min-width:0;overflow-wrap:anywhere}.account-sidebar nav{flex-wrap:wrap;overflow:visible}.account-sidebar nav a{white-space:normal}}

/* Profile identity and logout share one aligned row. */
.account-person-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.account-person-row .account-sidebar-person{display:flex;align-items:center;justify-content:flex-start;flex:1;min-width:0;gap:10px;padding:4px 0;text-align:left}
.account-person-row .account-sidebar-person img,.account-person-row .account-sidebar-person>span{flex-shrink:0}
.account-person-row .account-sidebar-person strong{min-width:0;line-height:1.35}
.account-sidebar .account-person-row .account-logout{position:static;flex:0 0 auto;width:auto;margin:0;padding:8px 0 8px 8px;white-space:nowrap;align-self:center}
@media(min-width:761px){.account-person-row{gap:6px}.account-person-row .account-sidebar-person{gap:8px}.account-person-row .account-sidebar-person img,.account-person-row .account-sidebar-person>span{width:42px;height:42px}.account-person-row .account-logout{font-size:11px}}
.account-favorites{display:grid;gap:14px}.account-favorite{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px;border:1px solid #e1eae5;border-radius:16px}.favorite-photo{display:grid;place-items:center;height:100px;border-radius:12px;background:#eff6f0}.favorite-photo img{width:100%;height:100%;max-height:100px;object-fit:contain;padding:8px}.favorite-name{font-weight:750;color:#16454a;text-decoration:none}.favorite-name:hover{text-decoration:underline}.account-favorite p{margin:8px 0;color:#52716a}.favorite-actions{display:grid;justify-items:center;gap:12px}.favorite-actions button{cursor:pointer;border:0;background:transparent;color:#a04432;font:700 14px "DM Sans",sans-serif}.favorite-actions .favorite-add{width:44px;height:44px;border-radius:12px;background:#1c655c;color:white;font-size:26px}.favorite-add:disabled{opacity:.4;cursor:default}.account-favorite a:focus-visible,.favorite-actions button:focus-visible{outline:2px solid #23786c;outline-offset:3px}@media(max-width:480px){.account-favorite{grid-template-columns:65px minmax(0,1fr) auto;gap:10px;padding:12px}.favorite-photo{height:80px}.favorite-photo img{max-height:80px}.favorite-name{font-size:14px}}

.account-partner-link{display:flex;justify-content:center;min-height:44px;margin:16px 0;text-align:center}

.account-sidebar>.account-logout{position:static;display:block;width:100%;margin:10px 0 0;padding:12px 13px;text-align:left;border-radius:10px;font:650 13px "DM Sans",sans-serif;cursor:pointer}.account-sidebar>.account-logout:hover{background:#fff}.account-sidebar>.account-logout:focus-visible{outline:3px solid #dcbb51;outline-offset:2px}

.order-help{margin-top:16px;padding-top:14px;border-top:1px solid #e0e9e2;font-size:14px}.order-help summary{cursor:pointer;color:#205e4e;font-weight:650;min-height:28px}.order-help p{margin:10px 0}.order-help a{color:#176556;text-underline-offset:3px}
