.care-before-marker{position:absolute;top:0;bottom:0;width:1px;background:#fff3c9;box-shadow:1px 0 #57412277;z-index:2;pointer-events:none}
.report-period-cards{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1}
.report-period-card{position:relative;min-height:0;flex:1;overflow:hidden;isolation:isolate;border:1px solid #af905a;background:#756546;box-shadow:0 2px 5px #382a1829}
.report-period-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.report-period-shade{position:absolute;inset:0;background:linear-gradient(transparent,#302519d9);z-index:-1}
.report-period-label{position:absolute;top:10px;left:11px;padding:3px 8px;border:1px solid #c7ad75;background:#f6e7c9ed;color:#77542f;font:10px/1.5 var(--game-font)}
.report-period-actor{position:absolute;right:11px;bottom:5px;height:90%;width:auto;max-width:58%;object-fit:contain;z-index:-2;filter:drop-shadow(0 2px 2px #1c180c44)}
.report-period-actor.alpaca{height:92%;right:18px}
.report-period-caption{position:absolute;bottom:11px;left:13px;right:10px;color:#fbe9bd;text-shadow:0 1px 3px #261c0a}
.report-period-caption h3{font:14px/1.6 var(--game-font);margin:0;display:flex;align-items:center;gap:5px}
.report-period-caption h3>.icon{flex-shrink:0}
.report-period-caption small{font:9px/1.7 var(--game-font);display:block;margin-top:3px;max-width:90%;color:#e4cda0}
.report-details-layout{flex:1;min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr);width:100%;overflow:hidden}
.report-memories{padding:18px;display:flex;flex-direction:column;min-height:0;gap:15px;border-right:2px solid #ac8951;background:linear-gradient(#745b3644,#4d3c2480),url('assets/wood.webp') center/auto 100%;color:#f0d9ad}
.report-calendar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 3px}
.report-calendar>strong{font:43px/1 var(--game-font);color:#ffe4a5;display:flex;align-items:baseline;gap:7px}
.report-calendar>strong>small{font:15px var(--game-font)}
.report-calendar>span{font:10px/1.8 var(--game-font);text-align:right;color:#dfc69c}
.report-days{font:10px/1.6 var(--game-font);display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;color:#e9d2a0}
.report-dashboard{display:flex;flex-direction:column;min-height:0;min-width:0;padding:17px 20px 16px;background:#efddbb url('assets/paper.webp') center/cover}
.report-gauge-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:31px;flex:0 0 auto;margin-bottom:9px}
.report-gauge-heading h3{font:17px/1.5 var(--game-font);color:#6f4b28;margin:0}
.report-gauge-heading>span{font:10px/1.5 var(--game-font);color:#947343}
.report-attributes{flex:1;min-height:0}
.report-attributes>.care-changes{height:100%;display:flex;flex-direction:column}
.report-attributes .care-changes>h3,.report-resources .care-changes>h3{display:none}
.report-attributes .care-change-list{flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:9px}
.report-attributes .care-change-row{min-height:0;padding:8px 12px 9px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(#f9eed7ee,#dfc89dd9)}
.report-attributes .care-change-head{margin-bottom:4px}
.report-attributes .care-change-head>span{font-size:11px}
.report-attributes .care-change-head>strong{font-size:14px}
.report-attributes [data-good=false] [data-delta]{visibility:hidden}
.report-attributes .care-change-values{margin-bottom:6px;gap:7px}
.report-attributes .care-change-values>span{font-size:10px}
.report-attributes .care-change-values>b{font-size:26px;line-height:1}
.report-attributes .stat-track{position:relative;height:13px;min-height:13px}
.report-attributes .stat-track>span{background:linear-gradient(var(--stat-color),color-mix(in srgb,var(--stat-color) 75%,#47321c));box-shadow:inset 0 1px #fff8}
.report-resources{flex:0 0 auto;margin-top:11px}
.report-resources .care-change-list{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.report-resources .care-change-row{padding:8px 11px}
.report-resources .care-change-head{margin-bottom:5px}
.report-resources .care-change-head>span{font-size:10px}
.report-resources .care-change-head>strong{font-size:13px}
.report-resources .care-change-values{margin-bottom:5px}
.report-resources .care-change-values>span{font-size:10px}
.report-resources .care-change-values>b{font-size:20px}
.report-resources .stat-track{height:7px;min-height:7px}
.report-resources [data-kind=gold]{background:linear-gradient(#5c472f,#3e2c1c);color:#f5dfac;border-color:#a3844c}
.report-resources [data-kind=gold] .care-change-head>span,.report-resources [data-kind=gold] .care-change-head>strong,.report-resources [data-kind=gold] .care-change-values>b{color:#f5dfac}
.report-resources [data-kind=gold] .care-change-values>span{color:#c4a778}
.report-allowance{flex:0 0 auto;display:flex;justify-content:flex-end;gap:14px;font:9px/1.7 var(--game-font);color:#967449;margin-top:5px}
.report-allowance b{font-weight:normal;color:#79552c;margin-left:4px}
.report-details-footer{flex:0 0 auto;padding-top:11px}
.report-details-footer .primary-button{width:100%;min-height:43px;font-size:13px}
.month-record-notice .notice-message:empty{display:none}
.report-period-cards.compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;height:82px;min-height:82px;flex:none}
.report-period-cards.compact .report-period-label{top:5px;left:6px;font-size:8px;padding:1px 5px}
.report-period-cards.compact .report-period-caption{left:7px;right:6px;bottom:6px}
.report-period-cards.compact h3{font-size:10px;line-height:1.5;gap:4px}
.report-period-cards.compact h3>.icon{display:none}
.report-period-cards.compact .report-period-actor{right:4px;bottom:0;height:90%;max-width:70%}
.month-record-notice .notice-changes{margin-top:9px}
.month-record-notice .care-change-row{padding:6px 9px}
.month-record-notice .care-change-values>span,.month-record-notice .care-change-values>.icon{display:none}
.month-record-notice .care-change-values>b{font-size:23px}
.month-record-notice .care-change-values{margin-bottom:5px}
.month-record-notice .care-change-row[data-kind=stat] .stat-track{height:11px;min-height:11px;position:relative}
.month-record-notice .care-change-row[data-kind=stat] .stat-track>span{background:linear-gradient(var(--stat-color),color-mix(in srgb,var(--stat-color) 75%,#47321c))}
@media(max-width:760px){
  .report-details-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:106px minmax(0,1fr)}
  .report-memories{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;padding:10px 12px;border-right:0;border-bottom:2px solid #ac8951}
  .report-calendar{flex-direction:column;justify-content:center;gap:8px;padding:0}
  .report-calendar>strong{font-size:29px;gap:3px}.report-calendar>strong>small{font-size:10px}
  .report-calendar>span{font-size:7px;text-align:center;line-height:1.5}
  .report-memories>.report-period-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .report-memories .report-period-label{top:5px;left:5px;font-size:8px;padding:1px 4px}
  .report-memories .report-period-caption{bottom:6px;left:6px;right:5px}
  .report-memories .report-period-caption h3{font-size:9px;line-height:1.5}
  .report-memories .report-period-caption h3>.icon,.report-memories .report-period-caption small,.report-days{display:none}
  .report-memories .report-period-actor{right:0;bottom:0;height:85%;max-width:70%}
  .report-dashboard{padding:9px 12px 11px}
  .report-gauge-heading{min-height:23px;margin-bottom:7px;gap:7px}
  .report-gauge-heading h3{font-size:13px}.report-gauge-heading>span{font-size:8px}
  .report-attributes .care-change-list{gap:6px}
  .report-attributes .care-change-row{padding:6px 8px}
  .report-attributes .care-change-head{margin-bottom:3px;gap:4px}
  .report-attributes .care-change-head>span{font-size:9px;gap:4px}
  .report-attributes .care-change-head>span>.icon{height:12px;width:12px}
  .report-attributes .care-change-head>strong{font-size:11px}
  .report-attributes .care-change-values{gap:6px;margin-bottom:5px}
  .report-attributes .care-change-values>span{font-size:9px}
  .report-attributes .care-change-values>b{font-size:23px}
  .report-attributes .stat-track{height:10px;min-height:10px}
  .report-resources{margin-top:8px}.report-resources .care-change-list{gap:7px}
  .report-resources .care-change-row{padding:6px 8px}
  .report-resources .care-change-head{margin-bottom:4px}
  .report-resources .care-change-head>span{font-size:9px}
  .report-resources .care-change-head>strong{font-size:11px}
  .report-resources .care-change-values{gap:5px;margin-bottom:4px}
  .report-resources .care-change-values>span{font-size:8px}
  .report-resources .care-change-values>b{font-size:17px}
  .report-resources .stat-track{height:6px;min-height:6px}
  .report-allowance{gap:10px;font-size:8px;margin-top:4px}
  .report-details-footer{padding-top:7px}.report-details-footer .primary-button{font-size:11px;min-height:39px}
  .report-period-cards.compact{height:66px;min-height:66px;gap:6px}
  .report-period-cards.compact h3{font-size:9px}
  .month-record-notice .notice-changes .care-change-row{padding:5px 7px}
  .month-record-notice .care-change-values>b{font-size:20px}
  .month-record-notice .notice-changes .care-change-head{min-height:16px;margin-bottom:3px}
  .month-record-notice .care-change-row[data-kind=stat] .stat-track{height:9px;min-height:9px}
}
@media(max-width:540px) and (max-height:730px){
  .report-details-layout{grid-template-rows:88px minmax(0,1fr)}
  .report-memories{padding-block:8px}
  .report-attributes .care-change-row{padding-block:4px}
  .report-attributes .care-change-values>b{font-size:20px}
  .report-attributes .stat-track{height:8px;min-height:8px}
  .report-resources .care-change-row{padding-block:5px}
}
