/* Public guest presentation roles; intentional hero/heading motifs and quiet functional surfaces. */
body.tws-shell[data-tws-guest="true"] { --tws-public-inset:var(--tws-space-5); }
body.tws-shell[data-tws-guest="true"] #main-body { background:var(--tws-bg); }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-homepage,.tws-template-website-design,.tws-template-website-care,.tws-template-ai-business-tools,.tws-template-products,.tws-template-domainregister) #main-body { padding-top:0; }
body.tws-shell[data-tws-guest="true"] #main-body > .container { width:100%; max-width:none; padding-inline:var(--tws-space-4); }
body.tws-shell[data-tws-guest="true"]:has(.tws-public-hero) #main-body > .container > .row { margin-inline:0; }
body.tws-shell[data-tws-guest="true"]:has(.tws-public-hero) #main-body .primary-content { padding-inline:0; }
body.tws-shell[data-tws-guest="true"] #main-body .tws-care-page { width:100%; margin-inline:0; }
body.tws-shell[data-tws-guest="true"] #main-body .tws-public-hero__copy { padding:var(--tws-space-12) var(--tws-public-inset); }
body.tws-shell[data-tws-guest="true"] #main-body :is(.tws-care-section,.tws-ai-section) { padding-inline:var(--tws-public-inset); }
@media(min-width:48rem) { body.tws-shell[data-tws-guest="true"] { --tws-public-inset:var(--tws-space-8); } }

/* Compact task hero: controls follow immediately; service marketing keeps its own density. */
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-public-hero { min-height:0; align-items:start; }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-public-hero__copy { padding-block:var(--tws-space-6); }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-public-hero__title { font-size:clamp(2.25rem,4vw,3rem); max-width:20ch; }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-choice-panel { padding-block:0; }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-choice-panel .tws-choice-list .tws-choice-row { min-height:0; padding-block:var(--tws-space-3); }
body.tws-shell[data-tws-guest="true"] #order-standard_cart > .tws-public-intro,
body.tws-shell[data-tws-guest="true"].tws-template-domainregister #main-body > .container .tws-public-intro { padding-block:var(--tws-space-5); background:none; }
body.tws-shell[data-tws-guest="true"] #order-standard_cart > .tws-public-intro::before,
body.tws-shell[data-tws-guest="true"].tws-template-domainregister #main-body .tws-public-intro::before { display:none; }
body.tws-shell[data-tws-guest="true"] #order-standard_cart > .tws-public-intro h2 { font-size:var(--tws-type-h2); }

/* Marketing secondary is an action; native quiet utilities remain neutral. */
body.tws-shell[data-tws-guest="true"] #main-body a.tws-button--secondary { border-color:var(--tws-action); background:transparent; color:var(--tws-text); }
body.tws-shell[data-tws-guest="true"] #main-body a.tws-button--secondary:hover { border-color:var(--tws-action-hover); background:var(--tws-action-subtle); }
body.tws-shell[data-tws-guest="true"] #main-body a.tws-button--secondary:disabled,
body.tws-shell[data-tws-guest="true"] #main-body a.tws-button--secondary[aria-disabled="true"] { opacity:.65; }

/* Normal actions share16px; explicit compact/default utilities retain their role. */
body.tws-shell[data-tws-guest="true"] #main-body :is(.tws-button,.btn-primary,.btn-success,.btn-lg,.btn-checkout,.btn-order-now) { font-size:1rem; }

/* Text links are identifiable at rest; navigation and button components remain distinct. */
body.tws-shell[data-tws-guest="true"] #main-body :is(p,li,dd,td,article,.tws-field-help,.tws-journey-services) a:not(.btn):not(.tws-button):not(.tws-choice-row):not(.page-link):not(.list-group-item) { text-decoration-line:underline; text-decoration-thickness:.0625rem; text-underline-offset:.2em; }

