@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy: #16213E;
    --navy-light: #22335E;
    --bg: #F4F6FB;
    --card-bg: #FFFFFF;
    --accent: #FF7A59;
    --accent-dark: #E8623F;
    --teal: #16C79A;
    --amber: #FFB020;
    --blue: #3B82F6;
    --text-dark: #1A1F36;
    --text-mid: #5C6584;
    --text-light: #9AA2C0;
    --border: #E6E9F2;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(22, 33, 62, 0.06);
    --shadow-hover: 0 8px 24px rgba(22, 33, 62, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin: 0;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* ---------- LOGIN ---------- */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0D1428 100%);
    padding: 20px;
}

.login-box {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 44px 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.login-logo-img {
    width: 64px; height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
}

.login-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-light); margin-bottom: 18px;
}

.login-box h1 { font-size: 24px; margin-bottom: 6px; }
.login-sub { color: var(--text-mid); font-size: 14px; margin-bottom: 28px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color .15s;
    background: #FBFCFE;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: white; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform .1s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--accent); color: white; width: 100%; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-full { width: 100%; }
.btn-outline { background: white; border: 1.5px solid var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-danger { background: #FEE2E2; color: #DC2626; }
.btn-danger:hover { background: #FCA5A5; }

.error-msg {
    background: #FEE2E2; color: #B91C1C; padding: 10px 14px; border-radius: 10px;
    font-size: 13px; margin-bottom: 16px;
}
.success-msg {
    background: #DCFCE7; color: #15803D; padding: 10px 14px; border-radius: 10px;
    font-size: 13px; margin-bottom: 16px;
}

/* ---------- APP SHELL ---------- */
.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--navy);
    color: white;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
}

.sidebar-header {
    padding: 22px 20px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.sidebar-header span { font-family: 'Outfit'; font-weight: 700; font-size: 16px; }
.sidebar-eyebrow {
    font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: rgba(255,255,255,0.45); margin-top: 6px;
}

.sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); padding: 10px 10px 6px; font-weight: 600; }
.sidebar-credit {
    font-size: 9px; font-weight: 500; letter-spacing: 0.03em;
    color: rgba(255,255,255,0.3); margin-top: 4px;
}
.mobile-credit { display: none; }
@media (max-width: 900px) {
    .mobile-credit {
        display: block; position: fixed; bottom: 8px; right: 10px;
        font-size: 9px; color: rgba(10,22,40,0.4); background: rgba(255,255,255,0.85);
        padding: 3px 9px; border-radius: 6px; z-index: 60; pointer-events: none;
    }
}
.nav-label-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: 0; border-radius: 0; box-shadow: none; outline: none;
    cursor: pointer; font-family: inherit; text-align: left;
    appearance: none; -webkit-appearance: none;
    color: rgba(255,255,255,0.4); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.06em; font-weight: 600; padding: 10px 10px 6px; margin: 0;
}
.nav-label-toggle:hover { color: rgba(255,255,255,0.7); }
.nav-label-toggle:focus, .nav-label-toggle:active { background: none; border: 0; box-shadow: none; outline: none; }
.nav-label-arrow { font-size: 10px; transition: transform .15s; }
.nav-label-toggle.is-collapsed .nav-label-arrow { transform: rotate(-90deg); }
.project-nav-list { max-height: 50vh; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 9px; color: rgba(255,255,255,0.75);
    font-size: 14px; font-weight: 500; margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: white; }
.nav-item.active { background: rgba(255,122,89,0.18); color: var(--accent); font-weight: 600; }
.nav-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }

