.daily-focus {
  background: var(--ink);
  color: #fff;
  padding: 20px 22px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-left: 5px solid #83d0b5;
}

.daily-focus .kicker { margin: 0 0 5px; color: #83d0b5; }
.daily-focus h2 { font: 800 20px Manrope; margin: 0; }
.daily-focus p:last-child { margin: 5px 0 0; color: #c2d1cb; font-size: 11px; }
.daily-focus button { border: 1px solid #83d0b5; background: #83d0b5; color: var(--ink); padding: 11px 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -10px 0 14px; }
.contact-actions a { display: block; text-align: center; text-decoration: none; border: 1px solid var(--green); color: var(--green); padding: 11px; font-weight: 700; font-size: 11px; }
.contact-actions a:first-child { background: var(--green); color: #fff; }
.contact-actions a.disabled { opacity: .4; pointer-events: none; }

.next-action { background: #edf5f1; border-left: 4px solid var(--green); padding: 12px 14px; margin-bottom: 16px; }
.next-action small, .next-action b { display: block; }
.next-action small { font-size: 8px; letter-spacing: 1px; color: var(--green); font-weight: 700; }
.next-action b { font-size: 11px; line-height: 1.45; margin-top: 4px; }
.area-picker { display: grid; gap: 4px; width: min(330px, 100%); font-size: 10px; font-weight: 700; }
.area-picker input { width: 100%; min-height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 12px; color: var(--ink); outline: none; }
.area-picker select { width: 100%; min-height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 12px; color: var(--ink); outline: none; font: inherit; }
.area-picker input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,97,79,.12); }
.area-picker select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,97,79,.12); }
.area-picker small { color: var(--muted); font-size: 9px; font-weight: 400; }
#market-area-title { color: var(--green); }
.market-filters { display: flex; align-items: start; gap: 12px; width: min(620px, 100%); }
.market-headline span.negative { color: #a33a32; }
.market-error { background: #fff1ef; color: #8d3029; padding: 12px 14px; margin: 12px 0 0; font-size: 11px; }
.market-stats a { color: var(--green); }
.dashboard-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -5px 0 14px; }
.dashboard-tools p { margin: 0; color: var(--muted); font-size: 11px; }
.dashboard-tools>div { display: flex; gap: 8px; }
.dashboard-tools button { border: 1px solid var(--green); border-radius: 999px; background: #fff; color: var(--green); padding: 9px 14px; font-size: 11px; font-weight: 700; cursor: pointer; }
.dashboard-tools #add-widget { background: var(--green); color: #fff; }
.dashboard-tools button:hover { background: #edf5f1; }
.dashboard-tools #add-widget:hover { background: #174f40; }
.widget-dialog { width: min(900px, calc(100% - 30px)); max-height: min(820px, calc(100vh - 30px)); border-radius: 28px; padding: 30px; }
.widget-intro { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 8px 0 18px; }
.widget-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.widget-option { padding: 0; min-width: 0; }
.widget-option h3 { margin: 10px 3px 2px; font: 800 14px Manrope; }
.widget-option>p { margin: 0 3px; color: var(--muted); font-size: 10px; }
.widget-preview { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 20px; overflow: hidden; border: 1px solid rgba(15,47,38,.08); border-radius: 24px; background: #f3f5f4; box-shadow: 0 9px 25px rgba(20,48,39,.08); }
.widget-preview[data-preview-color="mint"] { background: #dff2e9; }
.widget-preview[data-preview-color="blue"] { background: #e2eef9; }
.widget-preview[data-preview-color="sand"] { background: #f7ead1; }
.widget-preview[data-preview-color="dark"] { background: var(--ink); color: #fff; }
.widget-preview b { font-size: 10px; opacity: .65; }
.widget-preview strong { font: 800 17px Manrope; }
.widget-preview span { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.68); font-size: 9px; }
.widget-preview>i { display: block; height: 34px; margin-top: auto; border-bottom: 3px solid #2b8469; border-radius: 50%; opacity: .65; }
.widget-preview>div { display: flex; gap: 7px; margin-top: auto; }
.widget-preview>div strong { flex: 1; padding: 12px 5px; border-radius: 12px; background: rgba(255,255,255,.65); text-align: center; font-size: 15px; }
.widget-plus { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--green); box-shadow: 0 4px 14px rgba(19,54,43,.18); font: 700 20px/1 system-ui; cursor: pointer; }
.is-added .widget-plus { background: var(--green); color: #fff; font-size: 15px; }
.size-chooser { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 10px; padding: 8px; border-radius: 16px; background: #eef1f0; }
.size-chooser[hidden] { display: none; }
.size-chooser>span { grid-column: 1/-1; padding: 1px 3px; color: var(--muted); font-size: 9px; font-weight: 700; }
.size-chooser button { display: grid; place-items: center; gap: 4px; min-height: 58px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.size-chooser button.active { border-color: rgba(31,97,79,.18); background: #fff; color: var(--green); box-shadow: 0 3px 10px rgba(18,49,40,.08); font-weight: 700; }
.size-icon { display: block; height: 18px; border: 2px solid currentColor; border-radius: 5px; }
.size-icon.small { width: 18px; }.size-icon.medium { width: 28px; }.size-icon.large { width: 40px; }
.widget-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin-top: 16px; }
.widget-actions button { min-height: 43px; border: 1px solid var(--green); background: #fff; color: var(--green); font-weight: 700; cursor: pointer; }
.widget-actions #save-widgets { background: var(--green); color: #fff; }
.widget-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: start; }
.widget-board>[data-widget] { margin: 0; min-width: 0; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.widget-board>[data-widget][data-size="small"] { grid-column: span 4; }
.widget-board>[data-widget][data-size="medium"] { grid-column: span 6; }
.widget-board>[data-widget][data-size="large"] { grid-column: 1 / -1; }
.widget-board>[data-widget][data-shape="square"] { border-radius: 2px; }
.widget-board>[data-widget][data-shape="soft"] { border-radius: 18px; }
.widget-board>[data-widget][data-shape="round"] { border-radius: 32px; }
.widget-board>[data-widget][data-color="white"] { background: #fff; }
.widget-board>[data-widget][data-color="mint"] { background: #e6f4ee; border-color: #cde3d9; }
.widget-board>[data-widget][data-color="blue"] { background: #e7f0f8; border-color: #cadbea; }
.widget-board>[data-widget][data-color="sand"] { background: #f7efdf; border-color: #e8d9bb; }
.widget-board>[data-widget][data-color="dark"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.widget-board>[data-widget][data-color="dark"] h2,.widget-board>[data-widget][data-color="dark"] strong { color: #fff; }
.widget-board>[data-widget][data-color="dark"] p,.widget-board>[data-widget][data-color="dark"] small { color: #b8c8c2; }
.widget-board>[data-widget][draggable="true"] { cursor: grab; touch-action: none; outline: 2px dashed rgba(31,97,79,.28); outline-offset: 3px; animation: widget-wiggle .2s ease-in-out infinite alternate; }
.widget-board>[data-widget][draggable="true"]:active { cursor: grabbing; animation: none; }
.widget-board>[data-widget].dragging { opacity: .48; transform: scale(.985); box-shadow: 0 24px 50px rgba(18,39,31,.18); }
body.editing-widgets .dashboard-tools::after { content: 'Hold og træk en widget for at flytte den'; color: var(--green); font-size: 10px; font-weight: 700; }
@keyframes widget-wiggle { from { transform: rotate(-.12deg); } to { transform: rotate(.12deg); } }
.widget-board .metrics { display: grid; }
.widget-board .metrics[data-color="mint"] article,.widget-board .metrics[data-color="blue"] article,.widget-board .metrics[data-color="sand"] article { background: transparent; }
.pulse-place { color: var(--green); font-size: 11px; font-weight: 700; margin-bottom: 12px; }
.pulse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pulse-grid div { background: rgba(255,255,255,.58); border: 1px solid rgba(31,97,79,.12); padding: 13px; border-radius: 14px; }
.pulse-grid span,.pulse-grid strong { display: block; }.pulse-grid span { color: var(--muted); font-size: 9px; }.pulse-grid strong { font: 800 17px Manrope; margin-top: 6px; }
.pulse-source { color: var(--muted); font-size: 9px; margin: 12px 0 0; }
@media (max-width: 480px) {
  .daily-focus { display: block; }
  .daily-focus button { width: 100%; margin-top: 14px; }
  .area-picker { margin-top: 14px; }
  .market-filters { display: grid; gap: 0; }
  .dashboard-tools { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-tools>div { width: 100%; }
  .dashboard-tools button { flex: 1; }
  .widget-board>[data-widget] { grid-column: 1 / -1 !important; }
  .pulse-grid { grid-template-columns: 1fr 1fr; }
  .widget-dialog { padding: 24px 18px; border-radius: 22px; }
  .widget-options { grid-template-columns: 1fr; }
}
@media (min-width: 481px) and (max-width: 820px) { .widget-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { .widget-board>[data-widget][draggable="true"] { animation: none; } }
