/* R10.3: exclusivamente tarjeta de Inicio y acceso de gestión en R10. */
#humedal-r103-river-card{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:12px 0;padding:12px 14px;background:#f7f5ec;color:#23443d;border:1px solid rgba(38,86,68,.23);border-radius:14px;box-shadow:0 2px 8px #132a2215;font-family:inherit;line-height:1.3;text-shadow:none;}
#humedal-r103-river-card *{box-sizing:border-box;min-width:0;text-shadow:none;}
#humedal-r103-river-card .h-r103-top{display:flex;align-items:center;gap:9px;}
#humedal-r103-river-card .h-r103-wave{flex:none;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;background:#e1ece2;color:#326653;font-size:27px;font-weight:700;}
#humedal-r103-river-card .h-r103-heading{display:flex;flex:1;flex-direction:column;gap:2px;}
#humedal-r103-river-card .h-r103-heading strong{font-size:16px;font-weight:750;color:#21483e;}
#humedal-r103-river-card .h-r103-heading span{font-size:11px;color:#4b655b;}
#humedal-r103-river-card .h-r103-value{font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#245d49;}
#humedal-r103-river-card[data-state="unavailable"] .h-r103-value{font-size:11px;white-space:normal;max-width:100px;text-align:right;color:#695b40;}
#humedal-r103-river-card .h-r103-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;margin-top:7px;font-size:11px;color:#4b655b;}
#humedal-r103-river-card .h-r103-ref{margin:4px 0 0!important;padding:0;font-size:10px;color:#52665b;line-height:1.3;}
#humedal-r103-river-card .h-r103-link,#humedal-r103-community-link .h-r103-link{color:#285d4a;text-decoration:underline;text-underline-offset:3px;font-weight:650;display:inline-flex;align-items:center;min-height:28px;overflow-wrap:anywhere;}
#humedal-r103-community-link{background:#eef3ec;padding:7px clamp(12px,3vw,32px);border-bottom:1px solid #c7d8c9;text-align:right;font:inherit;font-size:13px;}
#humedal-r103-community-link .h-r103-link{min-height:40px;}