.sidebar-footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.legal-links { display:flex; flex-wrap:wrap; gap:5px 10px; margin-bottom:7px; }
.legal-links a { color:rgba(255,255,255,.58); font-size:9px; text-decoration:none; }
.legal-links a:hover { color:#fff; }
.copyright-short { color:rgba(255,255,255,.34); font-size:8px; line-height:1.35; margin-bottom:10px; }
.user-chip { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit'; font-weight: 700; font-size: 13px; color: white; flex-shrink: 0;
}
.user-chip-name { font-size: 13px; font-weight: 600; }
.user-chip-role { font-size: 11px; color: rgba(255,255,255,0.5); }

.main {
    margin-left: 250px;
    flex: 1;
    padding: 28px 34px;
    max-width: 100%;
}

.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.topbar h1 { font-size: 26px; }
.topbar-sub { color: var(--text-mid); font-size: 14px; margin-top: 4px; }

/* ---------- PROJECT CARDS (dashboard) ---------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.project-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.project-card h3 { font-size: 17px; margin-bottom: 6px; }
.project-card p { color: var(--text-mid); font-size: 13px; margin: 0 0 14px; line-height: 1.5; min-height: 20px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-light); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 26px; height: 26px; font-size: 10px; border: 2px solid white; margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

.empty-state {
    text-align: center; padding: 60px 20px; color: var(--text-light);
}
.empty-state .icon { font-size: 40px; margin-bottom: 10px; }

/* ---------- BOARD (kanban) ---------- */
.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}
@media (max-width: 900px) {
    .board { grid-template-columns: 1fr; }
    .sidebar { transform: translateX(-100%); transition: transform .2s; z-index: 50; }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; padding: 18px; }
    .menu-toggle { display: inline-flex !important; }
}

.column {
    background: #EDF0F8;
    border-radius: var(--radius);
    padding: 12px;
    min-height: 200px;
}
.column-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 8px 12px;
}
.column-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; display: flex; align-items: center; gap: 8px; }
.col-dot { width: 10px; height: 10px; border-radius: 50%; }
.col-yapilacak .col-dot { background: var(--amber); }
.col-devam .col-dot { background: var(--blue); }
.col-tamamlandi .col-dot { background: var(--teal); }
.count-badge { background: rgba(0,0,0,0.06); border-radius: 20px; padding: 1px 9px; font-size: 12px; font-weight: 600; color: var(--text-mid); }

