/* Modern controls within the original dashboard. No hero or page-wide overrides. */
.home-welcome.home-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
    align-items: center;
    gap: 16px 24px;
    padding-bottom: 12px;
}
.home-controls .home-controls__intro { min-width: 0; }
.home-controls .home-controls__intro p { margin-bottom: 0; }
.home-controls .home-quick-search {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 84px;
    min-width: 0;
    height: 44px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--divider-strong);
    border-radius: 5px;
    background: #101d26;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}
.home-quick-search > span { display: grid; place-items: center; }
.home-quick-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #bdcdd6;
    stroke-linecap: round;
    stroke-width: 1.7;
}
.home-controls .home-quick-search input {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0 8px 0 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #edf3f6;
    font: inherit;
    font-size: 12px;
}
.home-controls .home-quick-search input::placeholder { color: #adbec9; opacity: 1; }
.home-controls .home-quick-search button {
    height: 100%;
    min-height: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: #b84408;
    color: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.home-controls .home-quick-search button:hover { background: #933305; }
.home-controls .home-quick-search:focus-within {
    border-color: #ed7b3c;
    outline: 2px solid #ed7b3c;
    outline-offset: 2px;
}
.home-controls .home-shortcuts {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}
.home-shortcuts > a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid #394b57;
    border-radius: 5px;
    background: linear-gradient(120deg, #14232d, #0d1921);
    color: #edf3f6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease;
}
.home-shortcuts > a:hover,
.home-shortcuts > a:focus-visible { border-color: #ed7b3c; background: #1b303e; color: #fff; }
.home-shortcuts > a:focus-visible { outline: 2px solid #ed7b3c; outline-offset: 2px; }
.home-shortcuts svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #ff9256;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}
.home-shortcuts span { display: grid; min-width: 0; gap: 4px; }
.home-shortcuts strong { color: #edf3f6; font-size: 12px; line-height: 1.25; }
.home-shortcuts small { color: #b4c4ce; font-size: 10px; line-height: 1.3; }
.home-shortcuts b { color: #c3d1da; font-size: 22px; font-weight: 400; }

html[data-theme="light"] .home-controls .home-quick-search { background: #fff; border-color: #acbdc7; }
html[data-theme="light"] .home-controls .home-quick-search input { color: #20333f; }
html[data-theme="light"] .home-controls .home-quick-search input::placeholder { color: #526976; }
html[data-theme="light"] .home-quick-search svg { stroke: #425c6b; }
html[data-theme="light"] .home-shortcuts > a { background: #fff; border-color: #b6c6cf; color: #20333f; box-shadow: 0 4px 14px rgba(28, 47, 59, .07); }
html[data-theme="light"] .home-shortcuts strong,
html[data-theme="light"] .home-shortcuts b { color: #20333f; }
html[data-theme="light"] .home-shortcuts small { color: #425c6b; }
html[data-theme="light"] .home-shortcuts svg { stroke: #b7470b; }
html[data-theme="light"] .home-shortcuts > a:hover,
html[data-theme="light"] .home-shortcuts > a:focus-visible { background: #fff4eb; border-color: #b7470b; }

@media (max-width: 1000px) {
    .home-controls .home-shortcuts { gap: 8px; }
    .home-shortcuts > a { padding: 10px; gap: 8px; }
}
@media (max-width: 760px) {
    .home-welcome.home-controls { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .home-controls .home-quick-search { width: 100%; }
    .home-controls .home-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
    .home-shortcuts > a { grid-template-columns: 22px minmax(0, 1fr); padding: 10px 8px; }
    .home-shortcuts svg { width: 22px; height: 22px; }
    .home-shortcuts b { display: none; }
    .home-shortcuts strong { font-size: 11px; }
    .home-shortcuts small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-shortcuts > a { transition: none; }
}