/* One high-visibility keyboard recipe, including native joined controls. */
body.tws-shell[data-tws-guest="true"] #main-body :is(.btn,.tws-button,input,select,textarea):focus { box-shadow:none!important; }
body.tws-shell[data-tws-guest="true"] #main-body :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline:.1875rem solid var(--tws-focus)!important; outline-offset:.1875rem; box-shadow:none!important; }
@media(forced-colors:active) { body.tws-shell[data-tws-guest="true"] #main-body :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline-color:Highlight!important; } }

/* One functional form panel; decorative nesting yields to spacing. */
body.tws-shell[data-tws-guest="true"].tws-template-contact #main-body form[action="contact.php"] { border:0; border-radius:0; background:none; padding-inline:0; }
body.tws-shell[data-tws-guest="true"].tws-template-contact #main-body .card:has(form[action="contact.php"]) { border-top-width:.0625rem; }
body.tws-shell[data-tws-guest="true"].tws-template-domaintransfer #order-standard_cart .cart-body { border:0; background:none; box-shadow:none; }
body.tws-shell[data-tws-guest="true"].tws-template-domaintransfer #frmDomainTransfer :is(.panel,.card) { border-top-width:.0625rem; }
body.tws-shell[data-tws-guest="true"].tws-template-domaintransfer #frmDomainTransfer :is(.well,.panel-body.card-body) { border:0; background:none; box-shadow:none; }
body.tws-shell[data-tws-guest="true"].tws-template-domaintransfer #main-body .tws-transfer-guide { border:0; background:var(--tws-surface-1); }
body.tws-shell[data-tws-guest="true"].tws-template-domaintransfer #main-body .tws-transfer-guide::before { display:none; }
body.tws-shell[data-tws-guest="true"].tws-template-announcements #main-body .tws-announcements-card .tws-public-intro { background:none; border:0; padding:0; }
body.tws-shell[data-tws-guest="true"].tws-template-announcements #main-body .tws-announcements-card .tws-public-intro::before { display:none; }

@media(max-width:47.999rem) {
 body.tws-shell[data-tws-guest="true"] #main-body form :is(button[type="submit"].btn-primary,input[type="submit"].btn-primary,#btnTransferDomain,#btnDomainSearch) { width:100%; max-width:100%; }
 body.tws-shell[data-tws-guest="true"] #main-body .input-group-append:has(>.btn-primary) { flex-basis:100%; margin-left:0; }
}

/* Reading title adapts; stored article content and760px paragraph measure are untouched. */
body.tws-shell[data-tws-guest="true"].tws-template-knowledgebasearticle #main-body h1 { font-size:clamp(2rem,3vw,2.5rem); line-height:1.2; overflow-wrap:anywhere; }

body.tws-shell[data-tws-guest="true"] .master-breadcrumb .breadcrumb { margin:0; padding-block:var(--tws-space-3); gap:var(--tws-space-2); flex-wrap:wrap; }
body.tws-shell[data-tws-guest="true"] .master-breadcrumb .breadcrumb-item + .breadcrumb-item { padding-left:0; }
body.tws-shell[data-tws-guest="true"] .master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { padding-right:var(--tws-space-2); }

/* Shared functional page title; service display, article and login/card roles stay separate. */
body.tws-shell[data-tws-guest="true"]:not(.tws-template-knowledgebasearticle):not(.tws-template-login):not(.tws-template-password-reset-container) #main-body :is(.tws-page-heading,.tws-public-intro--page h1) { font-size:clamp(2.25rem,4vw,3rem)!important; font-weight:700; line-height:1.15; }
@media(min-width:48rem) { body.tws-shell[data-tws-guest="true"]:not(.tws-template-knowledgebasearticle):not(.tws-template-login):not(.tws-template-password-reset-container) #main-body :is(.tws-page-heading,.tws-public-intro--page h1) { line-height:1.12; } }
body.tws-shell[data-tws-guest="true"]:is(.tws-template-products,.tws-template-domainregister) #main-body .tws-public-intro h2 { font-size:var(--tws-type-h2); font-weight:700; }
