/* Shared form vocabulary. Native date, select and file pickers remain available. */
:root{--eo-field-bg:#1b211c;--eo-field-border:#7c8678;--eo-field-text:#f2efe7;--eo-field-muted:#bdc4b8;--eo-field-gap:12px;--eo-field-radius:10px}
body :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]):not([type=color]):not([type=image]):not([type=file]),select,textarea,.percent-inputs output),html.diary-embedded body #diary-form>:is(input:not([type=hidden]),textarea),body #diary-form>:is(input:not([type=hidden]),textarea){
 box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--eo-field-current-border,var(--eo-field-border));border-radius:var(--eo-field-radius);background:var(--eo-field-current-bg,var(--eo-field-bg));color:var(--eo-field-current-text,var(--eo-field-text));font-family:inherit;font-size:16px;font-weight:400;line-height:22px;letter-spacing:normal;box-shadow:none;outline-offset:2px;
}
body textarea{min-height:112px;resize:vertical}
body :is(input,textarea)::placeholder{color:var(--eo-field-muted);opacity:1}
body :is(input,select,textarea):focus{--eo-field-current-border:var(--eo-green);border-color:var(--eo-green);outline:2px solid var(--eo-green);outline-offset:2px;box-shadow:none}
body :is(input,select,textarea)[aria-invalid=true],body :is(input,select,textarea):user-invalid{--eo-field-current-border:#f3a89a;border-color:#f3a89a;outline-color:#f3a89a}
body :is(input,select,textarea):disabled{opacity:.65;cursor:not-allowed}
body :is(input[readonly],textarea[readonly],.percent-inputs output){--eo-field-current-bg:#30372d;--eo-field-current-text:#dce5d1;background:#30372d;color:#dce5d1}
body .percent-inputs output{--eo-field-current-text:var(--eo-green);display:flex;align-items:center;color:var(--eo-green)}
body input[type=file]{max-width:100%;font-family:inherit;font-size:16px;color:var(--eo-field-muted)}
body input[type=file]::file-selector-button{min-height:44px;margin-right:8px;padding:10px 12px;border:1px solid var(--eo-green);border-radius:10px;background:#2c3028;color:var(--eo-green);font:inherit;cursor:pointer}
body :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0;accent-color:var(--eo-green);vertical-align:middle}
body .form-group{min-width:0;margin-bottom:var(--eo-field-gap)}
body :is(.form-group>label,.diary-panel label,.percent-inputs label,.forum-reply-form>label,form>label:has(>.form-control)){
 display:block;min-height:0;margin:0 0 6px;font-size:14px;font-weight:600;line-height:20px;color:var(--eo-field-text);
}
body label>.form-control{margin-top:6px}
body form>label:has(>.form-control){margin-bottom:var(--eo-field-gap)}
body .diary-panel form>label:not(:first-child){margin-top:var(--eo-field-gap)}
body .diary-panel .diary-compose-actions{margin-top:var(--eo-field-gap)}
body :is(.forum-form-row,.diary-search-fields,.percent-inputs){gap:var(--eo-field-gap)}
body :is(.form-group>small,.form-group>.small,.diary-muted,.forum-form-row small){display:block;font-size:13px;line-height:1.4;color:var(--eo-field-muted)}
body .form-group>small{margin-top:6px}
body label:has(>input:is([type=radio],[type=checkbox])){display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.4}
body .diary-photo-fields{margin-top:var(--eo-field-gap)}
html.diary-embedded body textarea#note-body{min-height:80px;height:80px}
html.diary-embedded body .diary-panel label{margin-top:8px}
html.diary-embedded body .diary-panel .diary-compose-actions{margin-top:10px}
html.diary-embedded body .percent-inputs label{font-size:14px;white-space:normal}
@media(max-width:430px){body .forum-form-row{grid-template-columns:1fr}body .diary-search-fields{grid-template-columns:1fr}}

/* Align all three calculator fields even when a label wraps. */
body .percent-inputs{align-items:end}

/* Compact, consistent visibility and source-status descriptions. */
body .eo-visibility-hint{margin:6px 0 12px;font-size:14px;line-height:1.4;color:#dce5d1}
body .eo-visibility-label{color:#dce5d1;font-weight:600}
body .framework-status{margin:12px 0;padding:12px;border:1px solid #7c8678;border-radius:10px;background:#242c24;color:#f2efe7;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
