.partner-app-body,
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.partner-app-body {
  min-height: 100vh;
  background: #F6F7FB;
  overflow-x: clip;
}

.partner-app-welcome {
  background: #0D1B2A;
}

.partner-app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.partner-app-card {
  width: min(100%, 460px);
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.12);
}

.partner-app-welcome-card {
  border-color: rgba(212, 160, 23, 0.55);
  text-align: center;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.partner-app-brand-icon,
.partner-app-login-icon {
  display: block;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.2);
}

.partner-app-brand-icon {
  margin: 0 auto 18px;
}

.partner-app-login-icon {
  margin: 0 auto 14px;
  border-radius: 18px;
}

.partner-app-start-actions {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.partner-app-start-actions[hidden] {
  display: none;
}

.partner-app-secondary {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  border: 2px solid #0D1B2A;
  background: #FFFFFF;
  color: #0D1B2A;
  text-decoration: none;
}

.partner-app-back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: #0D1B2A;
  font-weight: 900;
  text-decoration: none;
}

.partner-app-card h1 {
  margin: 14px 0 10px;
  color: #0D1B2A;
}

.partner-app-card p {
  color: #4B5563;
}

.partner-app-card h2 {
  margin: 0 0 8px;
  color: #0D1B2A;
  font-size: 21px;
}

.partner-app-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #FACC15;
  color: #111827;
  padding: 7px 12px;
  font-weight: 900;
}

.partner-app-primary {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.partner-app-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.partner-login-block,
.partner-register-block {
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
  background: #FFFFFF;
}

.partner-register-block {
  background: #F9FAFB;
}

.partner-app-register-link {
  min-height: 48px;
  border-radius: 13px;
  background: #0D1B2A;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  font-weight: 900;
}

.partner-app-form label {
  font-weight: 900;
  color: #0D1B2A;
}

.partner-app-form input {
  width: 100%;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
}

.partner-app-status {
  margin-top: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.partner-app-status[data-type="success"] {
  color: #15803D;
}

.partner-app-status[data-type="error"] {
  color: #B91C1C;
}

.partner-session-message {
  display: block;
  margin: 0 0 10px;
  color: #15803D;
}

.partner-session-card {
  display: grid;
  width: 100%;
  gap: 0;
}

.partner-session-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 0;
  white-space: normal;
  text-align: center;
}

.partner-auth-loading .app-dashboard,
.partner-auth-loading .app-bottom-nav {
  visibility: hidden;
}

.partner-logout-button {
  border: 0;
  border-radius: 999px;
  background: #B91C1C;
  color: #FFFFFF;
  min-height: 42px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.22);
}

.dashboard-app-body {
  padding-bottom: 86px;
}

.app-dashboard {
  width: min(100%, 760px);
  max-width: 100%;
  margin: 0 auto;
  padding: 18px;
  overflow-x: clip;
}

.app-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 2px 18px;
}

.app-dashboard-header h1 {
  margin: 14px 0 6px;
  color: #0D1B2A;
  font-size: 31px;
}

.app-dashboard-header p {
  margin: 0;
  color: #4B5563;
  font-weight: 700;
}

.restaurant-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #0D1B2A;
  color: #FACC15;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.18);
  flex: 0 0 auto;
}

.restaurant-main-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 35px rgba(13, 27, 42, 0.09);
}

.restaurant-logo-frame {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #6B7280;
  font-weight: 900;
}

.restaurant-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.restaurant-logo-frame span {
  display: inline-flex;
}

.restaurant-info h2 {
  margin: 2px 0 5px;
  color: #0D1B2A;
  font-size: 23px;
}

.restaurant-info {
  min-width: 0;
}

.restaurant-info p {
  margin: 0 0 12px;
  color: #4B5563;
  overflow-wrap: anywhere;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-chip {
  border-radius: 999px;
  background: #EEF2FF;
  color: #1D4ED8;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 13px;
}

.partner-install-panel {
  margin: 16px 0;
  border-color: #D4A017;
  background: linear-gradient(135deg, #FFFFFF, #FFF7D6);
}

.partner-install-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: #8A6A18;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.partner-install-panel h2 {
  margin: 0 0 6px;
  color: #0D1B2A;
  font-size: 22px;
}

.partner-install-panel p {
  margin: 0;
  color: #334155;
  font-weight: 800;
}

.partner-install-panel .install-app-button {
  background: #0D1B2A;
  color: #FACC15;
  min-width: 146px;
}

.app-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.app-stat-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px;
  min-height: 92px;
}

