/* Existing Tailwind views: readable navigation and controls at narrow widths. */
body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) {background:#fff!important;color:#233a32;position:relative;top:auto;border-color:#dce5df}
body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) > div > .flex {height:auto;min-height:64px;gap:12px;flex-wrap:wrap;padding-block:12px}
body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) > div > .flex > .flex {max-width:100%;min-width:0;gap:6px}
body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) a {flex-shrink:0;white-space:nowrap;color:#36584f;min-height:44px;display:inline-flex;align-items:center}
body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) > div > .flex > .flex:last-child {flex-wrap:wrap}
body.cif-tailwind-page :is(.bg-gray-700,.bg-gray-800,.bg-gray-900,.bg-black,.bg-black\/30,.bg-gray-900\/50) {background:#eef3f1;color:#233a32;border-color:#dce5df}
body.cif-tailwind-page .gold-bg {background:#176b5e;color:#fff}
body.cif-tailwind-page :is(.text-green-400,.text-green-500) {color:#246842}
body.cif-tailwind-page :is(.text-red-400,.text-red-500) {color:#ad3737}
body.cif-tailwind-page :is(.text-yellow-400,.text-yellow-500) {color:#775d21}
body.cif-tailwind-page :is(.flex,.grid) > * {min-width:0}
body.cif-tailwind-page .flex:has(>input) {flex-wrap:wrap;gap:12px}
body.cif-tailwind-page .flex:has(>input) > * {margin-left:0;margin-right:0}
body.cif-tailwind-page .flex:has(>input) > input {flex:1 1 180px;width:180px;min-width:0}
body.cif-tailwind-page .flex:has(>input) > button {flex-shrink:0;white-space:nowrap}
@media(max-width:700px){
 body.cif-tailwind-page > nav:not(.eco-internal-nav):not(.cif-sidebar) > div > .flex > .flex:last-child {flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
 body.cif-tailwind-page :is(.flex.items-start.justify-between,.flex.items-center.justify-between) {flex-wrap:wrap;gap:12px}
 body.cif-tailwind-page .flex.items-start.justify-between > .flex {margin-left:0;flex-wrap:wrap;gap:8px}
 body.cif-tailwind-page .flex:has(>input) > input {flex-basis:100%;width:100%}
 body.cif-tailwind-page .flex.space-x-4 {flex-wrap:wrap;gap:12px}
 body.cif-tailwind-page .flex.space-x-4 > * {margin-left:0;margin-right:0}
}

body.cif-tailwind-page .flex:has(>.cif-auth-field) {flex-wrap:wrap;gap:12px;align-items:end}
body.cif-tailwind-page .flex:has(>.cif-auth-field)>* {margin-left:0;margin-right:0}
body.cif-tailwind-page .cif-auth-field {display:grid;gap:6px;flex:1 1 180px;min-width:0;font-size:13px;color:#36584f}
body.cif-tailwind-page .cif-auth-field input {width:100%;min-width:0}
body.cif-tailwind-page .flex:has(>.cif-auth-field)>button {flex-shrink:0;white-space:nowrap}
@media(max-width:700px){body.cif-tailwind-page .cif-auth-field {flex-basis:100%}}

body.cif-tailwind-page :is(.strength-medium,.tag-promoted) {color:#725719}
body.cif-tailwind-page .tag-promoted {background:#f5edda;border-color:#d6c69d}
body.cif-tailwind-page .tag-decision {color:#275f96}
body.cif-tailwind-page .tag-dislike {color:#a83838}
body.cif-tailwind-page .tag-strategy {color:#246842}
@media(max-width:700px){
 body.cif-tailwind-page #cif-lang-bar {position:static!important;width:max-content;max-width:calc(100% - 32px);margin:16px 16px 24px auto;box-shadow:none!important}
}