/* R10.4 — solo El Delta hoy en Inicio. Paleta de community-motion. */
#humedal-r103-river-card{background:rgba(2,12,17,.88);color:#fff;border:1px solid rgba(255,255,255,.26);border-radius:17px;box-shadow:0 14px 34px rgba(0,0,0,.25);}
#humedal-r103-river-card .h-r103-wave{background:rgba(244,217,143,.13);color:#f4d98f;}
#humedal-r103-river-card .h-r103-heading strong,#humedal-r103-river-card .h-r103-value{color:#fff;}
#humedal-r103-river-card .h-r103-heading span,#humedal-r103-river-card .h-r103-foot,#humedal-r103-river-card .h-r103-ref{color:rgba(255,255,255,.82);}
#humedal-r103-river-card[data-state="unavailable"] .h-r103-value{color:#f4d98f;}
#humedal-r103-river-card .h-r103-foot{gap:5px 8px;}
#humedal-r103-river-card .h-r104-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%;margin-left:auto;}
#humedal-r103-river-card .h-r104-actions .h-r103-link{color:#f4d98f;text-decoration:none;justify-content:center;gap:4px;border:1px solid #f4d98f;border-radius:8px;background:transparent;min-height:36px;padding:4px 7px;white-space:nowrap;font-size:11px;line-height:1.2;}
#humedal-r103-river-card .h-r104-actions .h-r103-link:focus-visible{outline:2px solid #fff;outline-offset:2px;}
#humedal-r103-river-card .h-r104-actions .h-r103-link:hover{background:rgba(244,217,143,.12);}
#humedal-r103-river-card .h-r104-actions svg{flex:none;display:block;}
@media(max-width:360px){#humedal-r103-river-card .h-r104-actions{margin-left:0;}#humedal-r103-river-card .h-r104-actions .h-r103-link{min-height:36px;}}

/* R10.6 — native app shell remains mounted; only the active Map screen changes. */
.phone.map-blue-mode > .screen.h-r106-map-screen[data-r106-map="unified"]{box-sizing:border-box;display:flex;flex-direction:column;min-height:0;min-width:0;width:100%;overflow:hidden;padding:0 0 calc(var(--h-r106-nav-height,78px) + 4px)!important;}
.phone.map-blue-mode > .screen.h-r106-map-screen[data-r106-map="unified"] > .island-map-page{display:none!important;}
.h-r106-map-holder{box-sizing:border-box;width:100%;min-width:0;}
.h-r106-map-screen[data-r106-map="unified"] > .h-r106-map-holder{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;}
.h-r106-map-toolbar{box-sizing:border-box;flex:none;padding:5px 10px;display:flex;flex-wrap:wrap;align-items:center;gap:5px;background:#173c43;}
.h-r106-map-toggle{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:40px;border:1px solid #e0dbb7;border-radius:9px;background:#f8f5ea;color:#20443d;font-family:inherit;font-weight:650;font-size:12px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;cursor:pointer;}
.h-r106-map-toggle:focus-visible{outline:2px solid #f4d98f;outline-offset:2px;}
.h-r106-map-status{margin:0;color:white;font-size:11px;line-height:1.4;}
.h-r106-map-status[hidden]{display:none!important;}
.h-r106-map-frame{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:0;flex:1 1 0;border:0;background:#f7f5ec;}
/* Embedded directory only. A direct bookmarked map retains its own header. */
html.h-r106-map-embedded,html.h-r106-map-embedded body{width:100%;max-width:100%;margin:0;overflow-x:hidden;}
html.h-r106-map-embedded .site-header,html.h-r106-map-embedded #humedal-r103-community-link{display:none!important;}
html.h-r106-map-embedded main#explorar{box-sizing:border-box;max-width:100%;padding:12px 0 0;}
html.h-r106-map-embedded .page-heading{padding:0 12px 10px;gap:6px;}
html.h-r106-map-embedded .page-heading h1{font-size:25px;line-height:1.1;overflow-wrap:anywhere;}
html.h-r106-map-embedded .page-heading .intro{font-size:12px;margin:5px 0;}
html.h-r106-map-embedded .edition{display:none;}
html.h-r106-map-embedded .river-module{box-sizing:border-box;width:calc(100% - 24px);max-width:100%;margin:0 12px 10px;}
html.h-r106-map-embedded .explorer{min-width:0;max-width:100%;}
html.h-r106-map-embedded .workspace,html.h-r106-map-embedded .map-pane,html.h-r106-map-embedded .results-pane{min-width:0;max-width:100%;}
html.h-r106-map-embedded .map-pane{height:clamp(270px,64dvh,520px);min-height:270px;}
html.h-r106-map-embedded dialog{max-height:92dvh;box-sizing:border-box;max-width:100%;}
html.h-r106-map-embedded .update-grid input,html.h-r106-map-embedded .update-grid textarea,html.h-r106-map-embedded .update-grid select,html.h-r106-map-embedded input[type=search]{font-size:16px;}
html.h-r106-map-embedded .reference-section{max-width:100%;overflow-wrap:anywhere;}
@media(max-width:380px){html.h-r106-map-embedded .map-bottom{left:7px;right:7px;}html.h-r106-map-embedded .location-note{flex-wrap:wrap;}html.h-r106-map-embedded .location-note>div{min-width:0;flex:1 1 110px;}html.h-r106-map-embedded .location-note button{max-width:100%;}}

/* R10.7 — manual refresh, exclusively inside the existing Inicio card. */
#humedal-r103-river-card .h-r107-refresh{appearance:none;flex:0 0 36px;display:grid;place-items:center;width:36px;min-height:36px;padding:0;margin:0;border:1px solid rgba(244,217,143,.28);border-radius:9px;color:#f4d98f;background:transparent;cursor:pointer;}
#humedal-r103-river-card .h-r107-refresh svg{display:block;flex:none;}
#humedal-r103-river-card .h-r107-refresh:focus-visible{outline:2px solid white;outline-offset:2px;}
#humedal-r103-river-card .h-r107-refresh:disabled{cursor:default;opacity:.65;}
#humedal-r103-river-card .h-r107-refresh .h-r107-check{display:none;}
#humedal-r103-river-card .h-r107-refresh[data-refresh-state="done"] .h-r107-arrows{display:none;}
#humedal-r103-river-card .h-r107-refresh[data-refresh-state="done"] .h-r107-check{display:block;}
#humedal-r103-river-card .h-r107-refresh[data-refresh-state="loading"] svg{animation:h-r107-spin .9s linear infinite;}
#humedal-r103-river-card .h-r107-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@keyframes h-r107-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){#humedal-r103-river-card .h-r107-refresh[data-refresh-state="loading"] svg{animation:none;}}
@media(max-width:360px){#humedal-r103-river-card .h-r103-top{gap:6px;}#humedal-r103-river-card .h-r107-refresh{width:34px;flex-basis:34px;}}

/* R10.8 — management panel within the unified map. */
.h-r106-map-toolbar[hidden]{display:none!important;}
.r108-manage-wrap{box-sizing:border-box;padding:8px 12px 4px;max-width:100%;}
.r108-manage-wrap button{width:100%;min-height:44px;font:inherit;font-size:14px;}
.r108-sync-status{margin:4px 0;color:#52665b;font-size:12px;overflow-wrap:anywhere;}
.r108-panel{width:min(620px,calc(100% - 20px));max-height:90dvh;overflow:auto;padding:0;border:1px solid #cbd6cd;border-radius:16px;background:#fbfaf5;color:#203d36;box-sizing:border-box;}
.r108-panel::backdrop{background:rgba(10,29,28,.64)}
.r108-panel-body{padding:16px;min-width:0;overflow-wrap:anywhere;}
.r108-panel h2{font-size:22px;margin:0 0 10px;line-height:1.2}.r108-panel h3{font-size:17px;margin:12px 0 8px;}
.r108-panel p{font-size:14px;line-height:1.45;}.r108-panel .close-dialog{float:right;}
.r108-panel button,.r108-panel input,.r108-panel textarea,.r108-panel select{font-family:inherit;box-sizing:border-box;max-width:100%;}
.r108-panel .primary-button,.r108-panel .secondary-button{min-height:44px;white-space:normal;overflow-wrap:anywhere;}
.r108-menu,.r108-business-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0;}
.r108-menu>button,.r108-business-actions>button,.r108-business-actions>a{flex:1 1 135px;}
.r108-own-item{padding:12px 0;border-bottom:1px solid #dce3d9;}
.r108-own-item p{margin:3px 0;color:#536960;}
.r108-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;}
.r108-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:650;min-width:0;}
.r108-form .full{grid-column:1/-1;min-width:0;}
.r108-form input:not([type=checkbox]),.r108-form select,.r108-form textarea{width:100%;min-height:42px;min-width:0;border:1px solid #c6d3c9;border-radius:8px;padding:8px;background:#fff;color:#203d36;font-size:16px;}
.r108-form input[type=file]{padding:7px 3px;font-size:13px;}.r108-form .r108-consent{flex-direction:row;align-items:flex-start;font-weight:500;}
.r108-form input[type=checkbox]{flex:none;width:20px;height:20px;accent-color:#245d59;}
.r108-picker{height:230px;background:#e6ede7;border:1px solid #cbd6cd;border-radius:10px;overflow:hidden;}
.r108-picker .leaflet-control-attribution{font-size:10px;}
.r108-feedback{padding:10px;background:#eef3ec;border-radius:8px;margin:0;white-space:pre-line;}
.r108-feedback:empty{display:none;}.r108-photo-grid{display:flex;flex-wrap:wrap;gap:8px;}
.r108-photo-grid img{width:86px;height:70px;object-fit:cover;border-radius:6px;background:#e6ede7;}
.r108-photo-grid label{max-width:100px;font-size:11px;}.r108-native-extra{margin-top:12px;}
.r108-native-extra .secondary-button{min-height:40px;text-align:center;}
.r108-note{font-size:12px;color:#52665b;}
@media(max-width:430px){.r108-panel-body{padding:12px;}.r108-form{grid-template-columns:minmax(0,1fr);}.r108-menu>button{flex-basis:100%;}}

@media(max-width:760px){.r108-panel{width:100%;max-width:100%;margin:0;bottom:0;left:0;right:0;border-radius:18px 18px 0 0;}}

/* R10.9: acción visible en la cabecera de la ficha comercial. */
.r109-edit-actions{margin:0 0 12px}.r109-edit-actions>.update-place-button{display:block;width:100%;min-height:44px;font-size:14px}.r109-edit-actions>.r108-note{margin:5px 0 0;font-size:11px;line-height:1.35}
/* R10.10 — CRC. Scope to the actual contribution history. Preserve photo,
   existing navigation icon, account wallet elsewhere and all functionality. */
.phone:has(> .screen > .history-page > .contribution-register-action) > .app-header {
  background:#112b38; color:#fff; border-bottom:1px solid rgba(255,255,255,.27);
}
.phone:has(> .screen > .history-page > .contribution-register-action) > .app-header .brand-logo-color{display:none}
.phone:has(> .screen > .history-page > .contribution-register-action) > .app-header .brand-logo-white{display:block}
.phone > .screen > .history-page:has(> .contribution-register-action){
  --crc-light:#faf4e4;--crc-gold:#f4d98f;--crc-muted:#e0e6df;--crc-line:rgba(243,235,211,.38);
  box-sizing:border-box;min-width:0;padding:clamp(16px,4vw,24px);color:var(--crc-light);
  background-image:linear-gradient(180deg,rgba(7,23,23,.51),rgba(7,25,28,.65) 54%,rgba(6,22,23,.88)),url('/humedal-operation-detail.webp');
  background-color:#17231b;background-position:center 58%;background-size:cover;background-repeat:no-repeat;
}
.phone .history-page:has(> .contribution-register-action) > .eyebrow{
  margin:6px 0 10px;color:var(--crc-gold);font:750 10px/1.5 var(--font-ui,system-ui,sans-serif);letter-spacing:.15em;overflow-wrap:anywhere;text-shadow:0 2px 6px #071514;
}
.phone .history-page:has(> .contribution-register-action) > h2{
  margin:0 0 10px;color:var(--crc-light);font-size:clamp(35px,10vw,54px);font-weight:500;line-height:1.08;text-transform:none;text-shadow:0 2px 8px rgba(0,0,0,.32);
}
.phone .history-page:has(> .contribution-register-action) > .section-intro{
  margin:0 0 19px;color:var(--crc-light);font:400 14px/1.48 var(--font-ui,system-ui,sans-serif);text-shadow:0 1px 6px #061514;
}
.phone .history-page > .contribution-register-action,
.phone .history-page:has(> .contribution-register-action) > .crc-wallet > .secondary-action.wide{
  box-sizing:border-box;width:100%;max-width:100%;min-height:52px;margin:0;padding:13px 14px;display:flex;align-items:center;justify-content:flex-start;gap:12px;border:1px solid var(--crc-line);border-radius:15px;
  background:linear-gradient(145deg,#2c6055,#143a34);color:var(--crc-light);font:750 14px/1.3 var(--font-ui,system-ui,sans-serif);text-align:left;text-transform:none;letter-spacing:0;box-shadow:0 5px 14px rgba(0,0,0,.17);white-space:normal;overflow-wrap:anywhere;
}
.phone .history-page > .contribution-register-action::before,
.phone .history-page:has(> .contribution-register-action) > .crc-wallet > .secondary-action.wide::before,
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance::before,
.phone .history-page:has(> .contribution-register-action) > .history-summary > button::before{
  content:"";display:block;flex:none;width:24px;height:24px;background:currentColor;mask-image:var(--crc-symbol);mask-size:contain;mask-position:center;mask-repeat:no-repeat;-webkit-mask-image:var(--crc-symbol);-webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;
}
.phone .history-page > .contribution-register-action {--crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13h4l3 3 7-7a2 2 0 0 1 3 3l-7 7H8l-4-3zM12 4c1.5-2 5-1 5 2 0 2-2 3.5-5 5-3-1.5-5-3-5-5 0-3 3.5-4 5-2z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");}
.phone .history-page > .contribution-register-action::after,
.phone .history-page:has(> .contribution-register-action) > .crc-wallet > .secondary-action.wide::after{content:"";flex:none;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-left:auto}
.phone .history-page:has(> .contribution-register-action) > .crc-wallet{display:grid;gap:12px;margin:20px 0 17px;min-width:0}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance{
  --crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 8 9-5 9 5-9 5-9-5zm0 4 9 5 9-5M3 16l9 5 9-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  display:grid;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 10px;align-items:center;min-width:0;margin:0 0 2px;padding:17px 12px;border:1px solid #f8ecd0;border-radius:16px;background:linear-gradient(130deg,#fff6e5,#eaddb9);color:#17433c;box-shadow:0 7px 20px rgba(0,0,0,.22);
}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance::before{grid-column:1;grid-row:1/3;width:26px;height:26px}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > span{grid-row:1;grid-column:2;min-width:0;font:800 14px/1.2 var(--font-ui,system-ui,sans-serif);color:#173f37;letter-spacing:0;text-transform:none;text-shadow:none;overflow-wrap:anywhere}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > strong{grid-row:1/3;grid-column:3;font:650 clamp(24px,8vw,38px)/1 var(--font-ui,system-ui,sans-serif);color:#17433c;max-width:27vw;overflow-wrap:anywhere;text-shadow:none;border-left:1px solid #c9bb99;padding-left:9px}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > small{grid-row:2;grid-column:2;min-width:0;max-width:none;color:#4e594a;font:400 11px/1.4 var(--font-ui,system-ui,sans-serif);text-shadow:none;overflow-wrap:anywhere}
.phone .history-page:has(> .contribution-register-action) > .crc-wallet > .secondary-action.wide{
  --crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h7v7H3zM14 3h7v7h-7zM3 14h7v7H3zM14 14h3v3h4v4h-7z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");background:rgba(19,47,45,.87);border-color:var(--crc-gold);box-shadow:none;min-height:48px;
}
.phone .history-page:has(> .contribution-register-action) > .crc-wallet > .secondary-action.wide:disabled{opacity:.66;cursor:not-allowed}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > details{
  box-sizing:border-box;min-width:0;border:1px solid var(--crc-line);border-radius:15px;padding:0 13px;background:rgba(13,37,36,.83);color:var(--crc-light);box-shadow:none;
}
.phone .history-page:has(> .contribution-register-action) .crc-wallet > details > summary{padding:14px 0;cursor:pointer;min-height:44px;box-sizing:border-box;color:var(--crc-light);font:600 14px/1.4 var(--font-ui,system-ui,sans-serif);overflow-wrap:anywhere;}
.phone .history-page:has(> .contribution-register-action) > .history-summary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 19px;border:1px solid var(--crc-line);border-radius:16px;overflow:hidden;box-shadow:none;background:rgba(12,40,38,.91);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button{display:grid;justify-items:center;align-content:center;min-width:0;gap:6px;padding:11px 3px 12px;border:0;border-right:1px solid rgba(255,255,255,.19);border-radius:0;color:var(--crc-light);background:transparent;box-shadow:none;text-shadow:none;min-height:79px;}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button:last-child{border-right:0}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button.active{background:#a98c51;box-shadow:inset 0 -4px 0 #f8e1a9;color:#fff8e7}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button > strong{font:500 clamp(22px,6vw,30px)/1 var(--font-display,Georgia,serif);color:inherit;text-shadow:none;overflow-wrap:anywhere;max-width:100%;}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button > span{font:700 clamp(8px,2.4vw,10px)/1.15 var(--font-ui,system-ui,sans-serif);letter-spacing:0;text-transform:uppercase;color:inherit;text-shadow:none;overflow-wrap:anywhere;max-width:100%;}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button::before{width:17px;height:17px;}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button:nth-child(1){--crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 8 5v8l-8 5-8-5V8z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button:nth-child(2){--crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v14m-6-6 6 6 6-6M4 21h16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button:nth-child(3){--crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21V7m-6 6 6-6 6 6M4 3h16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.phone .history-page:has(> .contribution-register-action) > .history-summary > button:nth-child(4){--crc-symbol:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 6v6l4 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.phone .history-page:has(> .contribution-register-action) > .listing-stack > .history-record,
.phone .history-page:has(> .contribution-register-action) > .notice,
.phone .history-page:has(> .contribution-register-action) .crc-wallet .listing{
  box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--crc-line);border-radius:15px;background:rgba(12,37,35,.87);color:var(--crc-light);box-shadow:0 4px 12px rgba(0,0,0,.15);padding:15px;overflow-wrap:anywhere;
}
.phone .history-page:has(> .contribution-register-action) > .listing-stack > .history-record .tag{display:inline-block;max-width:100%;padding:6px 8px;border:1px solid rgba(244,217,143,.26);border-radius:7px;background:rgba(244,217,143,.13);color:var(--crc-gold);font:750 9px/1.3 var(--font-ui,system-ui,sans-serif);white-space:normal;text-shadow:none;}
.phone .history-page:has(> .contribution-register-action) > .listing-stack > .history-record h3{color:var(--crc-light);text-shadow:none}
.phone .history-page:has(> .contribution-register-action) > .listing-stack > .history-record p,.phone .history-page:has(> .contribution-register-action) > .notice p{color:var(--crc-muted);text-shadow:none;}
.phone .history-page:has(> .contribution-register-action) .crc-wallet .listing p,.phone .history-page:has(> .contribution-register-action) .crc-wallet .listing small,.phone .history-page:has(> .contribution-register-action) .crc-wallet .listing label{color:var(--crc-light);}
.phone .history-page:has(> .contribution-register-action) .crc-wallet .crc-form input{border:1px solid #c3cfc3;border-radius:8px;background:#fcf8ee;color:#153e35;font-size:16px;}
.phone .history-page:has(> .contribution-register-action) button:focus-visible,.phone .history-page:has(> .contribution-register-action) summary:focus-visible{outline:2px solid var(--crc-gold);outline-offset:2px;}
@media(max-width:350px){.phone .history-page:has(> .contribution-register-action) > .history-summary > button{padding-inline:2px}.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance{grid-template-columns:minmax(0,1fr) auto}.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance::before{display:none}.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > span,.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > small{grid-column:1}.phone .history-page:has(> .contribution-register-action) .crc-wallet > .account-balance > strong{grid-column:2}}
/* Recognition only: a decorative textual badge on server-sourced identity fields. */
[data-humedal-crc-recognition]::after {
 content: attr(data-humedal-crc-recognition); display:inline-block; box-sizing:border-box;
 margin-inline-start:.38em; padding:.14em .46em; max-width:100%; vertical-align:middle;
 font:600 .69rem/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 letter-spacing:.015em; text-transform:none; white-space:nowrap; text-shadow:none;
 color:#f3d78b; background:#25352c; border:1px solid #b39959; border-radius:999px;
}
.publication-reader-byline [data-humedal-crc-recognition]::after,
.publication-detail-card [data-humedal-crc-recognition]::after,
.public-profile-card [data-humedal-crc-recognition]::after,
.r111-business-owner[data-humedal-crc-recognition]::after,
.contribution-recipient-results [data-humedal-crc-recognition]::after {
 color:#6a4d13; background:#fff2ce; border-color:#c4a56a;
}
.r111-business-identity {display:block;color:#365750;font:500 .76rem/1.45 system-ui,sans-serif;margin:.22rem 0;overflow-wrap:anywhere;}
.r111-business-owner {font-weight:650;}

/* R10.12: true author and creation date in native listing cards */
.section-photo-mode .publication-card-content > .hmd-r112-byline,.publication-card-content > .hmd-r112-byline {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 9px;margin:0 0 2px;color:#38584e;font:600 .79rem/1.5 system-ui,sans-serif;min-width:0;overflow-wrap:anywhere;}
.hmd-r112-owner {font-weight:700;overflow-wrap:anywhere;}
.hmd-r112-date {font-weight:500;color:#67736b;white-space:nowrap;}
.hmd-r112-date::before {content:'Publicado · ';}
html[lang^="en"] .hmd-r112-date::before {content:'Posted · ';}
html[lang^="pt"] .hmd-r112-date::before {content:'Publicado · ';}
.hmd-r112-owner[data-humedal-crc-recognition]::after {color:#6a4d13;background:#fff2ce;border-color:#c4a56a;}