.task-card {
    background: white;
    border-radius: 10px;
    padding: 13px 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    cursor: grab;
    border-left: 4px solid var(--blue);
}
.task-card.priority-yuksek { border-left-color: #EF4444; }
.task-card.priority-normal { border-left-color: var(--blue); }
.task-card.priority-dusuk { border-left-color: var(--text-light); }
.task-card:active { cursor: grabbing; opacity: 0.7; }
.task-card.dragging { opacity: 0.4; }
.task-card h4 { font-size: 14px; margin: 0 0 6px; font-weight: 600; line-height: 1.4; }
.task-card p { font-size: 12px; color: var(--text-mid); margin: 0 0 10px; line-height: 1.5; }
.task-foot { display: flex; align-items: center; justify-content: space-between; }
.due-chip { font-size: 11px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.due-chip.overdue { color: #DC2626; font-weight: 700; }
.due-chip.due-today { color: var(--amber); font-weight: 700; }
.task-card .avatar { width: 24px; height: 24px; font-size: 10px; }

.checklist-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.checklist-progress-bar { flex: 1; height: 5px; background: #EDF0F8; border-radius: 3px; overflow: hidden; }
.checklist-progress-bar div { height: 100%; background: var(--teal); }
.checklist-progress span { font-size: 11px; color: var(--text-light); font-weight: 600; white-space: nowrap; }

#checklistList { max-height: 180px; overflow-y: auto; }
.checklist-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.checklist-item input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--teal); flex-shrink: 0; }
.checklist-item span { flex: 1; font-size: 13px; color: var(--text-dark); }
.checklist-item.done span { text-decoration: line-through; color: var(--text-light); }
.checklist-item .comment-delete { flex-shrink: 0; }

.quick-status {
    width: 100%; margin-top: 10px; padding: 6px 8px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 12px; font-weight: 600; color: var(--text-mid);
    background: #FBFCFE; cursor: pointer;
}
.quick-status:focus { outline: none; border-color: var(--accent); }

.add-task-btn {
    width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px;
    background: transparent; border: none; color: var(--text-mid); font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.add-task-btn:hover { background: rgba(0,0,0,0.05); color: var(--text-dark); }

/* ---------- MODAL ---------- */
.modal-overlay {
    display: none;
    position: fixed; inset: 0; background: rgba(15,20,40,0.5);
    align-items: flex-start; justify-content: center; z-index: 100;
    padding: 40px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.open { display: flex; }
.modal {
    background: white; border-radius: 16px; padding: 28px; width: 100%; max-width: 440px;
    margin: auto;
}
.modal h2 { font-size: 19px; margin-bottom: 20px; }
.modal-close { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-light); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- TABLE (admin) ---------- */
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--text-light); background: #F7F8FC; padding: 12px 16px; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-admin { background: #EDE9FE; color: #6D28D9; }
.badge-user { background: #E0F2FE; color: #0369A1; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; background: #F1F3F9; padding: 3px 9px 3px 5px; border-radius: 20px; font-size: 12px; margin: 2px; }

.card-panel { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-panel h2 { font-size: 17px; margin-bottom: 16px; }

.menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid var(--border);
    background: white; cursor: pointer; font-size: 16px;
}

.checkbox-list { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-list label {
    display: flex; align-items: center; gap: 6px; background: #F1F3F9; padding: 7px 12px; border-radius: 20px; font-size: 13px; cursor: pointer;
}
.checkbox-list input { margin: 0; }

.text-link { color: var(--accent); font-weight: 600; font-size: 13px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.mt-0 { margin-top: 0; }

/* ---------- MODAL EXTRAS: attachments + comments ---------- */
.modal-section { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.modal-section-title { font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 10px; }
.empty-hint { font-size: 13px; color: var(--text-light); padding: 6px 0; }

.attachment-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: #F7F8FC; border-radius: 8px; margin-bottom: 6px; }
.attachment-link { font-size: 13px; font-weight: 500; color: var(--text-dark); display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.attachment-meta { font-size: 11px; color: var(--text-light); font-weight: 400; }
.attachment-delete, .comment-delete { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 13px; padding: 2px 6px; }
.attachment-delete:hover, .comment-delete:hover { color: #DC2626; }

.file-upload-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 8px; border: 1.5px dashed var(--border);
    color: var(--text-mid); font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 4px;
}
.file-upload-btn:hover { border-color: var(--accent); color: var(--accent); }

#commentsList { max-height: 220px; overflow-y: auto; }
.comment-item { display: flex; gap: 10px; margin-bottom: 12px; }
.comment-item .avatar { width: 30px; height: 30px; font-size: 11px; flex-shrink: 0; }
.comment-body { flex: 1; background: #F7F8FC; border-radius: 10px; padding: 8px 12px; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.comment-author { font-size: 12.5px; font-weight: 700; }
.comment-time { font-size: 11px; color: var(--text-light); flex: 1; }
.comment-text { font-size: 13px; color: var(--text-dark); line-height: 1.5; white-space: pre-wrap; }

/* ---------- REPORTS ---------- */
.filter-bar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.filter-btn {
    padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--border);
    background: white; font-size: 13px; font-weight: 600; color: var(--text-mid); cursor: pointer;
}
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: white; }
.activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-icon {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    background: #EDF0F8;
}
.activity-desc { font-size: 13.5px; color: var(--text-dark); line-height: 1.5; }
.activity-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.day-group { margin-bottom: 24px; }
.day-group-label { font-size: 13px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }

.stat-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.stat-row .avatar { width: 34px; height: 34px; font-size: 12px; flex-shrink: 0; }
.stat-row-body { flex: 1; }
.stat-row-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.stat-row-nums { font-weight: 500; color: var(--text-mid); font-size: 12px; }
.stat-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #EDF0F8; }
.stat-bar-open { background: var(--amber); }
.stat-bar-done { background: var(--teal); }

/* Professional operations modules */
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 28px}.metric-card{background:linear-gradient(145deg,#fff,#f7faff);border:1px solid #dfe7f3;border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(15,35,70,.06)}.metric-card span{display:block;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.metric-card strong{display:block;color:#0a1628;font-size:34px;line-height:1.2;margin:8px 0 4px}.metric-card small{color:#8491a5}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:12px 0 16px}.section-heading h2{margin:4px 0 0}.eyebrow{font:700 11px/1.2 monospace;color:#007bff;letter-spacing:.12em}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.entity-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #dfe7f3;border-radius:14px;padding:18px;box-shadow:0 5px 18px rgba(15,35,70,.05)}.entity-card h3{margin:0 0 7px;color:#0a1628}.entity-card p{margin:0;color:#64748b;font-size:13px}.entity-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:11px;background:#e8f2ff;color:#007bff;font-weight:800}.entity-stats{display:flex;gap:8px;margin-top:13px}.entity-stats span,.status-pill{background:#eef3f8;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;color:#536176}.table-wrap{overflow:auto}.pro-table{width:100%;border-collapse:collapse;min-width:760px}.pro-table th{text-align:left;padding:12px;border-bottom:1px solid #dfe7f3;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.pro-table td{padding:14px 12px;border-bottom:1px solid #edf1f6;color:#243247}.pro-table td small{display:block;color:#8491a5;margin-top:4px}.table-empty{text-align:center!important;padding:35px!important}.status-tamamlandi,.status-onaylandi{background:#e7f8ef;color:#16864b}.status-taslak{background:#fff4db;color:#a56900}.service-form{max-width:1000px}.service-form textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.checkbox-field{display:flex;align-items:end}.checkbox-field label{padding:12px 0}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.data-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.metric-grid,.data-grid,.form-grid{grid-template-columns:1fr}.metric-card{padding:16px}.section-heading{align-items:flex-start;gap:12px;flex-direction:column}.topbar{align-items:flex-start}.form-actions{flex-direction:column-reverse}.form-actions .btn{width:100%}}

.topbar>.btn,.btn-auto{width:auto!important;display:inline-flex;align-items:center;justify-content:center}.pro-table{table-layout:auto}.pro-table th,.pro-table td{white-space:nowrap}.pro-table .work-cell{white-space:normal;min-width:280px;line-height:1.45}.filter-grid{display:grid;grid-template-columns:repeat(5,minmax(125px,1fr)) auto;gap:14px;align-items:end}.filter-grid .field{margin:0}.report-filters{padding:18px}.report-metrics{margin-top:18px}@media(max-width:1100px){.filter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.filter-grid{grid-template-columns:1fr}.filter-grid .btn,.topbar>.btn{width:100%!important}.pro-table th,.pro-table td{padding:12px 14px}.table-wrap{padding:6px}}

.service-form-wide{max-width:1200px}.form-section-title{font-size:16px;margin:8px 0 16px;padding-bottom:9px;border-bottom:1px solid #dfe7f3;color:#0a1628}.item-heading{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.item-heading .form-section-title{margin-bottom:4px;border:0;padding:0}.item-heading p{margin:0 0 14px;color:#718096;font-size:12px}.service-items{display:grid;gap:12px;margin-bottom:26px}.service-item{display:grid;grid-template-columns:34px 1fr 30px;gap:12px;background:#f6f9fd;border:1px solid #dce6f2;border-radius:12px;padding:14px}.item-number{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#087cff;color:#fff;font-weight:800}.item-fields{display:grid;grid-template-columns:.75fr 1.5fr 1fr 1fr;gap:12px}.item-fields .field{margin:0}.item-remove{width:28px;height:28px;border:0;border-radius:7px;background:#ffe8e8;color:#c53939;font-size:20px;cursor:pointer}@media(max-width:900px){.item-fields{grid-template-columns:1fr 1fr}}@media(max-width:600px){.item-heading{align-items:flex-start;flex-direction:column}.item-heading .btn{width:100%!important}.service-item{grid-template-columns:30px 1fr 28px;padding:10px}.item-fields{grid-template-columns:1fr}}
.row-actions{display:flex;gap:6px;align-items:center}
.inline-form{display:inline;margin:0}.row-actions .btn-danger{white-space:nowrap}
.entity-body{flex:1;min-width:0}.customer-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-title h3{margin:0}.customer-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px;padding-top:13px;border-top:1px solid #e8edf4}.customer-passive{opacity:.72;background:#f7f8fb}.customer-card{align-items:stretch}.customer-editor{scroll-margin-top:90px}@media(max-width:700px){.customer-actions .btn{flex:1}.customer-actions form{display:flex;flex:1}.customer-actions form .btn{width:100%!important}}
