
.syadesk-client-document,
html.syadesk-client-document body.syadesk-client-standalone {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #f7f8fa;
  color: #151923;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color-scheme: light;
}

.syadesk-client-page {
  --bg: #f7f8fa;
  --paper: #fff;
  --panel: #f0f3f6;
  --line: rgba(21, 25, 35, .11);
  --text: #151923;
  --muted: #5f6b7a;
  --accent: #0b958d;
  --danger: #c84443;
  min-height: 100svh;
  padding: 0 20px 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), transparent 280px), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.syadesk-client-page *, .syadesk-client-page *::before, .syadesk-client-page *::after { box-sizing: border-box; }
.syadesk-client-shell { width: min(1120px, 100%); margin: 0 auto; }
.syadesk-client-shell h1, .syadesk-client-shell h2, .syadesk-client-shell h3 { margin: 0; color: var(--text); font-family: inherit; font-weight: 800; line-height: 1.2; letter-spacing: 0; }
.syadesk-client-shell h1 { font-size: 30px; }
.syadesk-client-shell h2 { font-size: 20px; margin-bottom: 16px; }
.syadesk-client-shell h3 { font-size: 16px; }
.syadesk-client-shell p { margin: 8px 0; overflow-wrap: anywhere; line-height: 1.5; }
.syadesk-client-shell a { color: inherit; text-decoration: none; }
.syadesk-client-shell a:hover { color: var(--accent); }

.syadesk-client-shell .portal-header { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.syadesk-client-shell .portal-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 18px; font-weight: 800; }
.syadesk-client-shell .portal-brand img { display: block; width: 34px; height: 34px; object-fit: contain; }
.syadesk-client-shell .portal-brand span { overflow-wrap: anywhere; }
.syadesk-client-shell .portal-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.syadesk-client-shell .portal-language { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.syadesk-client-shell .portal-language button { min-width: 34px; min-height: 30px; padding: 0 6px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.syadesk-client-shell .portal-language button[aria-pressed="true"] { background: var(--text); color: #fff; }

.syadesk-client-shell .portal-card { margin: 20px 0; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 18px 55px rgba(21,25,35,.08); }
.syadesk-client-shell #login { width: min(440px, 100%); margin: clamp(32px, 7vh, 72px) auto 0; }
.syadesk-client-shell .portal-intro { margin: 8px 0 24px; color: var(--muted); }
.syadesk-client-shell .portal-card article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.syadesk-client-shell .portal-card article:last-child { border-bottom: 0; }
.syadesk-client-shell label { display: block; margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 700; }
.syadesk-client-shell input, .syadesk-client-shell select, .syadesk-client-shell textarea, .syadesk-client-shell button { max-width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--text); font: inherit; line-height: 1.5; box-shadow: none; }
.syadesk-client-shell input, .syadesk-client-shell textarea, .syadesk-client-shell label select { display: block; width: 100%; margin-top: 7px; font-weight: 400; }
.syadesk-client-shell input::placeholder { color: var(--muted); opacity: .75; }
.syadesk-client-shell #business { text-transform: uppercase; }
.syadesk-client-shell textarea { min-height: 130px; resize: vertical; }
.syadesk-client-shell .portal-field-help { margin: -8px 0 20px; color: var(--muted); font-size: 12px; }
.syadesk-client-shell button { cursor: pointer; background: var(--accent); color: #fff; font-weight: 750; transition: background 160ms ease; }
.syadesk-client-shell button:hover { background: #087d75; }
.syadesk-client-shell #login button[type="submit"] { width: 100%; }
.syadesk-client-shell .portal-code-label { margin-bottom: 0; }
.syadesk-client-shell .portal-code-field { display: flex; align-items: stretch; gap: 8px; margin: 7px 0 14px; }
.syadesk-client-shell .portal-code-field input { flex: 1; min-width: 0; margin-top: 0; }
.syadesk-client-shell .portal-code-toggle { flex: 0 0 auto; min-width: 80px; background: var(--panel); color: var(--text); font-size: 14px; }
.syadesk-client-shell .portal-code-toggle:hover { background: #e3e9ee; }
.syadesk-client-shell button:disabled { opacity: .62; cursor: wait; }
.syadesk-client-shell input:focus, .syadesk-client-shell select:focus, .syadesk-client-shell textarea:focus, .syadesk-client-shell button:focus-visible, .syadesk-client-shell a:focus-visible { outline: 3px solid #68ccc4; outline-offset: 2px; }
.syadesk-client-shell .portal-error { margin: 0 0 20px; padding: 10px 12px; border-left: 3px solid var(--danger); border-radius: 4px; background: rgba(200,68,67,.08); color: #8f2726; }
.syadesk-client-shell .portal-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 16px; }
.syadesk-client-shell .portal-toolbar strong { margin-right: auto; overflow-wrap: anywhere; }
.syadesk-client-shell #logout { background: var(--panel); color: var(--text); }

@media (max-width: 480px) {
  .syadesk-client-page { padding: 0 16px 32px; }
  .syadesk-client-shell .portal-navigation { gap: 12px; }
  .syadesk-client-shell .portal-header { gap: 12px; }
  .syadesk-client-shell .portal-home { display: none; }
  .syadesk-client-shell .portal-card { padding: 20px; }
  .syadesk-client-shell h1 { font-size: 26px; }
}
