/* Integration additions. Existing storefront and Quick Order styles stay in control. */
.commerce-realm-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;min-width:0}
.commerce-realm-tools a{display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;border:1px solid var(--line,#d8e2dc);border-radius:8px;text-decoration:none;color:inherit}
.commerce-realm-tools a[aria-current=page]{border-color:#087a45;background:#eaf6ee;color:#087a45;font-weight:700}
.commerce-account-name{font-size:12px;max-width:180px;overflow-wrap:anywhere}
.commerce-main-context{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;margin-bottom:12px}
.commerce-main-admin{background:transparent;margin:0;min-width:0}
.commerce-main-admin .v14-layout{display:block;max-width:100%;margin:0;padding:0}
.commerce-main-admin .v14-sidebar{position:static;width:auto;border:0;padding:0;background:transparent}
.commerce-main-admin #v14-nav{display:flex;flex-direction:row;gap:6px;overflow-x:auto;padding-bottom:10px}
.commerce-main-admin #v14-nav button{flex:none;padding:8px 10px;font-size:13px}
.commerce-main-admin .v14-nav-heading,.commerce-main-admin .v14-sidebar-note,.commerce-main-admin .v14-legacy-link{display:none}
.commerce-main-admin #v14-main{padding:0;max-width:100%;min-width:0}
.commerce-main-admin .v14-page-heading h1{font-size:20px}
.commerce-price-import{margin-top:16px}.commerce-price-import form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.commerce-price-import label{display:flex;flex-direction:column;gap:6px;font-size:13px}.commerce-price-import input{min-height:42px;min-width:0;width:100%;font:inherit}
.commerce-price-import [role=status],.commerce-price-import .commerce-price-reason{grid-column:1/-1}
.commerce-draft-state{font-size:12px;line-height:1.4;padding:6px 0;overflow-wrap:anywhere}
@media(max-width:600px){.commerce-realm-tools{width:100%;justify-content:center}.commerce-realm-tools a{min-height:44px}.commerce-price-import form{grid-template-columns:1fr}.commerce-main-admin .v14-page-heading h1{font-size:18px}.commerce-main-admin input,.commerce-main-admin select{font-size:16px}}

.commerce-main-admin[data-integration-view]:not([data-integration-view=""])>.commerce-main-context{display:none}

.main-head .commerce-realm-tools{flex:0 0 auto;gap:0}.main-head .commerce-realm-tools select{width:110px;max-width:110px;min-height:40px;border:1px solid #d8e2dc;border-radius:8px;background:#fff;padding:6px;font-size:13px}.main-head .commerce-account-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.commerce-realm-tools select{min-height:44px;padding:6px;border:1px solid #d8e2dc;border-radius:8px;font:inherit;max-width:100%}
@media(max-width:700px){.main-head .commerce-realm-tools{width:auto;justify-content:initial}.main-head .commerce-realm-tools select{width:102px;max-width:102px;min-height:44px;font-size:16px}}

.commerce-draft-dialog{max-height:85dvh;overflow:auto}.commerce-draft-dialog ul{max-height:35dvh;overflow:auto;text-align:left;font-size:13px}.commerce-draft-dialog button{margin:4px}
.commerce-realm-tools .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

@media(max-width:1100px){.main-head .commerce-realm-tools{gap:6px;min-width:0}.main-head .commerce-account-name{position:static;width:auto;height:auto;clip-path:none;min-width:0;max-width:106px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}}

.commerce-realm-tools{flex-wrap:wrap}.commerce-gift-link{display:inline-flex;align-items:center;min-height:36px;padding:5px 10px;border:1px solid #b4a17c;border-radius:7px;color:var(--primary,#075f3a);font-size:12px;text-decoration:none;white-space:nowrap}