.app-stat-card span {
  display: block;
  color: #6B7280;
  font-size: 13px;
  font-weight: 900;
}

.app-stat-card strong {
  display: block;
  margin-top: 12px;
  color: #0D1B2A;
  font-size: 24px;
}

.online-menu-card {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.08);
}

.online-menu-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #EEF2FF;
  color: #1D4ED8;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.online-menu-card h2 {
  margin: 10px 0 6px;
  color: #0D1B2A;
  font-size: 23px;
}

.online-menu-card p {
  margin: 0;
  color: #4B5563;
  font-weight: 700;
}

.online-menu-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.online-menu-www {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #111827;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 900;
}

.online-menu-heading h2 {
  margin-top: 8px;
}

.online-menu-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 4px 0;
  text-align: center;
}

.online-menu-qr img {
  width: min(220px, 100%);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 8px;
}

.online-menu-qr figcaption {
  color: #4B5563;
  font-size: 13px;
  font-weight: 800;
}

.online-menu-url {
  border: 1px solid #D1D5DB;
  border-radius: 14px;
  background: #F9FAFB;
  color: #0D1B2A;
  padding: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.online-menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.online-menu-button {
  flex: 1 1 150px;
  min-height: 44px;
  border: 1px solid #D1D5DB;
  border-radius: 13px;
  background: #FFFFFF;
  color: #0D1B2A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.online-menu-button.primary {
  border-color: #0D1B2A;
  background: #0D1B2A;
  color: #FFFFFF;
}

.online-menu-button.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.online-menu-feedback {
  min-height: 20px;
  color: #15803D;
  font-size: 13px;
  font-weight: 900;
}

.app-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stripe-connect-home-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 15px 16px;
  border: 1px solid #0D1B2A;
  border-radius: 16px;
  background: #0D1B2A;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.16);
}

.stripe-connect-home-banner strong,
.stripe-connect-home-banner small {
  display: block;
  color: inherit;
}

.stripe-connect-home-banner strong {
  font-size: 15px;
  font-weight: 900;
}

.stripe-connect-home-banner small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.stripe-connect-home-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #FACC15;
  color: #0D1B2A;
  font-weight: 900;
}

.stripe-connect-home-banner[data-status="active"] {
  border-color: #15803D;
  background: #15803D;
}

.settings-account-card {
  margin-bottom: 16px;
}

.app-action-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 7px;
  min-height: 148px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 17px;
  box-shadow: 0 12px 26px rgba(13, 27, 42, 0.08);
}

.app-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #FACC15;
  font-size: 22px;
}

