/* ============================================================
   ÜNİTERCİH 360 — Aday Paneli (site içi)
   Profil sayfası hissi; net alan ayrımı, kurumsal tonlar.
   ============================================================ */

.page-dashboard {
    background: var(--ink-100);
}

.page-dashboard .site-footer {
    margin-top: 0;
}

.page-dashboard .btn.is-active {
    border-color: var(--brand-300);
    background: var(--brand-50);
    color: var(--brand-700);
}

/* Dashboard renkleri */
:root {
    --dash-bg:       #f1f5f9;
    --txt-soft:      #64748b;
    --txt-mid:       #475569;
    --txt-main:      #1e293b;
    --accent-soft:   #5e74a8;
    --accent-mid:    #3c5180;
    --ring-track:    #e2e8f0;
    --ring-fill:     #3c5180;
}

/* Kurumsal aksan buton */
.page-dashboard .btn--accent {
    background: var(--brand-700);
    color: #fff;
    border: 1px solid var(--brand-700);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}
.page-dashboard .btn--accent:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
}
.page-dashboard .btn--ghost {
    background: #fff;
    border: 1px solid var(--ink-200);
    color: var(--txt-mid);
}
.page-dashboard .btn--ghost:hover {
    background: var(--ink-50);
    border-color: var(--brand-300);
    color: var(--brand-700);
}

