.customer-shell{padding:44px 0 72px;background:#f5f7f6;min-height:70vh}.customer-auth{max-width:520px;margin:0 auto;background:#fff;border:1px solid #e4e9e6;border-radius:22px;padding:30px;box-shadow:0 18px 45px rgba(18,55,43,.08)}.customer-auth h1,.customer-panel h1{margin:0 0 8px;color:#17362c}.customer-auth p{color:#6b7a74}.customer-auth .field{margin:14px 0}.customer-auth label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}.customer-auth input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #d8e0dc;border-radius:11px}.customer-auth button{width:100%;margin-top:8px}.customer-links{display:flex;justify-content:space-between;gap:12px;margin-top:16px;font-size:13px}.customer-alert{padding:12px 14px;border-radius:10px;margin-bottom:15px;background:#eef8f2;color:#1f6a46}.customer-alert.error{background:#fff0f0;color:#a33}.customer-panel{max-width:1180px;margin:0 auto}.customer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.customer-head-actions{display:flex;gap:10px;flex-wrap:wrap}.customer-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.customer-kpi{background:#fff;border:1px solid #e3e9e6;border-radius:16px;padding:17px}.customer-kpi span{font-size:11px;letter-spacing:.08em;color:#75817c;text-transform:uppercase}.customer-kpi strong{display:block;font-size:25px;margin-top:5px;color:#17372c}.customer-orders{display:grid;gap:14px}.customer-order{background:#fff;border:1px solid #e3e9e6;border-radius:18px;padding:18px;display:grid;grid-template-columns:1.3fr 1fr .85fr auto;gap:18px;align-items:center}.customer-order h3{margin:0 0 5px;font-size:17px}.customer-order small{color:#74817b}.customer-order-meta{display:flex;gap:8px;flex-wrap:wrap}.customer-chip{background:#eef3f1;border-radius:999px;padding:6px 9px;font-size:12px}.customer-progress{height:8px;background:#e8eeeb;border-radius:999px;overflow:hidden;margin-top:9px}.customer-progress>span{display:block;height:100%;background:#1f7a56}.customer-price{text-align:right}.customer-price strong{display:block;font-size:18px}.customer-empty{background:#fff;border:1px dashed #cfd9d4;border-radius:18px;padding:34px;text-align:center}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.75fr);gap:20px}.order-card{background:#fff;border:1px solid #e3e9e6;border-radius:18px;padding:20px;margin-bottom:16px}.order-card h2,.order-card h3{margin-top:0}.order-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.order-info{background:#f7f9f8;border:1px solid #e8eeeb;border-radius:12px;padding:12px}.order-info span{display:block;font-size:10px;color:#7a8781;text-transform:uppercase;letter-spacing:.07em}.order-info strong{display:block;margin-top:4px}.order-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.order-step{padding:10px;border-radius:12px;background:#f2f5f4;border:1px solid #e2e9e5;font-size:12px}.order-step.done{background:#eaf7f0;border-color:#c9ead8;color:#1f6a46}.order-step.current{background:#173d31;color:#fff;border-color:#173d31}.order-note{background:#eef8f2;border-left:4px solid #1f7a56;padding:13px 14px;border-radius:10px}.marketing-card{background:#173d31;color:#fff;border-radius:16px;padding:18px}.marketing-card a{color:#fff}.proof-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf1ef}.proof-card:first-child{border-top:0}.status-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef3f1;font-size:11px;font-weight:700}.status-badge.approved{background:#e7f6ed;color:#216d45}.status-badge.revision{background:#fff0e6;color:#9a511a}.customer-table{width:100%;border-collapse:collapse}.customer-table th,.customer-table td{padding:10px;border-bottom:1px solid #e7ece9;text-align:left;font-size:13px}.customer-table th{font-size:11px;text-transform:uppercase;color:#6f7d77}.admin-customer-wrap{display:grid;grid-template-columns:1fr;gap:16px}.admin-customer-card{background:#fff;border:1px solid #dfe6e2;border-radius:14px;padding:16px}.admin-customer-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.customer-kpis{grid-template-columns:repeat(2,1fr)}.customer-order{grid-template-columns:1fr 1fr}.order-detail-grid{grid-template-columns:1fr}.order-info-grid{grid-template-columns:repeat(2,1fr)}.order-timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.customer-shell{padding:24px 0 50px}.customer-auth{padding:20px;border-radius:16px}.customer-head{flex-direction:column}.customer-order{grid-template-columns:1fr}.customer-price{text-align:left}.order-info-grid{grid-template-columns:1fr}.customer-links{flex-direction:column}}

/* V7.5 e-commerce customer account */
.commerce-account{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;max-width:1280px}.commerce-sidebar{background:#fff;border:1px solid #e1e7e4;border-radius:20px;padding:14px;height:max-content;position:sticky;top:110px}.commerce-user{display:flex;gap:11px;align-items:center;padding:8px 7px 17px;border-bottom:1px solid #edf1ef}.commerce-user strong,.commerce-user small{display:block}.commerce-user small{font-size:11px;color:#7a8781;margin-top:2px}.commerce-avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#173d31;color:#fff;font-weight:800}.commerce-nav{display:grid;gap:5px;padding-top:12px}.commerce-nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:11px;color:#33443e;text-decoration:none;font-weight:650;font-size:13px}.commerce-nav a span{width:20px;text-align:center}.commerce-nav a b{margin-left:auto;background:#eef3f1;border-radius:99px;padding:2px 7px;font-size:10px}.commerce-nav a b.hot{background:#e7f6ed;color:#176944}.commerce-nav a:hover,.commerce-nav a.active{background:#edf5f1;color:#175940}.commerce-main{min-width:0}.commerce-welcome{background:linear-gradient(135deg,#12372c,#1d5a45);color:#fff;border-radius:22px;padding:26px 28px;display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:18px;box-shadow:0 18px 35px rgba(17,52,42,.12)}.commerce-welcome h1{color:#fff;margin:4px 0 6px;font-size:28px}.commerce-welcome p{margin:0;color:#cfe2d9;max-width:700px}.commerce-primary{background:#fff!important;color:#173d31!important;border:0!important}.commerce-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.commerce-kpis>div{background:#fff;border:1px solid #e2e8e5;border-radius:15px;padding:15px}.commerce-kpis span,.commerce-kpis small{display:block;color:#7b8782;font-size:10px}.commerce-kpis span{text-transform:uppercase;letter-spacing:.08em}.commerce-kpis strong{font-size:24px;color:#17372c;display:block;margin:4px 0}.commerce-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.commerce-quick a{position:relative;background:#fff;border:1px solid #e1e8e4;border-radius:15px;padding:16px 42px 16px 16px;text-decoration:none;color:#233b32}.commerce-quick strong,.commerce-quick small{display:block}.commerce-quick small{color:#77847e;margin-top:4px;line-height:1.45}.commerce-quick span{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:20px}.commerce-section{background:#fff;border:1px solid #e1e8e4;border-radius:18px;padding:18px}.commerce-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px}.commerce-section-head h2{margin:0;font-size:19px}.commerce-count{background:#eef3f1;padding:5px 9px;border-radius:999px;font-size:11px}.commerce-orders{display:grid;gap:10px}.commerce-order{display:grid;grid-template-columns:1.4fr 1fr .7fr .8fr;gap:15px;align-items:center;border:1px solid #e6ebe8;border-radius:14px;padding:14px}.commerce-order-id small,.commerce-order-id strong,.commerce-order-id span,.commerce-order-price span,.commerce-order-delivery span{display:block}.commerce-order-id strong{font-size:14px}.commerce-order-id span,.commerce-order-id small,.commerce-order-status small,.commerce-order-price span,.commerce-order-delivery span{font-size:10px;color:#7b8882}.commerce-order-price{text-align:right}.commerce-order-price strong{display:block;font-size:15px}.commerce-order-price a{font-size:11px;font-weight:700}.address-layout,.message-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px}.address-list,.address-editor,.message-list,.message-conversation{background:#fff;border:1px solid #e1e8e4;border-radius:18px;padding:18px;min-width:0}.address-card{border:1px solid #e3e9e6;border-radius:14px;padding:14px;margin-bottom:10px}.address-card.default{border-color:#63a685;background:#f4fbf7}.address-top{display:flex;justify-content:space-between;gap:10px}.address-top strong,.address-top span{display:block}.address-top span{font-size:10px;color:#7b8782}.address-top b{font-size:10px;background:#dff3e8;color:#176944;height:max-content;padding:4px 7px;border-radius:99px}.address-card p{font-size:12px;color:#5f6f68;line-height:1.55}.address-actions{display:flex;gap:12px;font-size:11px}.address-actions form{margin:0}.address-actions button{border:0;background:none;color:#a33;padding:0;cursor:pointer}.commerce-form label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#4a5c54;margin-bottom:11px}.commerce-form input,.commerce-form select,.commerce-form textarea,.message-reply textarea{width:100%;box-sizing:border-box;border:1px solid #dce4e0;border-radius:10px;padding:11px;background:#fff;font:inherit}.commerce-form textarea{min-height:105px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.form-grid .full{grid-column:1/-1}.form-grid .check{display:flex;flex-direction:row;align-items:center}.form-grid .check input{width:auto}.message-list{padding:10px}.message-thread{display:flex;justify-content:space-between;gap:10px;padding:13px;border-radius:12px;text-decoration:none;color:#31443c}.message-thread:hover,.message-thread.active{background:#eff6f2}.message-thread strong,.message-thread small{display:block}.message-thread small{color:#7b8782;margin-top:3px;font-size:10px}.message-thread>div:last-child{text-align:right;font-size:10px;color:#7b8782}.message-thread b{display:inline-block;margin-top:5px;background:#1f7a56;color:#fff;border-radius:99px;padding:2px 6px}.conversation-head{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1ef;padding-bottom:12px}.conversation-head h2{margin:3px 0 0}.conversation-body{display:grid;gap:10px;padding:16px 0;max-height:430px;overflow:auto}.bubble{max-width:78%;padding:12px 14px;border-radius:14px;background:#f2f5f4}.bubble.customer{justify-self:end;background:#173d31;color:#fff}.bubble.admin{justify-self:start;background:#edf5f1}.bubble small{opacity:.7;font-size:9px}.bubble p{margin:5px 0 0;line-height:1.55}.message-reply{display:flex;gap:8px}.message-reply textarea{min-height:70px}.message-reply button{align-self:flex-end}.message-new h2{margin-top:4px}
@media(max-width:1000px){.commerce-account{grid-template-columns:1fr}.commerce-sidebar{position:static}.commerce-nav{grid-template-columns:repeat(3,1fr)}.commerce-kpis{grid-template-columns:repeat(2,1fr)}.commerce-order{grid-template-columns:1fr 1fr}.address-layout,.message-layout{grid-template-columns:1fr}}
@media(max-width:650px){.commerce-welcome{align-items:flex-start;flex-direction:column}.commerce-quick{grid-template-columns:1fr}.commerce-nav{grid-template-columns:1fr 1fr}.commerce-order{grid-template-columns:1fr}.commerce-order-price{text-align:left}.form-grid{grid-template-columns:1fr}.commerce-kpis{grid-template-columns:1fr 1fr}.message-reply{flex-direction:column}}


/* === V7.6 CUSTOMER CENTER COMPACT / ORGANIZED OVERRIDE === */
body.customer-area{background:#f4f7f6}
.customer-shell{max-width:1440px;margin:0 auto;padding:28px 24px 56px}
.customer-dashboard,
.customer-account-layout,
.customer-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important;align-items:start}
.customer-sidebar{position:sticky;top:92px;border-radius:18px!important;overflow:hidden;box-shadow:0 12px 35px rgba(16,53,44,.08);background:#fff!important}
.customer-sidebar .customer-menu,
.customer-sidebar nav{padding:10px!important}
.customer-sidebar a{display:flex!important;align-items:center;min-height:46px;padding:0 14px!important;border-radius:11px!important;margin:3px 0!important;font-weight:700;text-decoration:none!important}
.customer-sidebar a.active{background:#0f5a47!important;color:#fff!important}
.customer-main{min-width:0}
.customer-hero,.account-hero,.customer-welcome{border-radius:20px!important;padding:24px 26px!important;margin-bottom:18px!important;background:linear-gradient(135deg,#0b4c3d,#17725b)!important;color:#fff!important;box-shadow:0 16px 38px rgba(15,90,71,.15)}
.customer-hero h1,.account-hero h1,.customer-welcome h1{margin:0 0 6px!important;font-size:27px!important;line-height:1.2!important;color:#fff!important}
.customer-hero p,.account-hero p,.customer-welcome p{margin:0!important;color:rgba(255,255,255,.82)!important}
.customer-stats,.account-stats,.dashboard-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important}
.customer-stat,.account-stat,.dashboard-stat{min-height:112px!important;border:1px solid #e5ece9!important;border-radius:16px!important;background:#fff!important;padding:17px!important;box-shadow:0 6px 18px rgba(16,53,44,.045)!important}
.customer-stat strong,.account-stat strong,.dashboard-stat strong{display:block!important;font-size:27px!important;color:#123f35!important;margin-top:8px!important}
.customer-grid,.account-grid,.dashboard-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.customer-card,.account-card,.dashboard-card,.order-card,.address-card,.message-card{border:1px solid #e3ebe8!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 22px rgba(16,53,44,.05)!important;padding:18px!important;margin:0!important}
.customer-card h2,.customer-card h3,.account-card h2,.account-card h3,.dashboard-card h2,.dashboard-card h3{margin-top:0!important;color:#173e35!important}
.customer-section{margin-bottom:18px!important}
.customer-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
.customer-section-head h2{margin:0!important;font-size:18px!important}
.order-list,.address-list,.message-list{display:grid!important;gap:10px!important}
.order-card{display:grid!important;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(110px,.55fr)) auto!important;align-items:center!important;gap:14px!important}
.customer-actions,.card-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.customer-btn,.btn-customer{min-height:40px!important;padding:0 14px!important;border-radius:10px!important;font-weight:800!important}
.customer-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
.customer-form-grid .full,.form-full{grid-column:1/-1!important}
.customer-input, .customer-area input:not([type=checkbox]):not([type=radio]), .customer-area select, .customer-area textarea{border:1px solid #dce6e2!important;border-radius:11px!important;min-height:44px;padding:10px 12px!important;background:#fff!important}
.customer-area textarea{min-height:105px!important}
.customer-progress{height:8px!important;border-radius:999px!important;overflow:hidden!important;background:#e9efed!important}
.customer-progress>span{display:block!important;height:100%!important;background:#178263!important;border-radius:inherit!important}
.customer-empty{padding:30px 20px!important;border:1px dashed #cad9d4!important;border-radius:15px!important;background:#fbfdfc!important;text-align:center!important}
@media(max-width:1100px){
 .customer-dashboard,.customer-account-layout,.customer-layout{grid-template-columns:210px minmax(0,1fr)!important}
 .customer-stats,.account-stats,.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .order-card{grid-template-columns:minmax(0,1fr) repeat(2,minmax(100px,.5fr))!important}
}
@media(max-width:760px){
 .customer-shell{padding:14px 12px 36px}
 .customer-dashboard,.customer-account-layout,.customer-layout{display:block!important}
 .customer-sidebar{position:static!important;margin-bottom:14px!important}
 .customer-sidebar .customer-menu,.customer-sidebar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
 .customer-sidebar a{margin:0!important}
 .customer-stats,.account-stats,.dashboard-stats,.customer-grid,.account-grid,.dashboard-grid,.customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .order-card{display:block!important}
 .order-card>*{margin-bottom:8px!important}
}
@media(max-width:480px){
 .customer-stats,.account-stats,.dashboard-stats,.customer-grid,.account-grid,.dashboard-grid,.customer-form-grid{grid-template-columns:1fr!important}
}

/* V7.7 persistent account center */
.commerce-account{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.commerce-sidebar{position:sticky;top:92px}.commerce-nav a{display:grid;grid-template-columns:26px 1fr auto;align-items:center}.commerce-nav a em{font-style:normal}.commerce-nav-sep{height:1px;background:#e7eeeb;margin:10px 6px}.commerce-help{margin:14px;padding:15px;border-radius:14px;background:#f1f7f4}.commerce-help strong,.commerce-help small{display:block}.commerce-help small{margin:5px 0 10px;color:#667c74}.commerce-help a{font-weight:800;color:#0f6a52}.account-panel{background:#fff;border:1px solid #e2ebe7;border-radius:18px;padding:22px;box-shadow:0 8px 25px rgba(20,55,45,.05)}.account-panel-head,.change-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.safe-badge{padding:7px 10px;border-radius:999px;background:#e9f7f1;color:#0d7055;font-weight:800;font-size:12px}.form-actions{display:flex;gap:10px;margin-top:16px}.btn.ghost{background:#fff;border:1px solid #d9e5e0;color:#24483f}.security-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.security-info{background:#123f35;color:#fff;border-radius:18px;padding:24px}.security-info p{color:#c7d9d3}.security-info div{border-top:1px solid rgba(255,255,255,.15);padding-top:16px;margin-top:20px}.security-info small,.security-info strong{display:block}.change-center{margin-top:16px}.change-form summary{cursor:pointer;padding:13px 15px;background:#f4f8f6;border-radius:12px;font-weight:800;margin:12px 0}.muted{color:#6c7d77}.change-history{margin-top:18px;border-top:1px solid #e5ece9;padding-top:14px}.change-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #edf2f0}.change-row small{display:block;color:#71817b;margin-top:3px}.change-status{height:max-content;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.change-status.pending{background:#fff4d8;color:#8a5a00}.change-status.approved{background:#e7f7ef;color:#08724e}.change-status.rejected{background:#fdeaea;color:#a32e2e}@media(max-width:900px){.commerce-account{grid-template-columns:1fr}.commerce-sidebar{position:static}.security-grid{grid-template-columns:1fr}}

/* V7.25 Google Identity customer login */
.customer-auth.google-ready{max-width:540px;padding:32px}.customer-auth-brand{text-align:center}.customer-auth-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef6f2;color:#17634b;font-size:9px;font-weight:900;letter-spacing:.08em}.customer-auth.google-ready h1{margin-top:10px}.google-login-area{display:flex;justify-content:center;min-height:44px;margin-top:20px}.google-login-area .g_id_signin{display:flex;justify-content:center;width:100%}.customer-auth-separator{display:flex;align-items:center;gap:10px;margin:18px 0 4px;color:#8a9691;font-size:11px}.customer-auth-separator:before,.customer-auth-separator:after{content:"";height:1px;background:#e4ebe8;flex:1}.customer-auth-separator span{white-space:nowrap}.google-login-note{margin-top:18px;padding:11px 12px;border:1px solid #e1e9e6;border-radius:10px;background:#f8fbf9;color:#667a72;font-size:10px;line-height:1.5}.customer-login-form .btn{min-height:44px}@media(max-width:560px){.customer-auth.google-ready{padding:22px 18px}.google-login-area{overflow:hidden}.customer-links{flex-direction:column;align-items:center}}

/* V7.26 robust Google OAuth button */
.google-oauth-ready{max-width:560px}
.google-oauth-button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:11px;margin:4px 0 10px;padding:0 16px;border:1px solid #d7dfdc;border-radius:11px;background:#fff;color:#263b34!important;text-decoration:none!important;font-size:14px;font-weight:800;box-shadow:0 2px 8px rgba(16,53,44,.04);transition:.16s ease}
.google-oauth-button:hover{border-color:#aebdb7;background:#fbfdfc;box-shadow:0 7px 18px rgba(16,53,44,.08);transform:translateY(-1px)}
.google-oauth-icon{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px}
.google-oauth-security{display:flex;gap:9px;align-items:flex-start;margin:0 0 14px;padding:10px 11px;border:1px solid #dce9e3;border-radius:10px;background:#f4faf7;color:#31594c}
.google-oauth-security>span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#17654e;color:#fff;font-size:11px;font-weight:900;flex:0 0 22px}
.google-oauth-security b,.google-oauth-security small{display:block}.google-oauth-security b{font-size:10px;color:#17483a}.google-oauth-security small{font-size:8px;line-height:1.45;color:#6f807a;margin-top:2px}
@media(max-width:600px){.google-oauth-button{min-height:50px;font-size:13px}.google-oauth-security{padding:9px}}
