:root { color-scheme: light; --primary:#34665f; --secondary:#193e43; --accent:#e7b64c; --primary-fg:#fff; --body-fg:#1d3d41; --body-bg:#f4f7f3; --body-quiet-color:#5c706d; --body-loud-color:#193e43; --link-fg:#276b60; --link-hover-color:#17453e; --link-selected-fg:#193e43; --hairline-color:#dce7df; --border-color:#d4e2d8; --darkened-bg:#edf4ef; --selected-bg:#e7f1ea; --button-bg:#24594f; --button-hover-bg:#193f38; --default-button-bg:#24594f; --default-button-hover-bg:#193f38; --close-button-bg:#647c75; --delete-button-bg:#a84242; }
* { box-sizing:border-box; }
body { background:#f4f7f3; color:#1d3d41; font-family:Mulish,Arial,sans-serif; font-size:14px; line-height:1.55; }
a { color:#276b60; } a:hover { color:#17453e; }
#header { min-height:78px; padding:14px max(24px,calc((100vw - 1320px)/2)); background:#fff; color:#193e43; border-bottom:1px solid #dde8df; gap:24px; }
.fde-brand { display:flex; gap:11px; align-items:center; color:#193e43!important; text-decoration:none; font:700 15px Poppins,Arial,sans-serif; line-height:1.2; }
.fde-brand small { display:block; margin-top:3px; font:600 11px Mulish,Arial,sans-serif; color:#71857e; }
.fde-brand-mark { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:#e3f0e8; color:#27584f; font-size:23px; position:relative; }
.fde-brand-mark span { position:absolute; top:1px; right:4px; color:#d6a73e; font-size:11px; }
#user-tools { color:#627872; font:600 12px Mulish,Arial,sans-serif; text-transform:none; letter-spacing:0; line-height:1.7; }
#user-tools a { color:#275f54; border:0; } #user-tools form button { color:#275f54; }
div.breadcrumbs { background:#ecf3ed; color:#627d71; padding:12px max(24px,calc((100vw - 1320px)/2)); }
div.breadcrumbs a { color:#315e55; }
#content { max-width:1370px; margin:0 auto; padding:38px 25px 70px; }
#content-main { float:none; width:100%; } #content h1 { color:#183d40; font-family:Poppins,Arial,sans-serif; font-weight:600; letter-spacing:-.035em; }
.fde-home { max-width:1240px; margin:0 auto; }
.fde-hero { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:38px 42px; border:1px solid #dbe9dd; border-radius:24px; background:linear-gradient(110deg,#e0f0e5,#f2f6e7); }
.fde-eyebrow { color:#a27823; font:800 10px Mulish,Arial,sans-serif; letter-spacing:.15em; }
.fde-hero h1 { margin:8px 0 7px!important; font-size:clamp(28px,4vw,40px)!important; }
.fde-hero p { max-width:590px; margin:0; color:#526c65; font-size:15px; }
.fde-primary,.fde-primary:visited { flex-shrink:0; display:inline-flex; padding:13px 20px; border-radius:999px; background:#efc55e; color:#193e43; text-decoration:none; font-weight:800; }
.fde-primary:hover { background:#e3b749; color:#193e43; }
.fde-section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:44px 0 18px; }
.fde-section-heading h2 { color:#193e43; margin:5px 0 0; font:600 24px Poppins,Arial,sans-serif; letter-spacing:-.035em; }
.fde-section-heading>a,.fde-footer-links { font-weight:700; font-size:13px; }
.fde-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.fde-card { display:flex; flex-direction:column; min-height:245px; padding:26px; border:1px solid #dfe9e1; border-radius:20px; background:#fff; box-shadow:0 9px 25px #204b3d09; }
.fde-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:14px; font-size:24px; font-weight:700; }
.fde-icon-green { background:#e1f1e7; color:#3c7a69; }.fde-icon-peach { background:#fcece4; color:#b6654f; }.fde-icon-gold { background:#faf0d7; color:#aa7b20; }
.fde-card h3 { margin:18px 0 7px; color:#193e43; font:600 18px Poppins,Arial,sans-serif; }
.fde-card p { margin:0 0 20px; color:#61736e; line-height:1.55; flex:1; }
.fde-card-actions { display:flex; flex-wrap:wrap; gap:15px; align-items:center; font-weight:700; font-size:13px; }
.fde-action { text-decoration:none; }
.fde-note { margin-top:23px; padding:20px 24px; border:1px solid #ebdfc1; border-radius:16px; background:#fff9ec; color:#665a3a; }
.fde-note strong { color:#735c2d; }.fde-note p { margin:6px 0 0; }
.fde-footer-links { display:flex; gap:12px; margin-top:24px; color:#93a59c; }
.fde-form-intro { max-width:850px; margin:4px 0 28px; }.fde-form-intro h1 { margin:6px 0!important; font-size:30px!important; }.fde-form-intro p { color:#60766f; font-size:15px; margin:0; }
form#article_form, form#user_form, form#author_form { max-width:1050px; }
.module { border-radius:16px; overflow:hidden; background:#fff; border:1px solid #e0eae2; }
fieldset.module { margin-bottom:20px; padding-bottom:14px; box-shadow:0 8px 24px #204b3d08; }
fieldset.module h2,fieldset.module h2 a { padding:17px 24px; background:#edf5ef; color:#214a43; font:700 16px Poppins,Arial,sans-serif; text-transform:none; }
fieldset.module .description { padding:13px 24px 0; color:#657c72; font-size:13px; }
.form-row { padding:17px 24px; border-bottom:1px solid #edf2ee; }
.form-row:last-child { border-bottom:0; }
.aligned .form-row>div:not(.checkbox-row),.aligned .form-row .flex-container:not(.checkbox-row) { display:flex; flex-direction:column; align-items:stretch; gap:7px; }
.aligned label { width:auto; padding:0; color:#294c45; font-weight:800; }
.aligned .form-row .help,.aligned .form-row div.help { margin:4px 0 0; padding:0; color:#667e75; line-height:1.5; }
.aligned input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),.aligned textarea,.aligned select { max-width:100%; border:1px solid #cbdcd0; border-radius:9px; padding:10px 12px; background:#fff; color:#203f3b; font:14px Mulish,Arial,sans-serif; }
.aligned input[type=text],.aligned input[type=email],.aligned input[type=password],.aligned textarea { width:min(100%,800px); }
.aligned textarea#id_body { min-height:280px; line-height:1.65; }
.aligned input:focus,.aligned textarea:focus,.aligned select:focus { outline:2px solid #76a999; outline-offset:1px; }
.aligned .checkbox-row { display:flex; align-items:center; gap:10px; }.aligned .checkbox-row label { padding:0; }
.related-widget-wrapper { display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.submit-row { max-width:1050px; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; padding:17px; border:1px solid #e0eae2; border-radius:14px; background:#fff; }
.submit-row input,.button,input[type=submit],.object-tools a { border-radius:9px; font-family:Mulish,Arial,sans-serif; font-weight:800; }
.submit-row input { margin:0; padding:11px 16px; height:auto; }.submit-row p.deletelink-box { margin-right:auto; }
.fde-status { display:inline-block; border-radius:999px; padding:4px 9px; font-size:11px; font-weight:800; white-space:nowrap; }.fde-draft { background:#f0eee8; color:#675e4c; }.fde-scheduled { background:#fff0cf; color:#795900; }.fde-live { background:#ddf2e3; color:#266641; }
#changelist { background:transparent; border:0; } #changelist-form .results { border:1px solid #dce7df; border-radius:14px; background:#fff; overflow-x:auto; } #result_list { min-width:650px; } #result_list thead th { background:#edf5ef; color:#31594e; } #result_list td,#result_list th { padding:13px; }
#toolbar { background:#fff; border:1px solid #dce7df; border-radius:12px; padding:12px; } #changelist-filter { background:#edf5ef; border-radius:14px; }
.messagelist li { border-radius:10px; } .errornote { border-radius:10px; }
@media(max-width:800px) { #header { padding:14px 18px; } #content { padding:25px 16px 50px; }.fde-hero { align-items:flex-start; flex-direction:column; padding:28px 24px; }.fde-cards { grid-template-columns:1fr; }.fde-card { min-height:0; }.fde-section-heading { align-items:flex-start; flex-direction:column; }.form-row { padding:15px 18px; }.fde-form-intro h1 { font-size:25px!important; } .submit-row { justify-content:stretch; }.submit-row input { flex:1 1 auto; } }

/* El bloque de cuenta se mantiene dentro del encabezado también en móviles. */
#header { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; flex-wrap:wrap; height:auto; }
#branding { flex:0 1 auto; }
#header #user-tools.fde-user-tools { position:static; float:none; display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 18px; margin:0; padding:0; width:auto; height:auto; background:transparent; color:#403750; text-align:left; line-height:1.4; }
#header .fde-user-greeting { color:#403750; white-space:nowrap; }
#header .fde-user-nav { display:flex; align-items:center; flex-wrap:wrap; gap:8px 15px; }
#header .fde-user-nav a,#header .fde-user-nav button { display:inline-block; padding:4px 0; border:0; background:transparent; color:#760464; font:700 12px Mulish,Arial,sans-serif; line-height:1.4; text-decoration:none; cursor:pointer; }
#header .fde-user-nav a:hover,#header .fde-user-nav button:hover { color:#110b5c; text-decoration:underline; }
#header #logout-form { display:inline-flex; margin:0; padding:0; }
#header .fde-user-nav a:focus-visible,#header .fde-user-nav button:focus-visible { outline:2px solid #760464; outline-offset:3px; }
@media(max-width:800px) {
 #header { align-items:flex-start; flex-direction:column; flex-wrap:nowrap; gap:12px; height:auto; min-height:0; padding:15px 18px; }
 #header #user-tools.fde-user-tools { position:static; width:100%; justify-content:flex-start; gap:6px 15px; padding:0 0 2px; }
 #header .fde-user-nav { justify-content:flex-start; }
}
