/* Silk Duo Diary | Desktop dashboard only. Replaces 99-dashboard-content.css. */
.dp.dashboard-v2 {
  --dash-ink: #182332; --dash-accent: #765334; --dash-line: #e2dbd0;
  --dash-paper: #f8f6f1; --dash-muted: #706b64;
  width: 92%; max-width: none; margin: 36px auto 64px; padding: 0;
  color: var(--dash-ink);
}
.dp.dashboard-v2 .layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 30px; align-items: start; }
.dp.dashboard-v2 .layout > section { min-width: 0; }
.dp.dashboard-v2 .panel { border: 1px solid var(--dash-line); border-radius: 10px; padding: 26px; margin: 0 0 24px; background: #fff; }
.dp.dashboard-v2 .side { position: sticky; top: 24px; padding: 24px 14px; max-height: calc(100vh - 48px); overflow: auto; }
.dp.dashboard-v2 .side h2 { font-size: 26px; margin: 0 12px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--dash-line); }
.dp.dashboard-v2 .side a { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 3px 0; border: 0; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--dash-ink); text-decoration: none; }
.dp.dashboard-v2 .side a::before { content: ''; width: 17px; height: 17px; flex: 0 0 17px; background: currentColor; mask: var(--nav-icon) center / contain no-repeat; -webkit-mask: var(--nav-icon) center / contain no-repeat; }
.dp.dashboard-v2 .side a:nth-of-type(1) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22/%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22/%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(2) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(3) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016%2016%204l4%204L8%2020H4z%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(4) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M12%207v10M7%2012h10%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(5) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M3%2012h18M12%203a15%2015%200%200%201%200%2018M12%203a15%2015%200%200%200%200%2018%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(6) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(7) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22/%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22/%3E%3Cpath%20d%3D%22m3%2018%206-6%204%204%203-3%205%205%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(8) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2016%2016%204l4%204L8%2020H4z%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(9) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020%204%2012a5%205%200%200%201%208-6%205%205%200%200%201%208%206z%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:nth-of-type(10) { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16M4%2012h16M4%2018h16%22/%3E%3Ccircle%20cx%3D%228%22%20cy%3D%226%22%20r%3D%222%22%20fill%3D%22white%22/%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2212%22%20r%3D%222%22%20fill%3D%22white%22/%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2218%22%20r%3D%222%22%20fill%3D%22white%22/%3E%3C/svg%3E"); }
.dp.dashboard-v2 .side a:hover, .dp.dashboard-v2 .side a:focus-visible { background: #f0ebe3; color: var(--dash-accent); }
.dp.dashboard-v2 .layout > section > .muted { font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--dash-accent); }
.dp.dashboard-v2 h1 { font-size: clamp(32px,3vw,46px); margin: 10px 0 22px; }
.dp.dashboard-v2 .hero { padding: 30px 34px; margin: 0 0 24px; background: linear-gradient(110deg,#eee5d8,#f8f4ed); border: 1px solid var(--dash-line); border-radius: 10px; }
.dp.dashboard-v2 .hero h2 { font-size: 30px; margin: 0 0 8px; }
.dp.dashboard-v2 .hero p { margin: 0 0 20px; color: var(--dash-muted); }
.dp.dashboard-v2 .btn { background: var(--dash-ink); color: white; border: 1px solid var(--dash-ink); padding: 11px 19px; border-radius: 5px; font-size: 14px; font-weight: 600; text-decoration: none; }
.dp.dashboard-v2 .btn.secondary { background: transparent; color: var(--dash-ink); }
.dp.dashboard-v2 .btn:hover { background: var(--dash-accent); border-color: var(--dash-accent); color: white; }
.dp.dashboard-v2 .stats { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin: 0 0 24px; }
.dp.dashboard-v2 .stat { display: flex; flex-direction: column; justify-content: center; min-height: 104px; padding: 17px; border: 1px solid var(--dash-line); border-radius: 8px; background: white; color: var(--dash-muted); font-size: 13px; text-decoration: none; }
.dp.dashboard-v2 .stat strong { font: 34px/1.1 Georgia,serif; color: var(--dash-ink); margin-bottom: 8px; }
.dp.dashboard-v2 .stat:hover, .dp.dashboard-v2 .stat[aria-current=true] { background: #f0e8db; border-color: #b69b7e; }
.dp.dashboard-v2 .dash-tabs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 26px; padding: 0 0 0; border-bottom: 1px solid var(--dash-line); }
.dp.dashboard-v2 .dash-tabs a { display: block; padding: 12px 9px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--dash-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.dp.dashboard-v2 .dash-tabs a:hover, .dp.dashboard-v2 .dash-tabs a[aria-current=true] { color: var(--dash-ink); background: transparent; border-bottom-color: var(--dash-accent); }
.dp.dashboard-v2 .dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.dp.dashboard-v2 .dash-section-head h2 { font-size: 28px; margin: 0; }
.dp.dashboard-v2 .dash-section-head > a { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--dash-line); border-radius: 5px; font-size: 13px; font-weight: 600; color: var(--dash-accent); text-decoration: none; }
.dp.dashboard-v2 .dash-section-head > a:hover { background: var(--dash-paper); border-color: var(--dash-accent); }
.dp.dashboard-v2 .dash-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: stretch; }
.dp.dashboard-v2 .dash-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--dash-line); border-radius: 8px; background: #fff; }
.dp.dashboard-v2 .dash-cover { position: relative; display: block; width: 100%; aspect-ratio: 16/10; height: auto; overflow: hidden; background: #eee8df; color: var(--dash-muted); text-decoration: none; }
.dp.dashboard-v2 .dash-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; transition: transform .25s ease; }
.dp.dashboard-v2 .dash-cover:hover img { transform: scale(1.025); }
.dp.dashboard-v2 .dash-cover span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; }
.dp.dashboard-v2 .dash-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px; min-width: 0; }
.dp.dashboard-v2 .dash-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--dash-accent); overflow-wrap: anywhere; }
.dp.dashboard-v2 .dash-card h3 { font: 23px/1.3 Georgia,serif; margin: 9px 0; overflow-wrap: anywhere; }
.dp.dashboard-v2 .dash-card h3 a { color: var(--dash-ink); text-decoration: none; }
.dp.dashboard-v2 .dash-card h3 a:hover { color: var(--dash-accent); }
.dp.dashboard-v2 .dash-card .muted { font-size: 12px; color: var(--dash-muted); }
.dp.dashboard-v2 .dash-status { margin: 10px 0 18px; font-size: 12px; color: var(--dash-muted); background: var(--dash-paper); border-radius: 4px; padding: 4px 8px; }
.dp.dashboard-v2 .dash-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--dash-line); }
.dp.dashboard-v2 .dash-card-actions a, .dp.dashboard-v2 .dash-card-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; min-height: 36px; border: 1px solid var(--dash-line); border-radius: 5px; background: #fff; color: var(--dash-ink); font: 13px/1.2 Arial,sans-serif; text-decoration: none; white-space: nowrap; }
.dp.dashboard-v2 .dash-card-actions a:first-child { background: var(--dash-ink); border-color: var(--dash-ink); color: white; }
.dp.dashboard-v2 .dash-card-actions form { margin: 0 0 0 auto; }
.dp.dashboard-v2 .dash-card-actions button { color: #a23d37; }
.dp.dashboard-v2 .dash-card-actions a:hover { background: #eee8df; color: var(--dash-ink); }
.dp.dashboard-v2 .dash-card-actions button:hover { background: #f9eeec; border-color: #d9aaa4; }
.dp.dashboard-v2 #dash-content > nav.actions a { padding: 9px 16px; background: white; border: 1px solid var(--dash-line); border-radius: 5px; text-decoration: none; }
.dp.dashboard-v2 a:focus-visible, .dp.dashboard-v2 button:focus-visible { outline: 2px solid var(--dash-accent); outline-offset: 3px; }
@media (max-width: 1450px) { .dp.dashboard-v2 .stats { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 1200px) { .dp.dashboard-v2 .layout { grid-template-columns: 220px minmax(0,1fr); gap: 20px; } .dp.dashboard-v2 .dash-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 850px) { .dp.dashboard-v2 .layout { grid-template-columns: minmax(0,1fr); } .dp.dashboard-v2 .side { position: static; display: block; max-height: none; } .dp.dashboard-v2 .dash-cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); } }
@media (prefers-reduced-motion: reduce) { .dp.dashboard-v2 .dash-cover img { transition: none; } }
