/* The owner site's public pages carry their own styles (the addresses contract, "The owner site on the same host"): nothing here comes from Frappe's website bundles.
   Colours come only from the names in tokens.css; the typefaces from fonts.css. Plain, generous, one column: it reads the same on a phone as on a desk. */
:root {
	--suite-heading-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--suite-text-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.suite-public { margin: 0; min-height: 100vh; color: var(--rylix-text); background: var(--rylix-page); font-family: var(--suite-text-font); font-size: 1rem; line-height: 1.6; }
.suite-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rylix-soft); }
.suite-brand { display: inline-flex; align-items: center; gap: 0.75rem; line-height: 0; text-decoration: none; }
.suite-brand-name { font-family: var(--suite-heading-font); font-weight: 700; font-size: 1.375rem; line-height: 1; color: var(--rylix-text); }
.suite-logo { display: block; height: 2.25rem; width: auto; max-width: 100%; }
.suite-main { padding: 1.5rem; }
.suite-card { max-width: 36rem; margin: 2rem auto 3rem; }
.suite-card.narrow { max-width: 32rem; margin-top: 3rem; }
h1 { margin: 0 0 1rem; font-family: var(--suite-heading-font); font-weight: 700; font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--rylix-heading); }
.suite-lead { margin: 0 0 1rem; font-family: var(--suite-heading-font); font-weight: 500; font-size: 1.25rem; line-height: 1.4; }
.suite-card p { margin: 0 0 1rem; }
a { color: var(--rylix-link); text-underline-offset: 0.15em; }
a:focus-visible, .btn:focus-visible, .form-control:focus-visible { outline: 3px solid var(--rylix-focus); outline-offset: 2px; }
.form-group { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: 0.375rem; font-weight: 600; }
.form-control { display: block; width: 100%; min-height: 2.75rem; padding: 0.5rem 0.75rem; font: inherit; color: var(--rylix-field-text); background: var(--rylix-field); border: 1px solid var(--rylix-field-line); border-radius: 0.5rem; }
.text-muted { color: var(--rylix-text-muted); }
small.text-muted { display: block; margin-top: 0.375rem; font-size: 0.875rem; }
.suite-address { margin: 0.5rem 0 0; padding: 0.625rem 0.75rem; color: var(--rylix-soft-text); background: var(--rylix-soft); border-radius: 0.5rem; word-break: break-all; direction: ltr; unicode-bidi: isolate; }
.btn { display: inline-block; min-height: 2.75rem; padding: 0.625rem 1.25rem; font: inherit; font-family: var(--suite-heading-font); font-weight: 600; border: 1px solid transparent; border-radius: 0.5rem; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { color: var(--rylix-button-text); background: var(--rylix-button); }
.btn-primary:hover { background: var(--rylix-button-hover); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.suite-actions { margin: 1.5rem 0 0; }
.mt-3 { margin-top: 1rem; }
.suite-hidden-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 30rem) {
	.suite-header { padding: 1rem; }
	.suite-main { padding: 1rem; }
	.suite-card, .suite-card.narrow { margin-top: 1.5rem; }
	h1 { font-size: 1.625rem; }
	.btn { display: block; width: 100%; }
}

/* The upgrade page (T101): one column, sections, and tiles to choose a plan. Colours only from the names in tokens.css; every control is at least 44 pixels (2.75rem) high. */
[hidden] { display: none !important; }
.suite-card.wide { max-width: 44rem; }
.suite-section { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--rylix-soft); }
h2 { margin: 0 0 0.75rem; font-family: var(--suite-heading-font); font-weight: 700; font-size: 1.375rem; line-height: 1.3; color: var(--rylix-heading); }
h3 { margin: 1.5rem 0 0.5rem; font-family: var(--suite-heading-font); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--rylix-heading); }
.suite-status { padding: 0.75rem 1rem; color: var(--rylix-soft-text); background: var(--rylix-soft); border-radius: 0.5rem; }
.suite-pre { white-space: pre-line; overflow-wrap: anywhere; }
.suite-ltr { direction: ltr; unicode-bidi: isolate; }
.btn-secondary { color: var(--rylix-heading); background: var(--rylix-page); border-color: var(--rylix-heading); }
.btn-secondary:hover { background: var(--rylix-soft); }
.suite-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.suite-row { margin: 0 0 0.75rem; padding: 0.75rem 1rem; background: var(--rylix-field); border: 1px solid var(--rylix-field-line); border-radius: 0.5rem; }
.suite-row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.suite-badge { padding: 0.125rem 0.625rem; font-size: 0.875rem; font-weight: 600; color: var(--rylix-soft-text); background: var(--rylix-soft); border-radius: 1rem; }
.suite-badge-due { color: var(--rylix-button-text); background: var(--rylix-button); }
.suite-tiles { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 0 0 1rem; }
.suite-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-height: 2.75rem; padding: 0.75rem 1rem; font: inherit; text-align: start; color: var(--rylix-field-text); background: var(--rylix-field); border: 1px solid var(--rylix-field-line); border-radius: 0.5rem; cursor: pointer; }
.suite-tile:focus-visible { outline: 3px solid var(--rylix-focus); outline-offset: 2px; }
.suite-tile[aria-pressed="true"] { background: var(--rylix-soft); color: var(--rylix-soft-text); border: 2px solid var(--rylix-heading); padding: calc(0.75rem - 1px) calc(1rem - 1px); }
.suite-tile[disabled] { cursor: default; opacity: 0.75; }
.suite-tile-title { font-family: var(--suite-heading-font); font-weight: 700; }
.suite-tile-price, .suite-tile-parts, .suite-tile-reason { font-size: 0.9375rem; }
@media (min-width: 40rem) {
	.suite-tiles { grid-template-columns: 1fr 1fr; }
}

/* The one sign-in page (T167): the same one column and the same 44-pixel controls as the other pages; colours only from tokens.css. */
.suite-signin-actions { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.25rem 0 0; }
.suite-signin-actions .btn { display: block; width: 100%; }
.suite-signin-message { min-height: 1.6rem; margin: 0 0 0.5rem; }
.suite-signin .form-control[readonly] { color: var(--rylix-soft-text); background: var(--rylix-soft); border-color: var(--rylix-soft); }
.suite-signin .form-control[dir="ltr"] { text-align: start; }
@media (min-width: 40rem) {
	.suite-signin-actions { flex-direction: row-reverse; }
	.suite-signin-actions .btn { width: auto; flex: 1 1 0; }
}
