body[data-auth]:not([data-auth="ready"]) > :not(#account-gate):not(#cookie-notice):not(script){display:none!important}
body[data-auth]:not([data-auth="ready"]) #cookie-notice{bottom:16px}
.account-legal{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;margin-top:8px}.account-legal a{color:#3f5a46}
#account-gate{min-height:100dvh;display:grid;place-items:center;padding:28px;background:#e7f8e9;color:#013009}
.account-card{width:min(440px,100%);background:#fff;border:1px solid #dedfd7;border-radius:18px;padding:36px;box-shadow:0 16px 60px #213b3810}
.account-brand{font-size:30px;font-weight:800;letter-spacing:-1px;margin-bottom:28px}.account-brand span{font-weight:400;margin-left:6px}
.account-card h1{font-family:'Quicksand',sans-serif;font-size:26px;line-height:1.2;margin:0 0 12px}.account-card p{line-height:1.6;color:#3f5a46}
.account-card label{display:block;margin:18px 0 6px;font-weight:600}.account-card input{width:100%;box-sizing:border-box;border:1px solid #bcc8c0;border-radius:8px;padding:13px;font:inherit;background:#fff;color:#013009}
.account-card .primary{width:100%;margin-top:22px;padding:14px}.account-message{min-height:24px;margin-top:16px;color:#923b2c!important}
.account-note{font-size:12px;margin-top:25px}.account-card button:disabled{opacity:.6}
#account-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 24px;background:#e7f8e9;border-bottom:1px solid #d5ded5;font-size:12px;color:#013009}
#account-toolbar .account-controls{display:flex;align-items:center;gap:12px}#cloud-state{white-space:nowrap}#cloud-state[data-state="error"],#cloud-state[data-state="conflict"]{color:#942f20;font-weight:700}
body[data-auth="ready"] #account-gate{display:none}#cloud-retry[hidden]{display:none}
@media(max-width:600px){.account-card{padding:25px}#account-toolbar{padding:9px 12px;flex-wrap:wrap}#account-person{max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-middle{display:none}}
@media(max-width:850px){
 #account-toolbar{flex-wrap:nowrap;gap:8px;padding:2px 8px 2px 14px;min-height:0}
 #account-person{flex:1 1 auto;min-width:0;max-width:none;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #account-toolbar .account-controls{flex:0 1 auto;min-width:0;gap:6px}
 #cloud-state{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:1.3}
 #account-toolbar button{flex-shrink:0;min-height:28px;min-width:0;padding:2px 8px;font-size:11px;white-space:nowrap}
 #account-toolbar:has(#cloud-state[data-state="error"],#cloud-state[data-state="conflict"]) #account-person{display:none}
}
#cloud-resolve[hidden]{display:none}
.account-credit{border-top:1px solid #e4e9e4;padding-top:18px;margin-top:22px!important;font-size:13px;color:#28463e!important}
.account-notice{background:#eef4ef;border:1px solid #cfdccf;border-radius:10px;padding:12px 14px;color:#013009!important;font-size:14px}
.account-hint{font-size:13px;margin:6px 0 0;line-height:1.5!important}.account-who{font-size:14px}
.account-card input[readonly]{background:#f3f5f1;color:#3b5550}
body[data-auth] #save-status{display:none}
/* === Kundesider i nettbutikken: gjestens verktøylinje på mobil === */
@media(max-width:600px){#account-toolbar:has(#account-login:not([hidden])) #cloud-state:not([data-state="error"]):not([data-state="conflict"]){display:none}#account-toolbar:has(#account-login:not([hidden])) #account-person{max-width:none}}
.account-card .account-note .quiet{padding:4px 2px;min-height:0;color:#013009;font-weight:600;text-decoration:underline}
/* === slutt: gjestens verktøylinje === */
