/* Dosa Tycoon 5.2 (FORT52): the Be prepared window (js/ui-fortune.js) and Sell this outlet on an outlet's card. Built from the
 * windows' own pieces (dtw-card, dtw-chip, dt-btn); every text 14 px or more, nothing clipped at 360 px wide. */
.dtf .dtf-tabs { flex-wrap: wrap; }
.dtf-note { font-size: max(16px, var(--fl-deep, 0px)); font-weight: 700; color: var(--muted); line-height: 1.3; }
.dtf-pane { display: flex; flex-direction: column; gap: 12px; }
.dtf-pane.is-hidden { display: none; }
.dtf-fam .dtw-h { margin-bottom: 6px; }
.dtf-risks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.dtf-risk { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dtf-risk__head { display: flex; align-items: center; gap: 8px; }
.dtf-risk__ico { flex: none; width: 34px; height: 34px; }
.dtf-risk__ico svg, .dtf-ev__ico svg { width: 100%; height: 100%; }
.dtf-risk__name { font-size: max(19px, var(--fl-deep, 0px)); font-weight: 800; line-height: 1.15; }
.dtf-risk__stop { font-size: max(16px, var(--fl-deep, 0px)); font-weight: 700; line-height: 1.3; }
.dtf-risk__where { font-size: max(14.5px, var(--fl, 0px)); font-weight: 600; color: var(--muted); line-height: 1.3; }
.dtf-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.dtf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding-top: 6px; border-top: 2px dashed rgba(58, 31, 18, .2); }
.dtf-row__name { font-size: max(16px, var(--fl-deep, 0px)); font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.dtf-row__what { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.dtf-quiet { font-size: max(15px, var(--fl-deep, 0px)); font-weight: 600; color: var(--muted); line-height: 1.3; }
.dtf-chip { white-space: normal; min-height: 28px; line-height: 1.15; }
.dtf .dtf-btn { min-height: 40px; padding: 0 14px 4px; font-size: max(16px, var(--fl-deep, 0px)); border-radius: 14px; }
.dtf .dtf-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.dtf-lead { font-size: max(16px, var(--fl-deep, 0px)); font-weight: 700; line-height: 1.3; }
.dtf-ruins .dtw-h { flex-wrap: wrap; }
.dtf-ruins .dtw-h .dtf-btn { margin-left: auto; }
.dtf-ruin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-top: 2px dashed rgba(58, 31, 18, .2); }
.dtf-ruin__main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; font-size: max(16px, var(--fl-deep, 0px)); }
.dtf-ruin__main b { font-size: max(17px, var(--fl-deep, 0px)); }
.dtf-ruin__where { font-size: max(14.5px, var(--fl, 0px)); font-weight: 600; color: var(--muted); }
.dtf-ruin__money { font-size: max(15px, var(--fl-deep, 0px)); font-weight: 700; font-variant-numeric: tabular-nums; }
.dtf-ruin__why { font-size: max(14.5px, var(--fl, 0px)); font-weight: 700; color: #8E0A1E; }
.dtf-ruin__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.dtf-ev { display: flex; gap: 10px; align-items: flex-start; }
.dtf-ev__ico { flex: none; width: 34px; height: 34px; }
.dtf-ev__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dtf-ev__head { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: max(16px, var(--fl-deep, 0px)); }
.dtf-ev__text { font-size: max(15.5px, var(--fl-deep, 0px)); line-height: 1.35; }
.dtf-ev__prevent { font-size: max(15px, var(--fl-deep, 0px)); font-weight: 700; color: var(--muted); line-height: 1.3; }
.dtf-ev.is-good { background: var(--good-bg, #E4F4DF); }
.dtf-ev.is-bad { background: var(--card); }
.dtf-n.is-hidden { display: none; }
/* Sell this outlet: quiet, at the foot of its card */
.dtw-outlet .dtf-sell { align-self: flex-start; min-height: 38px; padding: 0 14px 4px; font-size: max(15px, var(--fl-deep, 0px)); border-radius: 13px; margin-top: 2px; }
.dtw-outlet .dtf-sell.is-hidden { display: none; }
.dtw-outlet .dtf-sell.is-disabled { opacity: .55; }
.is-compact .dtf-risks { grid-template-columns: 1fr; }
.is-compact .dtf-risk__name { font-size: max(18px, var(--fl-deep, 0px)); }