.app-action-card strong {
  color: #0D1B2A;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.app-action-card small {
  color: #6B7280;
  min-width: 0;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Dispositivi NFH */
.hardware-home-card{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;align-items:center;gap:20px;margin:0 0 20px;padding:18px 20px;border:1px solid #D7DEE8;border-radius:8px;background:#fff;color:#0D1B2A;text-decoration:none;box-shadow:0 12px 26px rgba(13,27,42,.08)}
.hardware-home-card:hover,.hardware-home-card:focus-visible{border-color:#FACC15;box-shadow:0 14px 30px rgba(13,27,42,.13)}
.hardware-home-copy{display:grid;gap:4px;min-width:0}
.hardware-home-kicker{color:#1E3A8A;font-size:12px;font-weight:900;text-transform:uppercase}
.hardware-home-copy strong{font-size:20px;line-height:1.2}
.hardware-home-copy small{color:#64748B;font-size:14px;font-weight:700;line-height:1.4}
.hardware-home-products{display:flex;align-items:center;justify-content:center;gap:8px;height:86px}
.hardware-home-products img{width:86px;height:82px;object-fit:contain;display:block}
.hardware-home-button{display:grid;place-items:center;min-height:48px;padding:10px 18px;border-radius:8px;background:#FACC15;color:#0D1B2A;font-size:15px;font-weight:900;text-align:center;white-space:nowrap}
.hardware-page{padding-bottom:118px}
.hardware-products{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:18px}
.hardware-product-card,.hardware-request-panel,.hardware-history-panel{background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 12px 26px rgba(13,27,42,.08)}
.hardware-product-card{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr);align-items:start;overflow:visible}
.hardware-request-panel,.hardware-history-panel{overflow:hidden}
.hardware-product-photo{position:sticky;top:18px;height:430px;background-repeat:no-repeat;background-position:center;background-size:contain;background-color:#fff;border-right:1px solid #E5E7EB;border-radius:8px 0 0 8px}
.hardware-product-photo-nb80{background-image:url("../images/nb80-product.png")}
.hardware-product-photo-kh80{background-image:url("../images/hs-kh80-product.png")}
.hardware-product-copy{display:grid;gap:10px;padding:18px}
.hardware-product-code,.hardware-eyebrow{color:#1E3A8A;font-size:12px;font-weight:900;text-transform:uppercase}
.hardware-product-copy h2,.hardware-section-head h2{margin:0;color:#0D1B2A;line-height:1.15}
.hardware-product-lead{min-height:48px;margin:0;color:#475569;font-size:15px;font-weight:700;line-height:1.45}
.hardware-price{margin:0;color:#E85D04;font-size:30px;font-weight:900}
.hardware-product-copy details{border-top:1px solid #E5E7EB;padding-top:10px}
.hardware-product-copy summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 14px;border:1px solid #CBD5E1;border-radius:8px;background:#0D1B2A;color:#fff;cursor:pointer;font-weight:900;list-style:none}
.hardware-product-copy summary::-webkit-details-marker{display:none}
.hardware-product-copy summary::after{content:"+";font-size:24px;line-height:1;color:#FACC15}
.hardware-product-copy details[open] summary::after{content:"−"}
.hardware-product-copy ul{margin:12px 0 0;padding-left:20px;color:#475569;line-height:1.55}
.hardware-connection-guide{display:grid;gap:8px;margin-top:14px;padding:14px;border:1px solid #D7E1EE;border-radius:8px;background:#F8FAFC;color:#334155}
.hardware-connection-guide h3{margin:0;color:#0D1B2A;font-size:17px}
.hardware-connection-guide p{margin:0;font-size:14px;line-height:1.5}
.hardware-guide-visual{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border:1px solid #D7E1EE;border-radius:8px;background:#fff}
.hardware-setup-steps{display:grid;gap:10px;margin:2px 0 0;padding-left:22px}
.hardware-setup-steps li{padding-left:3px;font-size:14px;line-height:1.5}
.hardware-connection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.hardware-connection-card{display:grid;gap:5px;padding:14px;border:2px solid #D7E1EE;border-radius:8px;background:#fff;color:#0D1B2A;text-decoration:none}
.hardware-connection-card:hover,.hardware-connection-card:focus-visible,.hardware-connection-card.is-active{border-color:#FACC15;box-shadow:0 0 0 3px rgba(250,204,21,.25)}
.hardware-connection-card strong{font-size:17px;color:#1E3A8A}
.hardware-connection-card span{font-size:13px;line-height:1.35;color:#475569}
@media(max-width:760px){.hardware-connection-cards{grid-template-columns:1fr}}
.hardware-address-example{display:grid;gap:8px;margin:12px 0 4px}
.hardware-address-example img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;border:2px solid #FACC15;border-radius:8px;background:#fff}
.hardware-address-example figcaption{padding:10px 12px;border-left:4px solid #FACC15;background:#FFF8D8;color:#0D1B2A;font-size:14px;font-weight:800;line-height:1.45}
.hardware-guide-note{padding-top:8px;border-top:1px solid #D7E1EE;color:#1E3A8A;font-weight:800}
.hardware-video-guide{display:grid;gap:14px;margin-top:16px;padding:16px;border-radius:8px;background:#0D1B2A;color:#fff}
.hardware-video-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}
.hardware-video-heading span{display:block;margin-bottom:4px;color:#FACC15;font-size:12px;font-weight:900}
.hardware-video-heading h3{margin:0;color:#fff}
.hardware-video-heading label{display:grid;gap:5px;min-width:170px;font-size:12px;font-weight:900}
.hardware-video-heading select{min-height:44px;padding:9px 10px;border:1px solid #64748B;border-radius:6px;background:#fff;color:#0D1B2A;font:inherit}
.hardware-video-guide video{display:block;width:min(100%,430px);max-height:720px;margin:auto;border-radius:6px;background:#000}
.hardware-primary{min-height:46px;border:0;border-radius:8px;background:#FACC15;color:#0D1B2A;padding:11px 16px;font:inherit;font-weight:900;cursor:pointer}
.hardware-primary:disabled{opacity:.55;cursor:wait}
.hardware-request-panel,.hardware-history-panel{padding:20px;margin-bottom:18px}
.hardware-section-head,.hardware-request-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.hardware-close{width:40px;height:40px;border:0;border-radius:50%;background:#0D1B2A;color:#fff;font-size:25px;cursor:pointer}
.hardware-request-note{margin:10px 0 18px;padding:12px;border-left:4px solid #FACC15;background:#FFF8D8;color:#475569;font-weight:800}
.hardware-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hardware-form-grid label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:900}
.hardware-form-grid input,.hardware-form-grid select,.hardware-form-grid textarea{width:100%;min-height:46px;border:1px solid #CBD5E1;border-radius:8px;background:#fff;color:#0D1B2A;padding:10px;font:inherit;box-sizing:border-box}
.hardware-form-grid textarea{resize:vertical}
.hardware-field-wide{grid-column:1/-1}
.hardware-cart-summary{margin:18px 0;padding:14px;border:1px solid #D6C29A;border-radius:8px;background:#FFFDF4}
.hardware-cart-summary>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0}
.hardware-cart-summary .hardware-total{margin-top:7px;border-top:1px solid #D6C29A;padding-top:14px;font-size:18px}
.hardware-customs-note{margin:10px 0 0;padding-top:10px;border-top:1px solid #D6C29A;color:#9A3412;font-size:13px;font-weight:800;line-height:1.4}
.hardware-confirm{display:flex;gap:9px;align-items:flex-start;margin:0 0 14px;color:#334155;font-weight:800}
.hardware-confirm input{width:auto;margin-top:3px}
.hardware-history{display:grid;gap:12px;margin-top:16px}
.hardware-request-card,.hardware-empty{border:1px solid #E5E7EB;border-radius:8px;background:#F8FAFC;padding:15px}
.hardware-request-card-head span,.hardware-expiry{display:block;color:#64748B;font-size:12px;font-weight:800}
.hardware-request-card-head h3{margin:4px 0 0;color:#0D1B2A}
.hardware-status{border-radius:999px;background:#E8F0FF;color:#1E3A8A;padding:7px 10px;font-size:12px;text-align:center}
.hardware-status[data-status="paid"],.hardware-status[data-status="preparing"],.hardware-status[data-status="shipped"],.hardware-status[data-status="delivered"]{background:#DCFCE7;color:#166534}
.hardware-status[data-status="rejected"],.hardware-status[data-status="cancelled"],.hardware-status[data-status="expired"]{background:#FEE2E2;color:#991B1B}
.hardware-request-data{margin:12px 0;color:#475569}
.hardware-request-data p{margin:6px 0;overflow-wrap:anywhere}
.hardware-expiry{margin-top:8px}
@media(max-width:760px){.hardware-home-card{grid-template-columns:minmax(0,1fr) 118px;gap:12px;padding:15px}.hardware-home-products{height:78px;gap:2px}.hardware-home-products img{width:58px;height:72px}.hardware-home-button{grid-column:1/-1;min-height:46px}.hardware-page .app-dashboard-header{padding-right:76px}.hardware-products,.hardware-form-grid,.hardware-product-card{grid-template-columns:1fr}.hardware-field-wide{grid-column:auto}.hardware-product-photo{position:static;height:300px;border-right:0;border-bottom:1px solid #E5E7EB;border-radius:8px 8px 0 0}.hardware-product-lead{min-height:0}.hardware-request-panel,.hardware-history-panel{padding:15px}.hardware-video-heading{align-items:stretch;flex-direction:column}.hardware-video-heading label{width:100%}}
@media(max-width:420px){.hardware-home-copy strong{font-size:17px}.hardware-home-copy small{font-size:13px}.hardware-product-photo{height:260px}.hardware-section-head,.hardware-request-card-head{align-items:stretch}.hardware-request-card-head{display:grid}.hardware-status{justify-self:start}.hardware-cart-summary>div{font-size:14px}}

.reviews-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.reviews-summary > div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.07);
}

.reviews-summary span,
.partner-review-header span,
.partner-review-reply span,
.partner-review-form-footer small {
  color: #6B7280;
  font-size: 12px;
  font-weight: 800;
}

.reviews-summary strong {
  color: #0D1B2A;
  font-size: 23px;
}

.partner-reviews-list {
  display: grid;
  gap: 12px;
}

.partner-review-card,
.partner-reviews-empty {
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.08);
}

.partner-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #E5E7EB;
}

.partner-review-header > div {
  display: grid;
  gap: 4px;
}

.partner-review-header strong {
  max-width: 50%;
  overflow-wrap: anywhere;
  color: #0D1B2A;
  text-align: right;
}

.partner-review-stars {
  color: #D4A017;
  font-size: 21px;
  line-height: 1;
}

.partner-review-comment {
  margin: 15px 0;
  color: #0D1B2A;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.partner-review-reply {
  padding: 14px;
  background: #F3F7FF;
  border-left: 4px solid #3567B7;
  border-radius: 8px;
}

.partner-review-reply p {
  margin: 6px 0;
  color: #0D1B2A;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.partner-review-form {
  display: grid;
  gap: 9px;
  padding-top: 3px;
}

.partner-review-form label {
  color: #0D1B2A;
  font-weight: 900;
}

.partner-review-form textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0D1B2A;
  font: inherit;
}

.partner-review-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-review-form-footer .btn {
  min-height: 44px;
}

.partner-reviews-empty {
  display: grid;
  gap: 6px;
  color: #6B7280;
  text-align: center;
}

.partner-reviews-empty strong {
  color: #0D1B2A;
}

.app-bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: auto;
  max-width: 760px;
  margin: 0 auto;
  transform: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  background: #0D1B2A;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 16px 38px rgba(13, 27, 42, 0.28);
  z-index: 30;
}

.app-bottom-nav a {
  color: #CBD5E1;
  text-decoration: none;
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 900;
  min-height: 50px;
  min-width: 0;
  border-radius: 16px;
  overflow-wrap: anywhere;
  text-align: center;
}

.app-bottom-nav a span {
  font-size: 18px;
  line-height: 1;
}

.app-bottom-nav a.active {
  background: #FACC15;
  color: #111827;
}

@media (max-width: 560px) {
  .dashboard-app-body {
    padding-bottom: calc(106px + env(safe-area-inset-bottom));
  }

  .app-dashboard {
    padding: 14px;
  }

  .app-dashboard-header h1 {
    font-size: 28px;
  }

  .restaurant-main-card {
    grid-template-columns: 74px 1fr;
    padding: 14px;
  }

  .restaurant-logo-frame {
    width: 74px;
    height: 74px;
  }

  .app-stats-grid {
    grid-template-columns: 1fr;
  }

  .app-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-action-card {
    min-height: 136px;
    padding: 14px;
  }

  .app-bottom-nav {
    gap: 4px;
    padding: 8px;
    border-radius: 22px;
  }

  .app-bottom-nav a {
    min-height: 50px;
    padding: 0;
    gap: 3px;
    border-radius: 16px;
    font-size: 11px;
    line-height: 1.1;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .app-bottom-nav a span {
    font-size: 18px;
  }

  .settings-app-body .app-dashboard {
    padding-top: 62px;
  }

  .settings-app-body .app-dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .settings-app-body .app-dashboard-header > div:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .settings-app-body .partner-app-badge {
    max-width: 220px;
    font-size: 16px;
    line-height: 1.15;
  }

  .settings-app-body .app-dashboard-header h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .settings-app-body .app-dashboard-header p {
    font-size: 16px;
    line-height: 1.35;
  }

  .settings-app-body .partner-logout-button {
    justify-self: end;
  }

  .settings-app-body .settings-account-card {
    align-items: start;
  }

  .settings-app-body .restaurant-info h2 {
    font-size: 22px;
  }

  .settings-app-body .restaurant-info p {
    font-size: 15px;
    line-height: 1.3;
  }

  .settings-app-body .app-action-card strong {
    font-size: 17px;
    overflow-wrap: normal;
  }

  .settings-app-body .app-action-card small {
    font-size: 13px;
    overflow-wrap: normal;
  }

  .compact-partner-page .app-dashboard {
    padding-top: 62px;
  }

  .compact-partner-page .app-dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .compact-partner-page .app-dashboard-header > div:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .compact-partner-page .app-dashboard-header h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .compact-partner-page .app-dashboard-header p {
    font-size: 16px;
    line-height: 1.35;
  }

  .compact-partner-page .partner-logout-button {
    justify-self: end;
  }

  .removed-orders-app-body .restaurant-main-card {
    display: block;
  }

  .removed-orders-app-body .admin-request-head {
    display: grid;
    gap: 10px;
  }

  .reviews-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviews-summary > div {
    min-height: 82px;
    padding: 10px;
  }

  .reviews-summary strong {
    font-size: 19px;
  }

  .partner-review-header {
    display: grid;
  }

  .partner-review-header strong {
    max-width: none;
    text-align: left;
  }

  .partner-review-form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .app-bottom-nav a {
    font-size: 9px;
  }

  .app-bottom-nav a span {
    font-size: 17px;
  }

  .settings-app-body .app-action-card {
    padding: 12px;
  }
}
.hardware-page-language{margin-left:auto}.hardware-page-language [data-nfh-language-picker] select{min-width:74px}