/* Renk tonları (ikon / vurgu) */
.tone-blue   { --t-bg: #eef3fb; --t-fg: #3c5180; --t-bd: #c4cee6; }
.tone-teal   { --t-bg: #ecf6f4; --t-fg: #2d6a5f; --t-bd: #b8ddd4; }
.tone-amber  { --t-bg: #fef8ee; --t-fg: #92610a; --t-bd: #f0ddb8; }
.tone-rose   { --t-bg: #fdf2f4; --t-fg: #9f3d4f; --t-bd: #f0ccd3; }
.tone-green  { --t-bg: #eef6f0; --t-fg: #2d6a3e; --t-bd: #c8e6d0; }
.tone-sky    { --t-bg: #edf6fa; --t-fg: #2a6178; --t-bd: #c0e0ed; }
.tone-slate  { --t-bg: #f1f5f9; --t-fg: #475569; --t-bd: #dde3ec; }

/* ============================================================
   Sayfa iskeleti — sol menü + içerik
   ============================================================ */
.dash-page {
    padding: 1.5rem 0 3rem;
}

/* Mobil menü açma butonu */
.dash-side-toggle {
    display: none;
    align-items: center;
    gap: .5rem;
    width: 100%;
    margin-bottom: 1rem;
    padding: .65rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--txt-mid);
    font-size: .9rem;
    font-weight: 500;
}
.dash-side-toggle .icon { color: var(--accent-soft); }

.dash-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.dash-page__top { margin-bottom: 1.25rem; }
.dash-page__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.4vw, 1.55rem);
    font-weight: 600;
    color: var(--txt-main);
    letter-spacing: -.01em;
}
.dash-page__lead {
    margin: .45rem 0 0;
    font-size: .95rem;
    font-weight: 400;
    color: var(--txt-soft);
    max-width: 52ch;
}
.dash-page__body { margin-top: 0; }

/* ---------- Sol menü ---------- */
.dash-side {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    max-height: calc(100dvh - var(--header-h) - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    padding: .85rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    box-shadow: var(--shadow-sm);
    scrollbar-width: thin;
    scrollbar-color: #d8dee8 transparent;
}
.dash-side::-webkit-scrollbar {
    width: 4px;
}
.dash-side::-webkit-scrollbar-track {
    background: transparent;
}
.dash-side::-webkit-scrollbar-thumb {
    background: #d8dee8;
    border-radius: 999px;
}
.dash-side::-webkit-scrollbar-thumb:hover {
    background: #c5cedc;
}

.dash-side__profile {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f4f8;
}
.dash-side__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-700);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    flex: none;
}
.dash-side__profile-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-side__profile-name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--txt-main);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dash-side__profile-mail {
    font-size: .76rem;
    font-weight: 400;
    color: var(--txt-soft);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dash-side__close { display: none; border: 0; background: transparent; color: var(--txt-soft); padding: .3rem; border-radius: 8px; }
.dash-side__close:hover { background: #f1f5f9; }

.dash-side__nav { flex: 1; }
.dash-side__group {
    margin: 0 0 .4rem;
    padding: 0 .25rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #a3afbe;
}
.dash-side__group:not(:first-child) { margin-top: 1rem; }
.dash-side__group--primary {
    margin-top: 1.15rem;
    padding: .35rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--brand-700, #1e3a6e);
    background: var(--brand-50, #eef3fc);
    border-radius: 8px;
}
.dash-side__list { display: flex; flex-direction: column; gap: 3px; margin-bottom: .25rem; }

.dash-side__link {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .55rem;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--txt-mid);
    transition: background .15s ease, color .15s ease;
}
.dash-side__ico {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--t-bg, #eef1f6);
    color: var(--t-fg, #6b7c93);
    flex: none;
    transition: background .15s ease, color .15s ease;
}
.dash-side__ico .icon { width: 16px; height: 16px; }
.dash-side__label { flex: 1; }

.dash-side__link--blue  { --t-bg: #e8f0fa; --t-fg: #5a84b3; }
.dash-side__link--teal  { --t-bg: #e4f4f1; --t-fg: #4f9489; }
.dash-side__link--sky   { --t-bg: #e6f3f8; --t-fg: #4a8aa4; }
.dash-side__link--amber { --t-bg: #faf3e6; --t-fg: #b8883a; }
.dash-side__link--rose  { --t-bg: #faeef0; --t-fg: #b06877; }
.dash-side__link--green { --t-bg: #eef6ee; --t-fg: #5a9165; }
.dash-side__link--slate { --t-bg: #eef1f6; --t-fg: #6b7c93; }

.dash-side__link:hover { background: #f6f8fb; }
.dash-side__link.is-active {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
    border: 1px solid var(--brand-200);
}
.dash-side__link.is-active .dash-side__ico { background: var(--brand-700); color: #fff; }

.dash-side__link.is-soon { color: #a3afbe; cursor: default; }
.dash-side__link.is-soon .dash-side__ico { opacity: .65; }
.dash-side__badge {
    font-size: .62rem;
    font-weight: 500;
    color: #94a3b8;
    background: #f1f4f8;
    padding: .12rem .4rem;
    border-radius: 999px;
}

.dash-side__logout { margin: 0; padding-top: 1rem; border-top: 1px solid #f1f4f8; }
.dash-side__logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .6rem;
    border: 1px solid #eadcdf;
    border-radius: 10px;
    background: #fbf2f3;
    color: #b06877;
    font-size: .86rem;
    font-weight: 500;
    transition: background .15s ease;
}
.dash-side__logout-btn:hover { background: #f7e6e8; }
.dash-side__logout-text { flex: none; }

/* Menü daralt / genişlet */
.dash-side__collapse {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: .5rem;
    padding: .55rem .65rem;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: var(--ink-50);
    color: var(--txt-mid);
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
.dash-side__collapse:hover { background: #fff; color: var(--brand-700); }
.dash-side__collapse-ico { transition: transform .2s ease; }

.dash-side__avatar--img {
    object-fit: cover;
    display: block;
}

/* Daraltılmış menü (masaüstü) */
@media (min-width: 881px) {
    .dash-side__collapse { display: flex; }

    .dash-layout.is-collapsed {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .dash-layout.is-collapsed .dash-side {
        padding: .75rem .5rem;
        align-items: center;
    }
    .dash-layout.is-collapsed .dash-side__profile {
        flex-direction: column;
        align-items: center;
        padding-bottom: .75rem;
        gap: .35rem;
    }
    .dash-layout.is-collapsed .dash-side__profile-info,
    .dash-layout.is-collapsed .dash-side__close,
    .dash-layout.is-collapsed .dash-side__group,
    .dash-layout.is-collapsed .dash-side__label,
    .dash-layout.is-collapsed .dash-side__badge,
    .dash-layout.is-collapsed .dash-side__logout-text,
    .dash-layout.is-collapsed .dash-side__collapse-text {
        display: none;
    }
    .dash-layout.is-collapsed .dash-side__link {
        justify-content: center;
        padding: .55rem;
    }
    .dash-layout.is-collapsed .dash-side__logout-btn {
        padding: .55rem;
        width: 42px;
        height: 42px;
    }
    .dash-layout.is-collapsed .dash-side__collapse-ico {
        transform: rotate(180deg);
    }
    .dash-layout.is-collapsed .dash-side__collapse {
        padding: .55rem;
        width: 42px;
        height: 42px;
    }
}

.dash-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 90; }

/* ============================================================
   Profil kapak alanı (Genel bakış)
   ============================================================ */
.dash-profile {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.dash-profile__cover {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--brand-800);
}
.dash-profile__cover-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.dash-profile__upload { margin: 0; }
.dash-profile__upload--cover {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
}
.dash-profile__upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.dash-profile__upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .6);
    color: var(--brand-700);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .15s ease;
}
.dash-profile__upload-btn:hover { background: #fff; }
.dash-profile__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0 1.5rem 1.25rem;
    margin-top: -44px;
    position: relative;
    flex-wrap: wrap;
}
.dash-profile__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}
.dash-profile__avatar-wrap {
    position: relative;
    flex: none;
}
.dash-profile__avatar {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--brand-700);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    flex: none;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
}
.dash-profile__avatar--img {
    display: block;
    object-fit: cover;
}
.dash-profile__upload--avatar {
    position: absolute;
    right: 0;
    bottom: 0;
}
.dash-profile__avatar-edit {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-700);
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .2);
    transition: background .15s ease;
}
.dash-profile__avatar-edit:hover { background: var(--brand-600); }
.dash-profile__info { flex: 1; min-width: 200px; padding-top: 2.75rem; }
.dash-profile__name {
    margin: 0 0 .2rem;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.02em;
    line-height: 1.2;
}
.dash-profile__headline {
    margin: 0 0 .35rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--brand-600);
}
.dash-profile__meta {
    margin: 0 0 .25rem;
    font-size: .88rem;
    color: var(--txt-soft);
}
.dash-profile__target {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: .35rem 0 0;
    font-size: .82rem;
    font-weight: 500;
    color: var(--txt-mid);
    background: var(--ink-100);
    padding: .25rem .65rem;
    border-radius: 999px;
    border: 1px solid var(--ink-200);
}
.dash-profile__target .icon { color: var(--brand-500); }
.dash-profile__edit-link {
    display: inline-block;
    margin-top: .45rem;
    font-size: .84rem;
    font-weight: 500;
    color: var(--brand-600);
}
.dash-profile__edit-link:hover { text-decoration: underline; }
.dash-profile__completion {
    flex: none;
    width: min(100%, 200px);
    padding: .85rem 1rem;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    margin-top: 2.75rem;
}
.dash-profile__completion-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .6rem;
}
.dash-profile__completion-pct {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-700);
    line-height: 1;
}
.dash-profile__completion-lbl {
    font-size: .74rem;
    font-weight: 500;
    color: var(--txt-soft);
}
.dash-profile__completion-track {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: var(--ink-200);
    overflow: hidden;
}
.dash-profile__completion-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--brand-500);
    transition: width .45s ease;
}

/* İstatistik kartları */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-bottom: 1.25rem;
}
.dstat {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--t-fg, var(--brand-400));
}
.dstat--blue  { --t-fg: #3c5180; }
.dstat--teal  { --t-fg: #2d6a5f; }
.dstat--amber { --t-fg: #92610a; }
.dstat--rose  { --t-fg: #9f3d4f; }
.dstat--green { --t-fg: #2d6a3e; }
.dstat--sky   { --t-fg: #2a6178; }
.dstat--slate { --t-fg: #475569; }
.dstat__ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: .2rem;
    background: var(--t-bg, var(--ink-100));
    color: var(--t-fg, var(--brand-600));
}
.dstat--blue  .dstat__ico { background: #eef3fb; color: #3c5180; }
.dstat--teal  .dstat__ico { background: #ecf6f4; color: #2d6a5f; }
.dstat--amber .dstat__ico { background: #fef8ee; color: #92610a; }
.dstat--slate .dstat__ico { background: #f1f5f9; color: #475569; }
.dstat__val {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--txt-main);
    line-height: 1.2;
}
.dstat__lbl {
    font-size: .8rem;
    color: var(--txt-soft);
    font-weight: 400;
}

/* Grid */
.dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}
.dash-aside { display: flex; flex-direction: column; gap: 1rem; }

/* Panel kartları */
.dash-panel {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    padding: 1.25rem;
}
.dash-panel--raised {
    box-shadow: var(--shadow-sm);
}
.dash-panel--sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
.dash-panel__head { margin-bottom: 1rem; }
.dash-panel__head--row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.dash-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}
.panel-qr-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.panel-qr-links .btn {
    min-width: 2.6rem;
    justify-content: center;
    padding-inline: .55rem;
}
.dash-panel__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--txt-main);
}
.dash-panel__sub {
    font-size: .84rem;
    color: var(--txt-soft);
    font-weight: 400;
    margin: .2rem 0 0;
}
.dash-panel__link {
    font-size: .84rem;
    font-weight: 500;
    color: var(--accent-mid);
    white-space: nowrap;
}
.dash-panel__link:hover { text-decoration: underline; }

/* Modül kartları — her biri farklı renk */
.dash-modules { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.dash-module {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dash-module--blue  { --t-fg: #3c5180; }
.dash-module--teal  { --t-fg: #2d6a5f; }
.dash-module--amber { --t-fg: #92610a; }
.dash-module--rose  { --t-fg: #9f3d4f; }
.dash-module--green { --t-fg: #2d6a3e; }
.dash-module--sky   { --t-fg: #2a6178; }
.dash-module:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--brand-300);
}
.dash-module__ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--t-bg, var(--ink-100));
    color: var(--t-fg, var(--brand-600));
    flex: none;
}
.dash-module--blue  .dash-module__ico { background: #eef3fb; color: #3c5180; }
.dash-module--teal  .dash-module__ico { background: #ecf6f4; color: #2d6a5f; }
.dash-module--amber .dash-module__ico { background: #fef8ee; color: #92610a; }
.dash-module--rose  .dash-module__ico { background: #fdf2f4; color: #9f3d4f; }
.dash-module--green .dash-module__ico { background: #eef6f0; color: #2d6a3e; }
.dash-module--sky   .dash-module__ico { background: #edf6fa; color: #2a6178; }
.dash-module__ico .icon { width: 20px; height: 20px; }
.dash-module__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1; }
.dash-module__label {
    font-weight: 600;
    color: var(--txt-main);
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.dash-module__desc { font-size: .78rem; color: var(--txt-soft); font-weight: 400; }
.dash-module__arrow { color: var(--t-fg, #b0bec9); flex: none; opacity: .7; }
.dash-module:hover .dash-module__arrow { opacity: 1; }
.dash-module__soon {
    font-size: .62rem;
    font-weight: 500;
    color: var(--t-fg, #b8883a);
    background: #fff;
    padding: .1rem .4rem;
    border-radius: 999px;
}
.dash-module.is-soon { opacity: .85; cursor: default; }
.dash-module.is-soon:hover { transform: none; box-shadow: none; }
.dash-module.is-soon .dash-module__ico { opacity: .75; }

/* Son portfolyo (genel bakış) */
.dash-recent { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.dash-recent__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .65rem;
    padding: .7rem .75rem;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dash-recent__item:hover {
    border-color: var(--brand-300);
    box-shadow: var(--shadow-sm);
}
.dash-recent__ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    flex: none;
}
.dash-recent__ico .icon { width: 18px; height: 18px; }
.dash-recent__body { min-width: 0; }
.dash-recent__cat {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    color: #2d6a5f;
    background: #ecf6f4;
    border: 1px solid #b8ddd4;
    padding: .12rem .4rem;
    border-radius: 999px;
    margin-bottom: .2rem;
}
.dash-recent__title {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--txt-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dash-recent__date {
    font-size: .76rem;
    font-weight: 500;
    color: var(--txt-soft);
    white-space: nowrap;
    flex: none;
}

/* Boş durum */
.dash-empty { text-align: center; padding: 1.25rem .75rem; color: var(--txt-soft); }
.dash-empty .icon { width: 36px; height: 36px; color: #cbd5e1; margin: 0 auto .45rem; }
.dash-empty p { margin: 0 0 .85rem; font-size: .88rem; font-weight: 400; }

/* İlerleme */
.dash-progress { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.dash-progress__bar { flex: 1; height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.dash-progress__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand-500); transition: width .4s ease; }
.dash-progress__num { font-size: .86rem; font-weight: 600; color: var(--txt-mid); }
.dash-tip__text { font-size: .84rem; color: var(--txt-soft); font-weight: 400; margin: 0 0 .85rem; }

/* ============================================================
   Formlar
   ============================================================ */
.dash-form { display: flex; flex-direction: column; gap: 1rem; }
.dash-panel + .dash-panel,
.dash-form .dash-panel { margin-top: 1rem; }
.dash-form > .dash-panel:first-child { margin-top: 0; }
.dash-form__actions { display: flex; justify-content: flex-end; margin-top: 1rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .84rem; font-weight: 500; color: var(--txt-mid); }
.field__opt { font-weight: 400; color: #94a3b8; font-size: .78rem; }
.field__hint { font-size: .76rem; color: #94a3b8; }
.field__input {
    width: 100%;
    font: inherit;
    font-size: .9rem;
    font-weight: 400;
    color: var(--txt-main);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: .6rem .75rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input::placeholder { color: #b0bec9; }
.field__input:focus {
    outline: none;
    border-color: #b8cce4;
    box-shadow: 0 0 0 3px rgba(123, 163, 204, .18);
}
.field__input:disabled { background: #f8fafc; color: #94a3b8; cursor: not-allowed; }
.field__select { appearance: none; cursor: pointer; }
.field__textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
.field.is-invalid .field__input { border-color: #f0a8a8; }
.field__error { font-size: .78rem; color: #c45c5c; font-weight: 500; }

.field__pw { position: relative; }
.field__pw .field__input { padding-right: 4rem; }
.field__pw-toggle {
    position: absolute;
    top: 50%;
    right: .45rem;
    transform: translateY(-50%);
    border: 0;
    background: #f1f5f9;
    color: var(--txt-soft);
    font-size: .74rem;
    font-weight: 500;
    padding: .3rem .5rem;
    border-radius: 7px;
}
.field__pw-toggle:hover { background: #e8edf3; color: var(--txt-mid); }

.pw-meter { height: 4px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.pw-meter__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: #cbd5e1; transition: width .2s ease, background .2s ease; }
.pw-meter[data-level="1"] .pw-meter__bar { width: 33%; background: #f0a8a8; }
.pw-meter[data-level="2"] .pw-meter__bar { width: 66%; background: #f0d090; }
.pw-meter[data-level="3"] .pw-meter__bar { width: 100%; background: #9ec5b8; }

.field__prefix { display: flex; align-items: stretch; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); overflow: hidden; }
.field__prefix:focus-within { border-color: #b8cce4; box-shadow: 0 0 0 3px rgba(123, 163, 204, .18); }
.field__prefix-text { display: flex; align-items: center; padding: 0 .55rem; background: #f8fafc; color: var(--txt-soft); font-size: .76rem; border-right: 1px solid #e2e8f0; white-space: nowrap; }
.field__prefix .field__input { border: 0; border-radius: 0; }
.field__prefix .field__input:focus { box-shadow: none; }

.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; margin-bottom: 1rem; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #e2e8f0; transition: background .15s ease; flex: none; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); transition: transform .15s ease; }
.switch input:checked + .switch__track { background: #9ec5b8; }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); }
.switch__label { font-size: .88rem; font-weight: 500; color: var(--txt-mid); }

.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--txt-soft); line-height: 1.5; }
.check input { margin-top: .15rem; accent-color: var(--accent-mid); }

/* Bölünmüş düzen */
.dash-split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1rem; align-items: start; }
.dash-split--narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.dash-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .76rem;
    font-weight: 500;
    color: #2d6a5f;
    background: #ecf6f4;
    border: 1px solid #b8ddd4;
    padding: .28rem .6rem;
    border-radius: 999px;
}

/* ============================================================
   Portfolyo (profesyonel)
   ============================================================ */

/* Kapak + süreç şeridi */
@keyframes port-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .55; }
    50% { transform: translate(-12px, 8px) scale(1.08); opacity: .85; }
}
@keyframes port-orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .45; }
    50% { transform: translate(10px, -12px) scale(1.12); opacity: .75; }
}
@keyframes port-svg-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes port-tag-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, .45); }
    50% { box-shadow: 0 0 0 6px rgba(240, 180, 41, 0); }
}
@keyframes port-shimmer {
    0% { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(220%) skewX(-18deg); }
}

.port-hero {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.port-hero__banner {
    position: relative;
    min-height: 118px;
    overflow: hidden;
    background: var(--ink-50);
}
.port-hero__art {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.port-hero__svg {
    position: absolute;
    top: 0;
    right: 0;
    width: min(62%, 640px);
    height: 100%;
    display: block;
    opacity: .95;
}
.port-hero__svg-node { animation: port-svg-float 4.5s ease-in-out infinite; transform-origin: center; }
.port-hero__svg-docs { animation: port-svg-float 5.2s ease-in-out infinite .6s; transform-origin: center; }
.port-hero__svg-burs { animation: port-svg-float 4.8s ease-in-out infinite 1.1s; transform-origin: center; }
.port-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}
.port-hero__orb--1 {
    width: 140px; height: 140px;
    top: -30px; right: 18%;
    background: rgba(148, 166, 207, .30);
    animation: port-orb-drift 6s ease-in-out infinite;
}
.port-hero__orb--2 {
    width: 100px; height: 100px;
    bottom: -20px; right: 8%;
    background: rgba(148, 166, 207, .24);
    animation: port-orb-drift-2 5s ease-in-out infinite .8s;
}
.port-hero__orb--3 {
    width: 80px; height: 80px;
    top: 40%; right: 42%;
    background: rgba(148, 166, 207, .20);
    animation: port-orb-drift 7s ease-in-out infinite 1.4s;
}
.port-hero__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, .55);
    pointer-events: none;
}
.port-hero__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 1.5rem 1.05rem;
    max-width: 58%;
}
.port-hero__overlay::before {
    content: '';
    position: absolute;
    top: 0; left: -40%;
    width: 40%;
    height: 100%;
    background: none;
    animation: port-shimmer 7s ease-in-out infinite;
    pointer-events: none;
}
.port-hero__eyebrow {
    margin: 0 0 .3rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #92610a;
}
.port-hero__title {
    margin: 0 0 .4rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--txt-main);
    line-height: 1.15;
    letter-spacing: -.02em;
}
.port-hero__lead {
    margin: 0;
    max-width: 32rem;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--txt-mid);
}
.port-hero__path {
    padding: 1rem 1.15rem 1.1rem;
    background: #f8fafc;
    border-top: 1px solid var(--ink-200);
}
.port-hero__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: .65rem;
}
.port-hero__steps--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.port-hero__step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .8rem .85rem;
    border-radius: 12px;
    border: 1px solid var(--ink-200);
    border-top: 3px solid transparent;
    background: #fff;
    min-width: 0;
    height: 100%;
    box-shadow: 0 2px 8px rgba(29, 43, 76, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.port-hero__step-main {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    min-width: 0;
    flex: 1 1 auto;
}
.port-hero__step.is-active {
    border-color: #94a6cf;
    border-top: 3px solid #3c5180;
    background: #fff;
    box-shadow: 0 4px 14px rgba(60, 81, 128, .12);
}
.port-hero__step.is-done {
    border-color: #b8ddd4;
    border-top: 3px solid #2d9a8a;
    background: #fff;
}
.port-hero__step.is-next {
    opacity: .82;
    background: #fafbfc;
}
.port-hero__step.is-soon {
    border-style: dashed;
    border-color: #cdd9e8;
    background: #fafbfc;
}
.port-hero__step-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: #e8f0fa;
    color: #3c5180;
}
.port-hero__step.is-done .port-hero__step-ico {
    background: var(--brand-600);
    color: #fff;
}
.port-hero__step.is-active .port-hero__step-ico {
    background: var(--accent-500);
    color: #fff;
    box-shadow: 0 2px 8px rgba(225, 29, 47, .35);
}
.port-hero__step.is-soon .port-hero__step-ico {
    background: #eef1f6;
    color: #64748b;
}
.port-hero__step-body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
    flex: 1;
}
.port-hero__step-label {
    font-size: .82rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}
.port-hero__step-desc {
    font-size: .72rem;
    color: #64748b;
    line-height: 1.35;
}
.port-hero__step-tag {
    margin-top: auto;
    align-self: flex-start;
    font-size: .64rem;
    font-weight: 700;
    padding: .2rem .45rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: .02em;
}
.port-hero__step-tag--done {
    color: #fff;
    background: var(--brand-600);
    border: none;
}
.port-hero__step-tag--active {
    color: #fff;
    background: var(--accent-500);
    border: none;
    animation: port-tag-pulse 2.2s ease-in-out infinite;
}
.port-hero__step-tag--soon {
    color: #475569;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
}
.port-hero__connector {
    align-self: center;
    display: flex;
    align-items: center;
    width: 1.5rem;
}
.port-hero__connector span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink-200);
    border-radius: 999px;
}

.port-narrative {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.port-narrative__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.port-narrative__block {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--ink-200);
    background: #fafbfd;
}
.port-narrative__block-title {
    margin: 0 0 .45rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--txt-main);
}
.port-narrative__lead {
    margin: 0 0 .55rem;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--txt-mid);
}
.port-narrative__tips {
    margin: 0 0 .65rem;
    padding-left: 1.15rem;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--txt-mid);
}
.port-narrative__tips li + li { margin-top: .25rem; }
.port-narrative__hint {
    margin: 0 0 .75rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    border-left: 3px solid #2563eb;
    background: #eff6ff;
    font-size: .82rem;
    line-height: 1.45;
    color: #1e3a8a;
}
.port-narrative__textarea {
    min-height: 10rem;
    resize: vertical;
    line-height: 1.55;
}
.port-narrative__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    padding-top: .15rem;
}
.port-narrative__lock {
    font-size: .8rem;
    color: var(--txt-mid);
}

.port-hero__step--action .port-hero__step-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .55rem;
    flex: 1;
    width: 100%;
    min-height: 100%;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease, box-shadow .15s ease;
}
.port-hero__step--action.is-active .port-hero__step-link:hover {
    background: transparent;
    box-shadow: none;
}
.port-hero__step--action.is-done .port-hero__step-link:hover {
    background: transparent;
}

/* Adım sekmeleri (tab) */
.port-hero__steps--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.port-hero__step-link {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .55rem;
    flex: 1;
    min-height: 100%;
}
.port-hero__step-link--locked {
    cursor: default;
    opacity: .85;
}
a.port-hero__step-link {
    text-decoration: none;
    color: inherit;
}
.port-hero__step-link--current {
    cursor: default;
}
.port-hero__step-link:focus-visible {
    outline: 2px solid #3c5180;
    outline-offset: 3px;
    border-radius: 8px;
}
.port-hero__step:not(.port-hero__step--action) .port-hero__step-link:hover .port-hero__step-label {
    color: #3c5180;
}
.port-hero__step.is-current {
    border-color: #3c5180;
    box-shadow: 0 0 0 2px rgba(60, 81, 128, .25), 0 6px 16px rgba(60, 81, 128, .14);
    transform: translateY(-1px);
}
.port-hero__step.is-current .port-hero__step-ico {
    background: var(--brand-500);
    color: #fff;
}

/* Sekme panelleri */
.port-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.port-tabpanel[hidden] { display: none; }
.port-tabpanel > section:first-child { margin-top: 0; }
.port-tabpanel .port-narrative { margin-top: 0; }

.burs-page { display: flex; flex-direction: column; gap: 1rem; margin-top: 0; }
.burs-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.15rem;
}
.burs-page__intro {
    margin: 0;
    max-width: 42rem;
}
.burs-page__stats {
    display: flex;
    gap: 1.25rem;
    margin: 0;
}
.burs-page__stats dt {
    margin: 0 0 .15rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--txt-soft);
}
.burs-page__stats dd {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--txt-main);
}
.burs-page__back { margin-top: .25rem; }

.burs-my-apps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.burs-my-apps__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding: .65rem .85rem;
    border-radius: 10px;
    border: 1px solid var(--ink-200);
    background: #fafbfd;
}
.burs-my-apps__info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    font-size: .84rem;
    color: var(--txt-mid);
}
.burs-my-apps__info strong { color: var(--txt-main); font-size: .92rem; }
.burs-my-apps__info time { font-size: .75rem; color: var(--txt-soft); }

.burs-catalog { display: flex; flex-direction: column; gap: 1rem; }
.burs-uni__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--ink-200);
}
.burs-uni__name { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 800; }
.burs-uni__city { margin: 0; font-size: .82rem; color: var(--txt-soft); }
.burs-uni__program { margin: .35rem 0 0; font-size: .88rem; font-weight: 600; color: #0d7a5f; }
.burs-uni__summary { margin: .35rem 0 0; font-size: .84rem; line-height: 1.45; color: var(--txt-mid); max-width: 42rem; }
.burs-uni__quota { text-align: right; }
.burs-uni__quota-label { display: block; font-size: .72rem; color: var(--txt-soft); }
.burs-uni__quota-value { font-size: 1.1rem; font-weight: 800; color: #1d4ed8; }

.burs-programs { display: flex; flex-direction: column; gap: .65rem; }
.burs-program {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .75rem 1rem;
    align-items: center;
    padding: .75rem .85rem;
    border-radius: 12px;
    border: 1px solid var(--ink-200);
    background: #fff;
}
.burs-program.is-applied { border-color: #7ecdb8; background: #f8fdfa; }
.burs-program__title { margin: 0 0 .15rem; font-size: .92rem; font-weight: 700; }
.burs-program__faculty { margin: 0; font-size: .78rem; color: var(--txt-soft); }
.burs-program__badge {
    display: inline-block;
    margin-top: .35rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    background: #eef4ff;
    color: #1e40af;
}
.burs-program__note { margin: .35rem 0 0; font-size: .78rem; color: var(--txt-mid); }
.burs-program__tiers {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .78rem;
    color: var(--txt-mid);
    min-width: 9rem;
}
.burs-program__tiers li + li { margin-top: .2rem; }
.burs-program__status {
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.burs-program__status--ok { color: #0d7a5f; }
.burs-program__status--full { color: #b45309; }

@media (max-width: 760px) {
    .burs-program {
        grid-template-columns: 1fr;
    }
    .burs-program__action { justify-self: start; }
    .burs-uni__quota { text-align: left; }
}

@media (max-width: 1080px) {
    .port-hero__steps--4,
    .port-hero__steps--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1081px) and (max-width: 1320px) {
    .port-hero__steps--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .port-hero__svg-node,
    .port-hero__svg-docs,
    .port-hero__svg-burs,
    .port-hero__orb,
    .port-hero__overlay::before,
    .port-hero__step-tag--active {
        animation: none;
    }
}

/* Özet şeridi */
.port-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.port-summary__stat { display: flex; flex-direction: column; }
.port-summary__val { font-size: 1.3rem; font-weight: 600; color: var(--txt-main); line-height: 1.1; }
.port-summary__lbl { font-size: .78rem; color: var(--txt-soft); }
.port-summary__share { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.port-summary__link { font-size: .82rem; font-weight: 500; color: var(--accent-mid); }
.port-summary__link:hover { text-decoration: underline; }

/* Yatay portfolyo formu — 2 sütun */
.port-form { margin-bottom: 1.1rem; }
.port-form__grid {
    gap: .85rem 1.25rem;
}
.port-form__files .filedrop__list { margin-top: .35rem; }
.port-form__files .filedrop--compact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: .85rem;
    min-height: 5rem;
}
.port-form__files .filedrop--compact .filedrop__hint { padding-left: 0; margin-top: 0; }
.port-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: .35rem;
}
.field__textarea--sm { min-height: 5rem; resize: vertical; }

/* Dosya yükleme alanı (filedrop) */
.filedrop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
    padding: 1.25rem 1rem;
    border: 1.5px dashed #cdd9e8;
    border-radius: 12px;
    background: #fafcff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.filedrop:hover, .filedrop.is-drag { border-color: var(--accent-soft); background: #f1f6fc; }
.filedrop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filedrop__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.filedrop__text { font-size: .88rem; font-weight: 500; color: var(--txt-mid); }
.filedrop__hint { font-size: .74rem; color: #94a3b8; }
.filedrop__list { display: flex; flex-direction: column; gap: .35rem; margin: .5rem 0 0; }
.filedrop__list:empty { display: none; }
.filedrop__chip {
    display: flex; align-items: center; gap: .5rem;
    padding: .4rem .6rem;
    background: #f1f5fa;
    border-radius: 8px;
    font-size: .8rem;
    color: var(--txt-mid);
}
.filedrop__chip .icon { color: var(--accent-soft); flex: none; }
.filedrop__chip-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filedrop__chip-size { color: #94a3b8; font-size: .74rem; }

/* Kompakt yatay dosya alanı */
.filedrop--compact {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: .5rem .75rem;
    padding: .65rem .85rem;
    min-height: 42px;
}
.filedrop--compact .filedrop__icon {
    width: 32px;
    height: 32px;
    flex: none;
}
.filedrop--compact .filedrop__text {
    font-size: .82rem;
    flex: 1;
    min-width: 120px;
}
.filedrop--compact .filedrop__hint {
    font-size: .7rem;
    width: 100%;
    padding-left: calc(32px + .75rem);
    margin-top: -.15rem;
}

/* Filtre çipleri */
.port-main { margin-top: .5rem; }
.port-main__head { margin-bottom: .85rem; }
.port-main__title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink-900); }
.port-main__sub { margin: .2rem 0 0; font-size: .82rem; color: var(--txt-soft); }
.port-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.port-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: var(--txt-mid);
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.port-chip span { font-weight: 600; color: #94a3b8; }
.port-chip:hover { border-color: #cdd9e8; }
.port-chip.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.port-chip.is-active span { color: rgba(255,255,255,.7); }

/* Portfolyo listesi */
.port-list-wrap { padding: 0; overflow: hidden; }
.port-list-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 130px;
    gap: .85rem 1rem;
    padding: .65rem 1.15rem;
    background: var(--ink-100);
    border-bottom: 1px solid var(--ink-200);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--txt-soft);
}
.port-list-head__col--side { text-align: right; }
.port-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.plist {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 130px;
    gap: .85rem 1rem;
    align-items: start;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--ink-200);
    background: #fff;
    transition: background .15s ease, box-shadow .15s ease;
}
.plist:nth-child(even) { background: #fafbfd; }
.plist:last-child { border-bottom: 0; }
.plist:hover {
    background: var(--brand-50);
    box-shadow: inset 3px 0 0 var(--t-fg, var(--brand-500));
}
.plist--blue  { --t-fg: #3c5180; --t-bg: #eef3fb; }
.plist--teal  { --t-fg: #2d6a5f; --t-bg: #ecf6f4; }
.plist--amber { --t-fg: #92610a; --t-bg: #fef8ee; }
.plist--rose  { --t-fg: #9f3d4f; --t-bg: #fdf2f4; }
.plist--green { --t-fg: #2d6a3e; --t-bg: #eef6f0; }
.plist--sky   { --t-fg: #2a6178; --t-bg: #edf6fa; }
.plist--slate { --t-fg: #475569; --t-bg: #f1f5f9; }

.plist__ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--t-bg);
    color: var(--t-fg);
    flex: none;
    margin-top: .1rem;
}
.plist__ico .icon { width: 20px; height: 20px; }

.plist__body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.plist__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem .85rem;
}
.plist__cat {
    font-size: .68rem;
    font-weight: 600;
    color: var(--t-fg);
    background: var(--t-bg);
    padding: .2rem .55rem;
    border-radius: 999px;
    flex: none;
}
.plist__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink-900);
    line-height: 1.3;
    flex: 1;
    min-width: 120px;
}
.plist__meta-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--txt-soft);
    flex: none;
}
.plist__meta-item .icon { color: #aab6c4; width: 14px; height: 14px; }
.plist__desc {
    font-size: .84rem;
    color: var(--txt-soft);
    margin: 0;
    line-height: 1.5;
}
.plist__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-top: .15rem;
}
.plist__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--brand-600);
}
.plist__link:hover { text-decoration: underline; }
.plist__files { display: flex; flex-wrap: wrap; gap: .4rem; }
.plist__nofile {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .76rem;
    color: #aab6c4;
}

.plist__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
    flex: none;
    padding-top: .1rem;
}
.plist__status {
    font-size: .68rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.plist__status--done { color: #2d6a3e; background: #eef6f0; }
.plist__status--ongoing { color: #92610a; background: #fef8ee; }
.plist__del { margin: 0; }
.plist__del-btn {
    border: 1px solid var(--ink-200);
    background: #fff;
    color: var(--txt-soft);
    font-size: .76rem;
    font-weight: 500;
    padding: .3rem .65rem;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.plist__del-btn:hover {
    background: #fdf2f4;
    border-color: #f0ccd3;
    color: #9f3d4f;
}

.plist.is-hidden { display: none; }

/* Big Five kişilik testi */
.b5-panel { margin-bottom: 1.1rem; }
.b5-panel--required {
    border-color: #3c5180;
    border-width: 2px;
    box-shadow: 0 6px 22px rgba(60, 81, 128, .12);
}
.b5-step {
    margin: 0 0 .25rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.port-gate {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.1rem;
    border: 2px solid #3c5180;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(60, 81, 128, .1);
}
.port-gate__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--brand-500);
    color: #fff;
    border: none;
    box-shadow: 0 3px 10px rgba(60, 81, 128, .3);
}
.port-gate__icon .icon { width: 1.25rem; height: 1.25rem; }
.port-gate__step {
    margin: 0 0 .35rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.port-gate__title {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--txt-main);
    line-height: 1.35;
}
.port-gate__text {
    margin: 0;
    font-size: .88rem;
    color: var(--txt-soft);
    line-height: 1.5;
}
.port-locked {
    margin-top: 1.1rem;
    border-style: dashed;
    background: var(--ink-50);
}
.port-locked__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem;
    gap: .5rem;
}
.port-locked__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: var(--ink-100);
    color: var(--txt-soft);
    margin-bottom: .25rem;
}
.port-locked__icon .icon { width: 1.4rem; height: 1.4rem; opacity: .65; }
.port-locked__title {
    margin: 0;
    font-size: .98rem;
    font-weight: 600;
    color: var(--txt-main);
}
.port-locked__text {
    margin: 0;
    max-width: 28rem;
    font-size: .86rem;
    color: var(--txt-soft);
    line-height: 1.5;
}
.b5-badge {
    font-size: .72rem;
    font-weight: 600;
    color: #2d6a3e;
    background: #eef6f0;
    border: 1px solid #c8e6d0;
    padding: .25rem .6rem;
    border-radius: 999px;
}
.b5-notice { font-size: .86rem; color: var(--txt-soft); margin: 0; }
.b5-notice code { font-size: .8rem; }
.b5-intro p { margin: 0 0 1rem; font-size: .88rem; color: var(--txt-soft); }
.b5-intro__cite { margin: 0 !important; font-size: .76rem !important; color: var(--txt-soft); opacity: .85; }
.b5-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem 1.25rem;
    margin-bottom: .75rem;
}
.b5-trait__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35rem; }
.b5-trait__label { font-size: .84rem; font-weight: 600; color: var(--txt-main); }
.b5-trait__pct { font-size: .9rem; font-weight: 700; color: var(--brand-700); }
.b5-trait__track { display: block; height: 10px; border-radius: 999px; background: var(--ink-200); overflow: hidden; }
.b5-trait__fill {
    display: block;
    height: 100%;
    width: 0;
    min-width: 0;
    border-radius: inherit;
    transition: width .65s cubic-bezier(.4, 0, .2, 1);
}
.b5-trait__fill--openness          { background: #3c5180; }
.b5-trait__fill--conscientiousness { background: #2d6a5f; }
.b5-trait__fill--extraversion      { background: #92610a; }
.b5-trait__fill--agreeableness     { background: #2a6178; }
.b5-trait__fill--neuroticism       { background: #9f3d4f; }
.b5-panel__actions {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.b5-panel__open { white-space: nowrap; }
.b5-panel__hint {
    margin: .5rem 0 0;
    font-size: .82rem;
    color: var(--txt-soft);
}
.b5-panel__link-btn {
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--accent-mid);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.b5-panel__link-btn:hover { color: var(--brand-700); }

/* Holland meslek yönelim testi */
.holland-panel { margin-bottom: 1.1rem; }
.holland-locked {
    padding: .85rem 1rem;
    border-radius: 12px;
    background: var(--ink-50);
    border: 1px dashed var(--ink-200);
}
.holland-locked p {
    margin: 0;
    font-size: .88rem;
    color: var(--txt-soft);
    line-height: 1.5;
}
.holland-summary {
    margin: 0 0 .85rem;
    font-size: .88rem;
    color: var(--txt-mid);
    line-height: 1.5;
}
.holland-panel__profile {
    display: inline-flex;
    align-items: center;
    padding: .22rem .55rem;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--brand-700);
    background: #e8f0fa;
    border: 1px solid #c4cee6;
}
.holland-trait__code {
    font-size: .72rem;
    font-weight: 600;
    color: var(--txt-soft);
}
.holland-trait__fill--realistic     { background: #6b5344; }
.holland-trait__fill--investigative { background: #3c5180; }
.holland-trait__fill--artistic      { background: #9f3d4f; }
.holland-trait__fill--social        { background: #2d9a8a; }
.holland-trait__fill--enterprising  { background: #92610a; }
.holland-trait__fill--conventional  { background: #475569; }
.holland-radar__area {
    fill: rgba(45, 154, 138, .16);
    stroke: #2d9a8a;
}
.holland-radar__dot--realistic     { fill: #6b5344; }
.holland-radar__dot--investigative { fill: #3c5180; }
.holland-radar__dot--artistic      { fill: #9f3d4f; }
.holland-radar__dot--social        { fill: #2d9a8a; }
.holland-radar__dot--enterprising  { fill: #92610a; }
.holland-radar__dot--conventional  { fill: #475569; }
.holland-modal__code {
    margin: .35rem 0 0;
    font-size: .82rem;
    color: var(--txt-mid);
}
.holland-results.b5-results--modal .b5-trait__hint { display: none; }

.b5-trait__hint { display: block; font-size: .72rem; color: var(--txt-soft); margin-top: .25rem; }
.b5-meta { font-size: .76rem; color: var(--txt-soft); margin: 0 0 .75rem; }
.b5-retake { margin-top: .5rem; }
.b5-retake__toggle {
    font-size: .84rem;
    font-weight: 500;
    color: var(--brand-600);
    cursor: pointer;
    list-style: none;
}
.b5-retake__toggle::-webkit-details-marker { display: none; }

body.dash-modal-open { overflow: hidden; }
.dash-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.dash-modal[hidden] { display: none; }
.dash-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 40, .55);
    backdrop-filter: blur(3px);
}
.dash-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 640px);
    max-height: min(90vh, 820px);
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 25, 40, .22);
    overflow: hidden;
}
#b5-modal .dash-modal__dialog {
    width: min(calc(100% - 2rem), 860px);
    max-height: min(90vh, 720px);
}
#holland-modal .dash-modal__dialog {
    width: min(calc(100% - 2rem), 860px);
    max-height: min(90vh, 720px);
}
#holland-modal .dash-modal__head,
#holland-modal .dash-modal__body,
#holland-modal .dash-modal__foot {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}
#holland-modal .dash-modal__head {
    padding: .85rem 1.1rem;
}
#holland-modal .dash-modal__body {
    padding: .85rem 1.1rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}
#holland-modal .dash-modal__foot {
    padding: .65rem 1.1rem;
}
#b5-modal .dash-modal__head {
    padding: .85rem 1.1rem;
}
#b5-modal .dash-modal__body {
    padding: .85rem 1.1rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}
#b5-modal .dash-modal__foot {
    padding: .65rem 1.1rem;
}
.dash-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--ink-200);
    background: #fafbfc;
}
.dash-modal__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--txt-main);
}
.dash-modal__sub {
    margin: .25rem 0 0;
    font-size: .78rem;
    color: var(--txt-soft);
}
.dash-modal__close {
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    background: #fff;
    color: var(--txt-mid);
    cursor: pointer;
}
.dash-modal__close:hover {
    background: var(--ink-50);
    color: var(--txt-main);
}
.dash-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem 1.25rem 1.25rem;
}
.dash-modal__foot {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .85rem 1.25rem;
    border-top: 1px solid var(--ink-200);
    background: #fafbfc;
}
.b5-modal__intro {
    margin: 0 0 1rem;
    font-size: .88rem;
    color: var(--txt-soft);
    line-height: 1.5;
}
.b5-modal__viz {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(260px, 0.9fr);
    gap: 1rem 1.65rem;
    align-items: center;
    margin-bottom: 0;
}
.b5-results--modal {
    grid-template-columns: 1fr;
    gap: .6rem;
    margin-bottom: 0;
}
.b5-results--modal .b5-trait__head { margin-bottom: .28rem; }
.b5-results--modal .b5-trait__track { height: 9px; }
.b5-results--modal .b5-trait__label { font-size: .86rem; }
.b5-results--modal .b5-trait__pct { font-size: .88rem; }
.b5-results--modal .b5-trait__hint { display: none; }
@keyframes b5-radar-in {
    from { opacity: 0; transform: scale(.88); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes b5-radar-dot-in {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}
.b5-radar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .6rem .4rem;
    min-height: 320px;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    overflow: visible;
}
.b5-radar__svg {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
}
.b5-radar__ring {
    fill: none;
    stroke: var(--ink-200);
    stroke-width: 1;
}
.b5-radar__ring[data-ring="100"] {
    stroke: #c4cee6;
    stroke-width: 1.25;
}
.b5-radar__axis {
    stroke: #dde3ec;
    stroke-width: 1;
}
.b5-radar__area {
    fill: rgba(60, 81, 128, .18);
    stroke: #3c5180;
    stroke-width: 2;
    stroke-linejoin: round;
    transform-origin: 200px 200px;
    opacity: 1;
}
.b5-radar:not(.b5-radar--animate) .b5-radar__area,
.b5-radar:not(.b5-radar--animate) .b5-radar__dot {
    opacity: 1;
    transform: none;
}
.b5-radar--animate .b5-radar__area {
    opacity: 0;
    animation: b5-radar-in .55s cubic-bezier(.4, 0, .2, 1) forwards;
}
.b5-radar__dot {
    stroke: #fff;
    stroke-width: 2;
    opacity: 1;
    transform-origin: center;
}
.b5-radar__dot--openness          { fill: #3c5180; }
.b5-radar__dot--conscientiousness { fill: #2d6a5f; }
.b5-radar__dot--extraversion      { fill: #92610a; }
.b5-radar__dot--agreeableness     { fill: #2a6178; }
.b5-radar__dot--neuroticism       { fill: #9f3d4f; }
.b5-radar--animate .b5-radar__dot {
    opacity: 0;
    animation: b5-radar-dot-in .35s ease forwards;
}
.b5-radar--animate .b5-radar__dot--openness          { animation-delay: .08s; }
.b5-radar--animate .b5-radar__dot--conscientiousness { animation-delay: .14s; }
.b5-radar--animate .b5-radar__dot--extraversion      { animation-delay: .2s; }
.b5-radar--animate .b5-radar__dot--agreeableness     { animation-delay: .26s; }
.b5-radar--animate .b5-radar__dot--neuroticism       { animation-delay: .32s; }
.b5-radar__label {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    fill: var(--txt-main);
}
.b5-radar__score {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    fill: var(--brand-700);
}
@media (prefers-reduced-motion: reduce) {
    .b5-radar__area,
    .b5-radar__dot {
        opacity: 1;
        animation: none;
        transform: none;
    }
}
.b5-modal__retake {
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px dashed var(--ink-200);
}
.b5-modal__retake-toggle {
    font-size: .86rem;
    font-weight: 600;
    color: var(--brand-600);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.b5-modal__retake-toggle::-webkit-details-marker { display: none; }
.b5-modal__retake-toggle:hover { color: var(--brand-700); }
.b5-modal__retake[open] .b5-modal__retake-toggle { margin-bottom: .5rem; }
.b5-modal__retake-title {
    margin: 0 0 .35rem;
    font-size: .98rem;
    font-weight: 700;
    color: var(--txt-main);
}
.b5-modal__retake-text {
    margin: 0 0 .75rem;
    font-size: .82rem;
    color: var(--txt-soft);
    line-height: 1.45;
}
#b5-modal .b5-form__list { gap: .75rem; }
#b5-modal .b5-q { padding: .7rem .85rem; }

.b5-form__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.b5-q { padding: .85rem 1rem; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.b5-q__text { margin: 0 0 .65rem; font-size: .88rem; font-weight: 500; color: var(--txt-main); }
.b5-q__scale { display: flex; gap: .35rem; justify-content: center; }
.b5-q__opt { position: relative; cursor: pointer; }
.b5-q__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.b5-q__num {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--ink-200);
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    color: var(--txt-mid);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.b5-q__opt input:checked + .b5-q__num,
.b5-q__opt input:focus-visible + .b5-q__num {
    border-color: var(--brand-600);
    background: var(--brand-700);
    color: #fff;
}
.b5-q__opt:hover .b5-q__num { border-color: var(--brand-400); }
.b5-q__labels { display: flex; justify-content: space-between; font-size: .68rem; color: var(--txt-soft); margin-top: .35rem; padding: 0 .25rem; }
.b5-form__actions { margin-top: 1rem; display: flex; justify-content: flex-end; }

/* BFI-44 sihirbaz */
.b5-form--wizard { max-width: 820px; }
.b5-wizard__head { margin-bottom: 1.25rem; }
.b5-wizard__progress-track {
    height: 8px;
    border-radius: 999px;
    background: var(--ink-200);
    overflow: hidden;
    margin-bottom: .45rem;
}
.b5-wizard__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-500);
    transition: width .25s ease;
}
.b5-wizard__progress-text {
    margin: 0;
    font-size: .82rem;
    color: var(--txt-soft);
}
.b5-wizard__progress-text strong { color: var(--brand-700); }
.b5-wizard__hint {
    margin: .65rem 0 0;
    font-size: .82rem;
    color: var(--txt-soft);
    line-height: 1.5;
}
.b5-wizard__error {
    margin: .75rem 0 0;
    padding: .65rem .85rem;
    border-radius: 10px;
    background: #fdf2f4;
    border: 1px solid #f0ccd3;
    color: #9f3d4f;
    font-size: .84rem;
}
.b5-wizard__nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ink-200);
}
.b5-q__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 .35rem;
    margin: 0 0 .45rem;
    border-radius: 6px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: .72rem;
    font-weight: 800;
}
.b5-q__opt-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.b5-q__labels--compact { margin-top: .45rem; }
.b5-form--wizard .b5-q__scale { flex-wrap: wrap; gap: .4rem; }
@media (max-width: 680px) {
    .b5-form--wizard .b5-q__scale { justify-content: flex-start; }
    .b5-wizard__nav .btn { flex: 1; min-width: 120px; }
}

/* Kanıt dosya çipleri (liste içi) */
.pfile {
    display: flex;
    align-items: center;
    gap: .25rem;
    background: #f7f9fc;
    border: 1px solid #eef1f6;
    border-radius: 9px;
    padding: .35rem .4rem .35rem .5rem;
    max-width: min(100%, 320px);
}
.pfile__open { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; color: var(--txt-mid); }
.pfile__open:hover .pfile__name { color: var(--accent-mid); text-decoration: underline; }
.pfile__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--t-bg, #e8f0fa); color: var(--t-fg, #5a84b3); flex: none; }
.pfile__name { flex: 1; font-size: .8rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pfile__size { font-size: .72rem; color: #94a3b8; flex: none; }
.pfile__del { margin: 0; flex: none; }
.pfile__del-btn { display: grid; place-items: center; width: 26px; height: 26px; border: 0; background: transparent; color: #b0bec9; border-radius: 6px; }
.pfile__del-btn:hover { background: #fbeaec; color: #c45c5c; }

/* Hesap bilgisi */
.dash-info { margin: 0 0 .85rem; }
.dash-info__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #f1f4f8; }
.dash-info__row:last-child { border-bottom: 0; }
.dash-info dt { font-size: .84rem; color: var(--txt-soft); font-weight: 400; }
.dash-info dd { font-size: .88rem; color: var(--txt-mid); font-weight: 500; margin: 0; text-align: right; }
.dash-info__edit { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 500; color: var(--accent-mid); margin-bottom: .9rem; }
.dash-info__edit:hover { text-decoration: underline; }
.dash-logout-form { margin: 0; }

/* Flash */
.flash-stack { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0 0; }
.flash {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .85rem;
    border-radius: 10px;
    font-size: .86rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.flash .icon { flex: none; }
.flash__text { flex: 1; }
.flash__close { border: 0; background: transparent; font-size: 1.15rem; line-height: 1; color: inherit; opacity: .55; padding: 0 .2rem; }
.flash__close:hover { opacity: 1; }
.flash--success { background: #eef8f3; color: #4a8a6e; border-color: #cce8da; }
.flash--error   { background: #fdf2f4; color: #9f3d4f; border-color: #f0ccd3; }
.flash--warning { background: #fef8ee; color: #92610a; border-color: #f0ddb8; }
.flash--info    { background: #eef3fb; color: var(--brand-600); border-color: #c4cee6; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
    .dash-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 1.75rem; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
    .dash-side-toggle { display: flex; }
    .dash-layout { grid-template-columns: 1fr; gap: 0; }
    .dash-side {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        width: 280px;
        max-width: 86vw;
        height: 100vh;
        border-radius: 0;
        border-right: 1px solid #e8edf3;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }
    .dash-side-open .dash-side { transform: translateX(0); }
    .dash-side__close { display: grid; place-items: center; }
    .dash-split, .dash-split--narrow { grid-template-columns: 1fr; }
    .dash-panel--sticky { position: static; }
}
@media (max-width: 680px) {
    .dash-page { padding: 1.25rem 0 2.5rem; }
    .port-gate { flex-direction: column; align-items: stretch; }
    .port-hero__banner { min-height: 0; }
    .port-hero__overlay { max-width: 100%; padding: .85rem 1.1rem .95rem; }
    .port-hero__title { font-size: 1.4rem; }
    .port-hero__lead { font-size: .84rem; }
    .port-hero__svg { width: 75%; opacity: .85; }
    .port-hero__steps,
    .port-hero__steps--4,
    .port-hero__steps--5 {
        grid-template-columns: 1fr;
        gap: .5rem;
    }
    .port-hero__connector { display: none; }
    .b5-results { grid-template-columns: 1fr; }
    .b5-panel__actions { width: 100%; justify-content: flex-start; }
    .dash-modal { padding: .65rem; }
    .dash-modal__dialog { max-height: 92vh; border-radius: 14px; }
    #b5-modal .dash-modal__dialog { max-height: 94vh; width: min(calc(100% - 1rem), 860px); }
    .b5-modal__viz {
        grid-template-columns: 1fr;
        gap: .85rem;
    }
    .b5-radar { min-height: 0; padding: .45rem; }
    .b5-radar__svg { max-width: min(100%, 320px); margin: 0 auto; }
    .port-list-head { display: none; }
    .plist { grid-template-columns: auto 1fr; }
    .plist__side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-top: .35rem;
        border-top: 1px solid var(--ink-200);
        margin-top: .25rem;
    }
    .dash-profile__cover { height: 120px; }
    .dash-profile__body { flex-direction: column; align-items: stretch; margin-top: -32px; padding: 0 1rem 1.1rem; }
    .dash-profile__main { flex-direction: row; align-items: center; }
    .dash-profile__info { padding-top: 2.25rem; }
    .dash-profile__completion { width: 100%; margin-top: 0; }
    .dash-modules { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .port-summary__share { margin-left: 0; width: 100%; }
    .port-form__grid { grid-template-columns: 1fr; }
    .port-form__actions { display: flex; }
    .filedrop--compact { flex-direction: column; text-align: center; align-items: center; }
    .filedrop--compact .filedrop__hint { padding-left: 0; margin-top: 0; }
}
@media (max-width: 460px) {
    .dash-stats { grid-template-columns: 1fr; }
}
